Problems with RTSP streaming

Matthias Dodt MDodt at xion-medical.com
Thu Feb 23 09:11:06 PST 2012


Hi!

I am streaming an h264 encoded video in MPEG2TS. This works fine using
the RTSP Server but the playback on the client is full of artifacts
using playbin2.

However if i store the stream into a file and play it back later it
works perfect!:

(works):
=======
gst-launch-0.10 rtspsrc location=rtsp://192.168.115.34:554/test !
rtpmp2tdepay ! ffdemux_mpegts name=dem ! video/x-h264 ! filesink
location=d:/stream_demuxed_ffmpeg.video

play video/h264 file(works):
===========================
gst-launch-0.10 filesrc location=d:/stream_demuxed_ffmpeg.video !
video/x-h264,width=(int)1920,height=(int)1080,framerate=(fraction)25/1 !
ffdec_h264 ! queue ! ffmpegcolorspace ! D3dvideosink

If i use playbin2 directly to playback the video the ffdec_h264
complains a lot about the stream. Setting sync=false on the videosink
will make the playback stall from time to time, but most of the
artifacts are gone. So it seems that the data is beeing transmitted to
slow? It's an HD video... But bandwidth shouldn't be a problem ...

I read something about timestamps that need to be recomputed..?

Thanks for any hint!

Cheers,

mat


More information about the gstreamer-devel mailing list