507
edits
No edit summary |
No edit summary |
||
Line 11: | Line 11: | ||
== GstRtspSink Pipeline == | == GstRtspSink Pipeline == | ||
The following | The following pipeline combines a H264 video and an AAC audio stream into a single mapping and serves it to a multicast group found between 239.255.255.253 and 239.255.255.255 and a port between 5000 and 6000. | ||
<syntaxhighlight lang=bash> | <syntaxhighlight lang=bash> | ||
Line 27: | Line 27: | ||
v4l2src device=/dev/video0 ! "video/x-raw,width=640,height=480" ! queue ! videoconvert ! \ | v4l2src device=/dev/video0 ! "video/x-raw,width=640,height=480" ! queue ! videoconvert ! \ | ||
queue ! x264enc key-int-max=10 ! h264parse ! capsfilter caps="video/x-h264, mapping=${MAPPING}" ! sink. \ | queue ! x264enc key-int-max=10 ! h264parse ! capsfilter caps="video/x-h264, mapping=${MAPPING}" ! sink. \ | ||
audiotestsrc ! queue ! audioconvert ! queue ! voaacenc ! aacparse ! capsfilter caps="audio/mpeg, mapping=${MAPPING}" ! sink. | |||
</syntaxhighlight> | </syntaxhighlight> | ||
edits