seek mpeg2 movie file

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

seek mpeg2 movie file

qt next
Hi,

I am trying to seek in an mpeg2 files (I use OSSbuild LGPL on windows Seven X32)  :
I do for exemple : bool b=gst_element_seek_simple(m_pipeline,GST_FORMAT_TIME,(GstSeekFlags)(GST_SEEK_FLAG_ACCURATE|GST_SEEK_FLAG_FLUSH),cur);

(I have also test gst_element_seek without success) :
It always return false : I wants at least to be able to restart mpeg2 when I detect EOS to loop files.

Is the Mpeg2 decoder not able to seek ?

I am a beginner in gstreamer ...

Best regards

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel