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