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

Marlos C. Machado marlos at dcc.ufmg.br
Wed Oct 27 23:07:00 CEST 2010

Thanks for answering, but it is not working in my app.

The bus that catches EOS messages is never called, I mean, even when the
video is over I do not know since the function is not invoked. Have this
ever happened to you?

The code I'm using is in the link I posted.

Anyway, thanks for answering and providing an example.

2010/10/27 Tristan Matthews <tristan at sat.qc.ca>

> Hi Marlos,
> You should have a bus callback as described here:
> http://www.gstreamer.net/data/doc/gstreamer/head/manual/html/chapter-bus.html#section-bus-howto
> that will catch EOS messages, which are emitted when your stream is done
> playback. Upon getting this message, you need to call gst_element_seek on
> your playbin element with a seek position of 0, which will tell it to
> restart.
> I posted a simple example here:
> http://tristanswork.blogspot.com/2010/10/looping-playback-with-gstreamer.html
> -t
> --
> Tristan Matthews
> email: tristan at sat.qc.ca
> web: http://tristanswork.blogspot.com
> ------------------------------------------------------------------------------
> 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
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

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

More information about the gstreamer-devel mailing list