Thanks for your suggestion.<br><br>1. I added a queue between demuxer &amp; 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&#39;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 &amp; <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">&lt;<a href="mailto:bisht.sudarshan@gmail.com">bisht.sudarshan@gmail.com</a>&gt;</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">&lt;<a href="mailto:jyoti.d@allaboutif.com" target="_blank">jyoti.d@allaboutif.com</a>&gt;</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&#39;t play at all when both audio &amp; video pads<br>
generated by demuxer are connected to separate bins<br>called audio &amp; 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>&quot;<b>Compensating for audio synchronisation problems</b>&quot;<br>2. The video pad is generated first &amp; then the audio pad<br>

<br><i>The playbin elements are as below:</i><br>filesrc-&gt;mpegtsdemux  -&gt;ffdec_h264-&gt;ffmpegcolorspace-&gt;videoscale-&gt;xvimagesink<br>                                   -&gt;mad-&gt;audioconvert-&gt;audioresample-&gt;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&#39;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&#39;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>