Try using queue between demuxer and decoders . <br><br>
<div class="gmail_quote">On Wed, Aug 19, 2009 at 11:09 AM, Jyoti <span dir="ltr"><<a href="mailto:jyoti.d@allaboutif.com">jyoti.d@allaboutif.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">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>------------------------------------------------------------------------------<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><br clear="all">
<div></div><br>-- <br>Regards,<br><br>Sudarshan Bisht<br>