ooops sorry this was an inappropriate answer, answering in hurry is bad :(<br><br>Maybe ashwini, if you could attach some logs or the actual file, I might be able to help ?<br><br>Kapil<br><br><div class="gmail_quote">On Tue, Nov 15, 2011 at 7:44 PM, Kapil Agrawal <span dir="ltr"><<a href="mailto:kapil.agl@gmail.com">kapil.agl@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Ashwini,<br><br>You should make use of queue more logically. Following pipeline should work.<br><br><b>gst-launch -v filesrc location=/home/ashwini/streams/94EPG.trp !
mpegtsparse ! mpegtsdemux name=demux es-pids="65:52:65" ! video/mpeg ! decodebin ! queue ! ffmpegcolorspace ! xvimagesink demux. ! queue !
decodebin ! queue ! audioconvert ! volume ! alsasink</b><br><br>Best<br>Kapil<br><br><div class="gmail_quote"><div><div class="h5">On Tue, Nov 15, 2011 at 7:10 PM, Ashwini Sharma <span dir="ltr"><<a href="mailto:ak.ashwini@gmail.com" target="_blank">ak.ashwini@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><br><span style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:13px">Hi All,</span><div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:13px">
<br></div><div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:13px">I have a very awkward problem.</div><div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:13px">
<br></div><div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:13px">I have a transport stream, which when I play only the video, it works fine.</div>
<div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:13px">When I play the Audio separately works fine. But when I play the stream Audio/Video together, I see few frames (5~10) and after wards it freezes.</div>
<div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:13px"><br></div><div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:13px">
When I check the pipeline state, it shows as PLAYING state.</div><div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:13px"><br></div><div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:13px">
Can some one please help.</div><div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:13px">The pipelines I used are as follows.</div><div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:13px">
<br></div><div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:13px">For VIDEO only:</div><div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:13px">
<br></div><div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:13px"><b>gst-launch -v filesrc location=/home/ashwini/streams/94EPG.trp ! mpegtsparse ! mpegtsdemux name=demux es-pids="65:68:65" ! video/mpeg ! queue ! decodebin ! ffmpegcolorspace ! xvimagesink</b></div>
<div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:13px"><b><br></b></div><div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:13px">
For AUDIO only:</div><div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:13px"><br></div><div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:13px">
<b>gst-launch -v filesrc location=/home/ashwini/streams/94EPG.trp ! mpegtsparse ! mpegtsdemux name=demux es-pids="65:68:65" ! queue ! decodebin ! audioconvert ! queue ! volume ! alsasink</b></div><div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:13px">
<b><br></b></div><div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:13px">The complete pipe is:</div><div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:13px">
<br></div><div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:13px"><b>gst-launch -v filesrc location=/home/ashwini/streams/94EPG.trp ! mpegtsparse ! mpegtsdemux name=demux es-pids="65:52:65" ! video/mpeg ! queue ! decodebin ! ffmpegcolorspace ! xvimagesink demux. ! queue ! decodebin ! audioconvert ! queue ! volume ! alsasink</b></div>
<div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:13px"><b><br></b></div><div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:13px">
<b><font color="#ff0000">In this case when I used fakesink in place of alsasink, the number of frames displayed is increased to 20~25.</font></b></div><div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:13px">
<b><br></b></div><div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:13px">Please give me some hint, where I am missing something. </div><div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:13px">
<br></div><div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:13px">regards,</div><div style="color:rgb(34, 34, 34);font-family:arial, sans-serif;font-size:13px">
Ashwini</div>
<br></div></div>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br><a href="http://www.linkedin.com/in/kapilagrawal" target="_blank">http://www.linkedin.com/in/kapilagrawal</a><br><a href="http://www.mediamagictechnologies.com" target="_blank">www.mediamagictechnologies.com</a> <br>
(Consultancy - Multimedia, Gstreamer, ffmpeg, Streaming for platforms- linux, windows, TI, android)<br><br><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><a href="http://www.linkedin.com/in/kapilagrawal" target="_blank">http://www.linkedin.com/in/kapilagrawal</a><br><a href="http://www.mediamagictechnologies.com" target="_blank">www.mediamagictechnologies.com</a> <br>
(Consultancy - Multimedia, Gstreamer, ffmpeg, Streaming for platforms- linux, windows, TI, android)<br><br><br>