[gst-devel] video freeze while playing a file without audio
ved kpl
ved.kpl at gmail.com
Fri Sep 26 09:07:47 CEST 2008
Hi,
If you are not pushing any audiodata, then with what element is the
audiosink element linked? Looks like, you add the audiosink in the
pipeline right at the start.
So when set the pipeline is set to playing and if the file has only
video data, then audiosink will never complete the state change to
PAUSED. (wont preroll)
You need to add the elements after the demux (decoders, sinks),
later., based on the new pads fired by the demuxer.
Ved
2008/9/26 sudarshan bisht <bisht.sudarshan at gmail.com>:
> Hi ,
> Can u please tell me how you are running pipeline ? using
> gst-launch or using some application written by you ?
>
> On Fri, Sep 26, 2008 at 6:15 AM, Chen Yong(Ever)[陈勇]
> <yongchen at arcsoft.com.cn> wrote:
>>
>> Thanks your reply. In my example, we don't push any audio data to
>> down-streaming element, only push video data, but video is freeezed.
>>
>>
>> >Hi ,
>> >
>> > When u don't have audio data in your container file then that
>> > time
>> >don't create pad for that stream in plugin code i.e. dont try to push
>> > audio
>> >data to next element .
>> > In your case what is happening is that you dont have audio data
>> > even
>> >then you are trying to push some junk data to next element and in that
>> > case
>> >next element is returning some other return value than GST_FLOW_OK from
>> > its
>> >chain function .
>> > To debug this just see return value of gst_pad_push( ) fucntion ,
>> >this value should be GST_FLOW_OK .
>>
>>
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win great
>> prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the
>> world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>
>
> --
> Regards,
>
> Sudarshan Bisht
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>
More information about the gstreamer-devel
mailing list