[gst-devel] no audio when file with audio-video streams is played

sudarshan bisht bisht.sudarshan at gmail.com
Thu Aug 20 07:01:44 CEST 2009


   Set GST_DEBUG=3 and try to see the logs , you may get some clue .

On Thu, Aug 20, 2009 at 10:16 AM, Jyoti <jyoti.d at allaboutif.com> wrote:

> Thanks for your suggestion.
>
> 1. I added a queue between demuxer & the decoders.
> Now some files play video well but without audio.
> I still get the same result.
>
> 2. And for some files with audio - video content the
> pipeline doesn't change to playing. The pipeline changes
> to GST_STATE_CHANGE_ASYNC state when I wait for pipeline to
> change to PLAYING in gst_element_get_state().
>
> Observation:
> The state change problem much occurs with files of type H2.64 video &
> AAC audio.
>
>
>
>
> On Wed, Aug 19, 2009 at 12:02 PM, sudarshan bisht <
> bisht.sudarshan at gmail.com> wrote:
>
>> Try using queue between demuxer and decoders .
>>
>>   On Wed, Aug 19, 2009 at 11:09 AM, Jyoti <jyoti.d at allaboutif.com> wrote:
>>
>>>  Hi all,
>>>
>>> I am writing an application to play a media file.
>>> 1. The audio doesn't play at all when both audio & video pads
>>> generated by demuxer are connected to separate bins
>>> called audio & video bins.
>>> 2. when I discard the video pad and connect only audio pad to
>>> audio bin I am able to hear the audio.
>>>
>>> The same file plays well with playbin. And I am using the elements
>>> as in playbin.
>>>
>>> *Observation:*
>>> 1. On catching bus messages for warning I get this message
>>> "*Compensating for audio synchronisation problems*"
>>> 2. The video pad is generated first & then the audio pad
>>>
>>> *The playbin elements are as below:*
>>> filesrc->mpegtsdemux
>>> ->ffdec_h264->ffmpegcolorspace->videoscale->xvimagesink
>>>
>>> ->mad->audioconvert->audioresample->alsasink
>>>
>>> Can someone please suggest some ideas on this?
>>>
>>> Thanks,
>>> Jyoti
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>>> 30-Day
>>> trial. Simplify your report design, integration and deployment - and
>>> focus on
>>> what you do best, core application coding. Discover what's new with
>>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>>> _______________________________________________
>>> gstreamer-devel mailing list
>>> gstreamer-devel at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>>
>>>
>>
>>
>> --
>> Regards,
>>
>> Sudarshan Bisht
>>
>>
>> ------------------------------------------------------------------------------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>> 30-Day
>> trial. Simplify your report design, integration and deployment - and focus
>> on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>
>>
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>


-- 
Regards,

Sudarshan Bisht
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090820/b65a8a52/attachment.htm>


More information about the gstreamer-devel mailing list