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

thiagossantos at gmail.com thiagossantos at gmail.com
Fri Oct 29 03:26:20 CEST 2010


On Thu, Oct 28, 2010 at 9:59 PM, Marlos C. Machado <marlos at dcc.ufmg.br>wrote:

> I didnt do that because I posted the url where it is...
>
> The whole code is attached.
>

Are you getting the EOS message? I don't see any mainloop or code popping
message from the bus on this sample (unless it is done on the superclass).


>
> 2010/10/28 thiagossantos at gmail.com <thiagossantos at gmail.com>
>
>
>>
>> On Wed, Oct 27, 2010 at 6:17 PM, Marlos C. Machado <marlos at dcc.ufmg.br>wrote:
>>
>>> I've tried to seek the video out of the callback function and it fails,
>>> why?
>>>
>>
>> That is hard to guess. Maybe you should provide a snippet of your code to
>> make it easier to identify the problem.
>>
>>
>>>
>>> 2010/10/27 Marlos C. Machado <marlos at dcc.ufmg.br>
>>>
>>> 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
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Marlos Cholodovskis Machado
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> 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
>>>
>>>
>>
>>
>> --
>> Thiago Sousa Santos
>>
>>
>> ------------------------------------------------------------------------------
>> 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
>
>
>
>
> ------------------------------------------------------------------------------
> 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
>
>


-- 
Thiago Sousa Santos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20101028/d1d16003/attachment.htm>


More information about the gstreamer-devel mailing list