testing the Audio-Video sync of a USB WEBCAM using simple Gstreamer AV streaming scripts

Published: 31 August 2019
on channel: QRQcw
315
1

Here are the Gstreamer scripts for the Linux Gstreamer Transmitter:

STREAM VIDEO TO WINDOWS 10 LAPTOP from USB WEBCAM
gst-launch-1.0 -v v4l2src device=/dev/video2 ! "image/jpeg,width=768,height=480,framerate=25/1" ! rtpjpegpay ! udpsink host=192.168.1.142 port=5006

STREAM AUDIO TO WINDOWS 10 LAPTOP from USB webcam MIC
gst-launch-1.0 -v alsasrc device=hw:4 ! "audio/x-raw,rate=48000,channels=1" ! audioconvert ! opusenc bitrate=128000 frame-size=5 ! rtpopuspay ! udpsink host=192.168.1.142 port=6003

Here are the RECEIVER Gstreamer scripts used on Windows 10 pc

RECEIVE USB WEBCAM VIDEO
C:\gstreamer\1.0\x86_64\bin
gst-launch-1.0.exe -e -v udpsrc port=5006 ! application/x-rtp, encoding-name=JPEG,payload=26 ! queue ! rtpjpegdepay ! jpegparse ! jpegdec ! queue ! autovideosink

RECEIVE USB WEBCAM AUDIO
C:\gstreamer\1.0\x86_64\bin
gst-launch-1.0.exe -v udpsrc port=6003 do-timestamp=true ! "application/x-rtp, media=(string)audio, clock-rate=(int)48000, encoding-name=(string)OPUS, sprop-maxcapturerate=(string)48000, sprop-stereo=(string)0, payload=(int)96, encoding-params=(string)2, ssrc=(uint)3863443941, timestamp-offset=(uint)1230448530, seqnum-offset=(uint)12158" ! rtpjitterbuffer latency=60 ! rtpopusdepay ! opusdec plc=true ! audioconvert ! wasapisink buffer-time=30000

VIDEO PODCAST USED for this demo from:
https://www.hallindsey.com/videos/hal...


Watch video testing the Audio-Video sync of a USB WEBCAM using simple Gstreamer AV streaming scripts online without registration, duration hours minute second in high quality. This video was added by user QRQcw 31 August 2019, don't forget to share it with your friends and acquaintances, it has been viewed on our site 315 once and liked it 1 people.