Template:GSTREAMER RTP: Difference between revisions
From Variscite Wiki
No edit summary |
No edit summary |
||
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}}}}} | {{{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 | # 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> |