<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 6.00.2900.3354" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=284213607-16092008><FONT face=Arial color=#0000ff 
size=2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=284213607-16092008><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=284213607-16092008><FONT face=Arial color=#0000ff size=2>I 
suggest you to first play the video file using mplayer. So that you come to know 
about the audio video codec sequence as to know whetehr audo or video comes 
first.Based on that you can use the respective decoders as per sequence in 
mplayer.</FONT></SPAN><SPAN class=284213607-16092008><FONT face=Arial 
color=#0000ff size=2>If audio comes first use audio decoder, &nbsp;else 
video.....</FONT></SPAN></DIV>
<DIV><SPAN class=284213607-16092008><FONT face=Arial color=#0000ff size=2>Try 
changing the demux or the decoder elements by&nbsp;trial and 
error.</FONT></SPAN><SPAN class=284213607-16092008><FONT face=Arial 
color=#0000ff size=2>I also had faced the same problem, some time ago, it worked 
out when i changed the respective decoder.</FONT></SPAN></DIV>
<DIV><SPAN class=284213607-16092008><FONT face=Arial color=#0000ff size=2>Hope 
it works for you too .</FONT></SPAN></DIV>
<DIV><SPAN class=284213607-16092008><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=284213607-16092008><FONT face=Arial color=#0000ff 
size=2>Regards,</FONT></SPAN></DIV>
<DIV><SPAN class=284213607-16092008><FONT face=Arial color=#0000ff 
size=2>Irfan</FONT></SPAN></DIV>
<DIV><SPAN class=284213607-16092008><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> 
  gstreamer-devel-bounces@lists.sourceforge.net 
  [mailto:gstreamer-devel-bounces@lists.sourceforge.net]<B>On Behalf Of 
  </B>Julien Pauty<BR><B>Sent:</B> Tuesday, September 16, 2008 12:46 
  AM<BR><B>To:</B> gstreamer-devel@lists.sourceforge.net<BR><B>Subject:</B> 
  [gst-devel] Writing a transport stream to the disk and reading itat the same 
  time<BR><BR></FONT></DIV>
  <DIV dir=ltr>Hello,<BR><BR>I have an application with two pipelines. The first 
  pipeline writes to the disk the transport streams provided by a dvbbasebin. My 
  second pipeline reads the transport streams from the disk. <BR><BR>My problem 
  is that playing stops after a few seconds. I'm waiting a few seconds before 
  starting playing to be sure that enough data has been saved, but this is not 
  sufficient. My pipeling looks like this: filesrc ! flutsdemux ! queue ! 
  audiodec ! audiosink ! queue! videodec ! videosink . If I use the playbin 
  instead of my custom pipeline, it works. However, I still want to use my 
  pipeline, because it can seek through the transport stream, whereas I'm not 
  able to seek with the playbin. <BR><BR>With a big file I don't have this 
  problem, suggesting some buffering problem. My debbuging session tends to show 
  that, if the file is small (&lt;10meg) the filesrc reads the whole file and 
  send an EOS event. I thought that I may need some prerolling and I tried to 
  insert a queue between the filesrc and the demuxer, but this does not help. 
  <BR><BR>I think it's possible to do it since the playbin can handle this. 
  Unfortunally sources of the playbin are rather complex.<BR><BR>Any idea is 
  welcomed,<BR><BR>Cheers,<BR><BR>Julien <BR></DIV></BLOCKQUOTE><p>The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it.</p>
</BODY></HTML>