GNOME Bugzilla – Bug 575918
rtsp h264ts stream media playback does NOT support seeking operation
Last modified: 2011-02-22 00:40:02 UTC
Please describe the problem: I'm implementing a video player application that should be able to play h264ts from RTSP server(DarwinStreamingSrvrlinux). Everything seems to be working fine. The only problem I've faced is that SEEK operation doesn't work when rendering RTSP streams. My pipeline looks like follows: rtspsrc->rtph264depay->queue->h264_video_decode->video_sink ->rtpmp4depay->identity->audio_sink source is created using ::gst_element_factory_make("rtspsrc", NULL) function My seek funtion is gst_element_seek(player_bin,1.0,GST_FORMAT_TIME,GST_SEEK_FLAG_FLUSH, GST_SEEK_TYPE_SET,seek_time, GST_SEEK_TYPE_NONE, GST_CLOCK_TIME_NONE); I have investigated this issue and can not handle it. Does anyone has the same problem? Does rstp in Gstreamer support seek function when playing h264ts stream media? Thanks a lot. Steps to reproduce: 1. 2. 3. Actual results: Expected results: Does this happen every time? Other information:
h264ts ? Are you sure you shouldn't be using the mpeg-ts depayloaders instead ?
Or better yet, why not just use rtspsrc with the rstp:// stream ? It will figure out all the proper settings/depayloaders
In my application, I use the command as follow: ./my_app rtsp://192.168.1.110/test.mp4 test.mp4 is composite by h264 video and mpeg4 audio. It plays fine in normal playback, but the picture will stop/hang when I use seek function.
Seek is still not working correctly in RTSP in all cases.
Does any patch or workaround is existed for RTSP seek function? Since I have to implement this function in my application, does any warm heart guy can give me suggestion? Thanks a lot.
no workaround, just someone sitting down an fixing the remaining problems.
lots of seeking fixes were done, please try again and report here.
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for. Thanks!