From e904cb901aec900abe05c193d0cf512a53c0ffcd Mon Sep 17 00:00:00 2001 From: Paul Philippov Date: Fri, 4 Nov 2022 18:30:04 -0400 Subject: [PATCH 1/3] Update majestic-streamer.md --- en/majestic-streamer.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/en/majestic-streamer.md b/en/majestic-streamer.md index 496db8f..2e3504f 100644 --- a/en/majestic-streamer.md +++ b/en/majestic-streamer.md @@ -20,17 +20,18 @@ The long JPEG control parameter did not fit into the example on the site and we `/image.jpg?width=640&height=360&qfactor=73&color2gray=1` -##### Tips: +### How to convert YUV image to a more common image format -To convert YUV image to a more common image format, use `convert` command from -ImageMagick software. Run it like this: +Use `convert` command from ImageMagick software. Run it like this: ``` convert -verbose -sampling-factor 4:2:0 -size 1920x1080 -depth 8 image.yuv image.png ``` where `1920x1080` is the picture resolution of video0, and `.png` is the target image format. -To play audio stream use [ffplay][ffplay] utility from [ffmpeg][ffmpeg] package. +### How to play audio stream + +Use [ffplay][ffplay] utility from [ffmpeg][ffmpeg] package. ``` ffplay -ar 48000 -ac 1 -f s16le http://192.168.1.10/audio.pcm ffplay -ar 48000 -ac 1 -f alaw http://192.168.1.10/audio.alaw @@ -38,7 +39,9 @@ ffplay -ar 48000 -ac 1 -f mulaw http://192.168.1.10/audio.ulaw ffplay -ar 8000 -ac 1 -f alaw http://192.168.1.10/audio.g711a ``` -A [PCM][pcm] file to play on camera speaker over network can be prepared using [sox][sox] program: +### How to create an audio file to play on camera's speaker over network + +Using [sox][sox] program convert any source audio file to [PCM][pcm] 8kbps audio: ``` sox speech.mp3 -t raw -r 8000 -e signed -b 16 -c 1 test.pcm ``` From a1c1598e77662b580ebd39766d8e4ada22d394bc Mon Sep 17 00:00:00 2001 From: Paul Philippov Date: Sun, 6 Nov 2022 04:13:36 -0500 Subject: [PATCH 2/3] Update guide-supported-sensors.md --- en/guide-supported-sensors.md | 1 + 1 file changed, 1 insertion(+) diff --git a/en/guide-supported-sensors.md b/en/guide-supported-sensors.md index 4e6dd54..e6aa6bc 100644 --- a/en/guide-supported-sensors.md +++ b/en/guide-supported-sensors.md @@ -71,6 +71,7 @@ _Note: This list does not guarantee that your sensor will work. There are nuance - HI3518CV100 - HI3518EV100 - HI3518EV200 + - ar0130, gc1034, gc2023, imx122, imx222, imx291, imx323, jxf22, jxf23, jxh62, jxh65, mn34222, ov2718, ov2735, ov9712, ov9732, ov9750, ov9752, sc1135, sc1145, sc1235, sc2035, sc2135, sc2235 - HI3518EV201 - HI3518EV300 - HI3519V101 From 561d47304cfdd68e95b9c98d373898016a92cd9e Mon Sep 17 00:00:00 2001 From: Paul Philippov Date: Sun, 6 Nov 2022 04:17:47 -0500 Subject: [PATCH 3/3] Update guide-supported-sensors.md --- en/guide-supported-sensors.md | 1 + 1 file changed, 1 insertion(+) diff --git a/en/guide-supported-sensors.md b/en/guide-supported-sensors.md index e6aa6bc..cf94671 100644 --- a/en/guide-supported-sensors.md +++ b/en/guide-supported-sensors.md @@ -70,6 +70,7 @@ _Note: This list does not guarantee that your sensor will work. There are nuance - HI3516EV300 - HI3518CV100 - HI3518EV100 + - 9m034, ar0130, ar0130, ar0140, ar0330, himax1375, icx692, imx104, imx122, imx138, imx222, imx225, imx236, mn34031, mt9p006, ov2710, ov9712, ov9732, po3100k, sc1035, soih22, soih42 - HI3518EV200 - ar0130, gc1034, gc2023, imx122, imx222, imx291, imx323, jxf22, jxf23, jxh62, jxh65, mn34222, ov2718, ov2735, ov9712, ov9732, ov9750, ov9752, sc1135, sc1145, sc1235, sc2035, sc2135, sc2235 - HI3518EV201