rtsp-streamer latency and muxing audio

gstream at ccc2.com gstream at ccc2.com
Tue Jan 17 03:39:11 PST 2012


Hi All,

Hoping you can help with a basic setup of the rtsp-streamer

using test-video.c I have added the following,

gst_rtsp_media_factory_set_launch (factory, "( "
      "filesrc location=/home/content/bad_date.flv ! decodebin2  !"
       " x264enc, threads=4, sliced-threads=true, pass=cbr, bitrate=2000,
vbv-buff-capacity=100, subme=3, rc-lookahead=45 ! rtph264pay
name=pay0 pt=96 !"
     ")");

What would be the correct syntax to get the embedded audio from the file
to re-embed into the stream?

And secondly, using the same basic profile I am getting around 5 seconds
delay for a live stream. Can you pls suggest the best syntax to get a very
low latency stream.

gst_rtsp_media_factory_set_launch (factory, "( "
       "rtspsrc location=rtsp://192.168.20.45/channel1 ! decodebin2  !
x264enc, threads=4, sliced-threads=true, pass=cbr, bitrate=2000,
vbv-buff-capacity=100, subme=3, rc-lookahead=45 ! rtph264pay
name=pay0 pt=96 !"
     ")");

Thanks for your help,
Art



More information about the gstreamer-devel mailing list