Template:GSTREAMER RTP: Difference between revisions

From Variscite Wiki
No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>Encode video stream from camera using a software based JPEG encoder and stream it over RTP:
<includeonly>Encode video stream from camera using a software based JPEG encoder and stream it over RTP:
{{#if: {{{mediactl_command|}}}|
{{#if: {{{mediactl_command|}}}|
  {{{mediactl_command}}}}}
  <br>
  # gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,width=1280,height=720 ! jpegenc ! rtpjpegpay ! udpsink host=192.168.20.60 port=1223
# {{{mediactl_command}}}
}}
  # gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,width=1280,height=720 ! \
      jpegenc ! rtpjpegpay ! udpsink host=192.168.20.60 port=1223
</includeonly>
</includeonly>

Latest revision as of 18:27, 21 March 2023