Stream 2 Morse Code webcams at the same time with 1 Gstreamer Script - show live paddles & st key PLUS the op sending

brief test to stream a USB WEBCAM along with the laptop's native webcam in the laptop lid at the same time over ip to another location

DEMO one webcam showing the MORSE CODE SENDING GEAR (with audio)

DEMO another webcam(laptop's own webcam) showing the person sending the morse code

WEBCAM TRANSMIT GSTREAMER SCRIPT used: gst-launch-1.0 -v v4l2src device=/dev/video2 ! "video/x-raw,width=640, height=360, frame-rate=30/1" ! videoconvert ! vaapih264enc ! h264parse ! rtpgstpay ! udpsink host=(EXTERNAL IP ADDRESS of destination) port=8888 v4l2src device=/dev/video0 ! "video/x-raw,width=640, height=480, frame-rate=30/1" ! videoconvert ! vaapih264enc ! h264parse ! rtpgstpay ! udpsink host=(EXTERNAL IP ADDRESS of destination) port=8889 NOTE: device=/dev/video0 is the laptops native webcam in the lid device=/dev/video2 is a 2nd USB webcam plugged into one of the USB PORTS on the laptop

WEBCAM RECEIVE GSTREAMER SCRIPT used: gst-launch-1.0 -v udpsrc port=8888 ! queue ! "application/x-rtp, media=(string)application, clock-rate=(int)90000, encoding-name=(string)X-GST, caps=(string)\"dmlkZW8veC1oMjY0LCBzdHJlYW0tZm9ybWF0PShzdHJpbmcpYnl0ZS1zdHJlYW0sIGFsaWdubWVudD0oc3RyaW5nKWF1LCBwcm9maWxlPShzdHJpbmcpY29uc3RyYWluZWQtYmFzZWxpbmUsIHdpZHRoPShpbnQpNjQwLCBoZWlnaHQ9KGludCkzNjAsIHBpeGVsLWFzcGVjdC1yYXRpbz0oZnJhY3Rpb24pMS8xLCBmcmFtZXJhdGU9KGZyYWN0aW9uKTMwLzEsIGludGVybGFjZS1tb2RlPShzdHJpbmcpcHJvZ3Jlc3NpdmUsIGNvbG9yaW1ldHJ5PShzdHJpbmcpYnQ2MDEsIGNocm9tYS1zaXRlPShzdHJpbmcpanBlZw\=\=\", capsversion=(string)0, payload=(int)96" ! rtpjitterbuffer latency=60 ! rtpgstdepay ! h264parse ! avdec_h264 ! videoconvert ! queue ! autovideosink udpsrc port=8889 ! queue ! "application/x-rtp, media=(string)application, clock-rate=(int)90000, encoding-name=(string)X-GST, caps=(string)\"dmlkZW8veC1oMjY0LCBzdHJlYW0tZm9ybWF0PShzdHJpbmcpYnl0ZS1zdHJlYW0sIGFsaWdubWVudD0oc3RyaW5nKWF1LCBwcm9maWxlPShzdHJpbmcpaGlnaCwgd2lkdGg9KGludCk2NDAsIGhlaWdodD0oaW50KTQ4MCwgcGl4ZWwtYXNwZWN0LXJhdGlvPShmcmFjdGlvbikxLzEsIGZyYW1lcmF0ZT0oZnJhY3Rpb24pMzAvMSwgaW50ZXJsYWNlLW1vZGU9KHN0cmluZylwcm9ncmVzc2l2ZSwgY29sb3JpbWV0cnk9KHN0cmluZylidDYwMSwgY2hyb21hLXNpdGU9KHN0cmluZylqcGVnLCBwYXJzZWQ9KGJvb2xlYW4pdHJ1ZQ\=\=\", capsversion=(string)0, payload=(int)96" ! rtpjitterbuffer latency=60 ! rtpgstdepay ! h264parse ! avdec_h264 ! videoconvert ! queue ! autovideosink

Views: 12

Comment

You need to be a member of QRQcw to add comments!

Join QRQcw

© 2021   Created by Chuck aa0hw.   Powered by

Badges  |  Report an Issue  |  Terms of Service