gst-rtsp-server local streaming with the huge delay

Nicolas Dufresne nicolas.dufresne at collabora.com
Tue Jan 26 14:04:11 PST 2016


Le lundi 25 janvier 2016 à 19:06 -0800, doon a écrit :
> The problem is that video begins to play only after 50 seconds-long
> freezing
> on the first frame(I see first frame 50 second and only after that
> video
> begins).
> And if I use this pipeline(with the audio playback) then video stuck
> on the
> first frame and does not start after 3 minutes(I did not check after
> this): 
> 
> gst-launch-1.0 --gst-debug=3 rtspsrc
> location="rtsp://127.0.0.1:8554/test" !
> rtph264depay ! decodebin name=dec ! videoconvert ! autovideosink dec.
> !
> audioconvert ! autoaudiosink
> 
> *How can I playback video without the delay(in the first case) and
> how can I
> playback video with the audio(in the second case)?*

The delay is likely related to the source file you are using. How was
it encoded ? What's the distance between key-frame ?

The easiest to get both audio and video is to use playbin.

Nicolas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160126/f4084f1b/attachment.sig>


More information about the gstreamer-devel mailing list