[gst-devel] Dealing with .mov files in C++

Marlos C. Machado dreedmurdock at gmail.com
Wed Oct 27 21:02:55 CEST 2010


Hello,

I'm playing .mov files in a Ogre Code (a 3D Rendering Engine) like that:
http://www.ogre3d.org/tikiwiki/Using+GStreamer+with+Ogre
I need to know when the video has reached its final (stopped playing) and
need to rewind it to play periodically. I have no idea how I know
when the video stopped playing, I tried to rewind it doing:

gst_element_set_state(GST_ELEMENT(mPlayer), GST_STATE_NULL);
gst_element_set_state(GST_ELEMENT(mPlayer), GST_STATE_PLAYING);

But it does not work. How should I do it?

Thanks.

-- 
Marlos Cholodovskis Machado
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20101027/799dfdf3/attachment.htm>


More information about the gstreamer-devel mailing list