<div>&nbsp;Hi All,<br><br>I tried to play a avi file using avidemux, mpeg2dec, and dfbvideosink, and I wrote a simple application just link this elements together.<br><br>but I got the results below :<br><br>.....<br><br></div>gstavidemux.c:1616:gst_avi_demux_stream_index:&lt;avidemux0&gt;[00m skip LIST chunk<br>0:00:01.608482000 [332m 1633[00m 0x1af80 [32;01mINFO [00m [00m&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; avidemux gstavidemux.c:2289:gst_avi_demux_calculate_durations_from_index:[00m Stream 0 duration according to header: 0:03:30.400000000<br>0:00:01.609433000 [332m 1633[00m 0x1af80 [32;01mINFO [00m [00m&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; avidemux gstavidemux.c:2309:gst_avi_demux_calculate_durations_from_index:[00m Stream 0 duration according to index: 0:03:30.400000000<br>0:00:01.609994000 [332m 1633[00m 0x1af80 [32;01mINFO [00m [00m&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; avidemux gstavidemux.c:2289:gst_avi_demux_calculate_durations_from_index:[00m Stream 1 duration according to header: 0:00:02.596444444<br>0:00:01.611595000 [332m 1633[00m 0x1af80 [32;01mINFO [00m [00m&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; avidemux gstavidemux.c:2309:gst_avi_demux_calculate_durations_from_index:[00m Stream 1 duration according to index: 0:00:02.596439506<br>0:00:01.612236000 [332m 1633[00m 0x1af80 [32;01mINFO [00m [00m&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; avidemux gstavidemux.c:2339:gst_avi_demux_calculate_durations_from_index:[00m Setting total duration to: 0:03:30.400000000<br>0:00:01.612865000 [332m 1633[00m 0x1af80 [32;01mINFO [00m [00;01;34m&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GST_EVENT gstevent.c:528:gst_event_new_new_segment_full:[00m creating newsegment update 0, rate 1.000000, format GST_FORMAT_TIME, start 0:00:00.000000000, stop 0:03:30.400000000, position 0:00:00.000000000<br>0:00:01.613967000 [332m 1633[00m 0x1af80 [32;01mINFO [00m [00;01;34m&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GST_EVENT gstpad.c:4242:gst_pad_send_event:&lt;mpeg2dec0:sink&gt;[00m Received event on flushing pad. Discarding<br>0:00:01.614717000 [332m 1633[00m 0x1af80 [32;01mINFO [00m [00;01;34m&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GST_EVENT gstpad.c:4242:gst_pad_send_event:&lt;mpeg2dec0:sink&gt;[00m Received event on flushing pad. Discarding<br>0:00:01.616135000 [332m 1633[00m 0x1af80 [32;01mINFO [00m [00;01;34m&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GST_EVENT gstpad.c:4242:gst_pad_send_event:&lt;mpeg2dec0:sink&gt;[00m Received event on flushing pad. Discarding<br>0:00:01.617260000 [332m 1633[00m 0x1af80 [33;01mWARN [00m [00m&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; avidemux gstavidemux.c:3548:gst_avi_demux_loop:[00m stream_movi flow: wrong-state / ok<br>(!) [ 1625:&nbsp;&nbsp;&nbsp; 0.000] --&gt; Caught signal 2 (sent by the kernel) &lt;--<br>(!) DirectFB/core/vt: Unable to disallocate VT!<br>&nbsp;&nbsp;&nbsp; --&gt; Device or resource busy<br>Killed<br><br>I think the key info is "Received event on flushing pad. Discarding" and "stream_movi flow: wrong-state / ok".<br><br>anyone can give me some ideas about this ?<br><br>ps: in the same target the osssink audio output is not good for it lose some CPU power to write datas, and i can not disable the GST_DEBUG to check CPU power at that condition.<br><br>BR<br>Joyious<br><div>&nbsp;</div><div>&nbsp;</div><br><!-- footer --><br>
<hr>
<table width="100%%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="50" height="50"><img src="http://mimg.163.com/hd/163/163footer/163footer_50.jpg" alt="LOGO" width="50" height="50"></td>
    <td style="padding:5px;"><a style="font-size:12px;color:black; line-height:20px;text-decoration:none;" href="http://popme.163.com/link/003515_0929_938.html">把爱心注入牛奶,共同凝聚这份力量</a><br /><a style="font-size:12px;line-height:20px; color:black; text-decoration:none;" href="http://popme163.com/link/003515_0929_938.html">快来参加蒙牛免费赠奶爱心行动 </a></td>
  </tr>
</table>