After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 575918 - rtsp h264ts stream media playback does NOT support seeking operation
rtsp h264ts stream media playback does NOT support seeking operation
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
0.10.20
Other Linux
: Normal major
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-03-19 09:08 UTC by chgw87@gmail.com
Modified: 2011-02-22 00:40 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16



Description chgw87@gmail.com 2009-03-19 09:08:17 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:
Comment 1 Edward Hervey 2009-03-19 09:42:25 UTC
h264ts ? Are you sure you shouldn't be using the mpeg-ts depayloaders instead ?
Comment 2 Edward Hervey 2009-03-19 09:43:01 UTC
Or better yet, why not just use rtspsrc with the rstp:// stream ? It will figure out all the proper settings/depayloaders
Comment 3 chgw87@gmail.com 2009-03-19 09:49:30 UTC
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.
Comment 4 Wim Taymans 2009-03-19 10:05:30 UTC
Seek is still not working correctly in RTSP in all cases.
Comment 5 chgw87@gmail.com 2009-03-19 11:39:44 UTC
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.
Comment 6 Wim Taymans 2009-03-19 11:57:15 UTC
no workaround, just someone sitting down an fixing the remaining problems.
Comment 7 Wim Taymans 2010-12-29 15:30:37 UTC
lots of seeking fixes were done, please try again and report here.
Comment 8 Tobias Mueller 2011-02-22 00:40:02 UTC
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!