[gst-devel] play avi video using avidemux , mpeg2dec and dfbvideosink

Joyious He joyious at 163.com
Wed Oct 17 12:55:02 CEST 2007


 Hi All,
I tried to play a avi file using avidemux, mpeg2dec, and dfbvideosink, and I wrote a simple application just link this elements together.
but I got the results below :
....
gstavidemux.c:1616:gst_avi_demux_stream_index:<avidemux0>[00m skip LIST chunk
0:00:01.608482000 [332m 1633[00m 0x1af80 [32;01mINFO [00m [00m            avidemux gstavidemux.c:2289:gst_avi_demux_calculate_durations_from_index:[00m Stream 0 duration according to header: 0:03:30.400000000
0:00:01.609433000 [332m 1633[00m 0x1af80 [32;01mINFO [00m [00m            avidemux gstavidemux.c:2309:gst_avi_demux_calculate_durations_from_index:[00m Stream 0 duration according to index: 0:03:30.400000000
0:00:01.609994000 [332m 1633[00m 0x1af80 [32;01mINFO [00m [00m            avidemux gstavidemux.c:2289:gst_avi_demux_calculate_durations_from_index:[00m Stream 1 duration according to header: 0:00:02.596444444
0:00:01.611595000 [332m 1633[00m 0x1af80 [32;01mINFO [00m [00m            avidemux gstavidemux.c:2309:gst_avi_demux_calculate_durations_from_index:[00m Stream 1 duration according to index: 0:00:02.596439506
0:00:01.612236000 [332m 1633[00m 0x1af80 [32;01mINFO [00m [00m            avidemux gstavidemux.c:2339:gst_avi_demux_calculate_durations_from_index:[00m Setting total duration to: 0:03:30.400000000
0:00:01.612865000 [332m 1633[00m 0x1af80 [32;01mINFO [00m [00;01;34m           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
0:00:01.613967000 [332m 1633[00m 0x1af80 [32;01mINFO [00m [00;01;34m           GST_EVENT gstpad.c:4242:gst_pad_send_event:<mpeg2dec0:sink>[00m Received event on flushing pad. Discarding
0:00:01.614717000 [332m 1633[00m 0x1af80 [32;01mINFO [00m [00;01;34m           GST_EVENT gstpad.c:4242:gst_pad_send_event:<mpeg2dec0:sink>[00m Received event on flushing pad. Discarding
0:00:01.616135000 [332m 1633[00m 0x1af80 [32;01mINFO [00m [00;01;34m           GST_EVENT gstpad.c:4242:gst_pad_send_event:<mpeg2dec0:sink>[00m Received event on flushing pad. Discarding
0:00:01.617260000 [332m 1633[00m 0x1af80 [33;01mWARN [00m [00m            avidemux gstavidemux.c:3548:gst_avi_demux_loop:[00m stream_movi flow: wrong-state / ok
(!) [ 1625:    0.000] --> Caught signal 2 (sent by the kernel) <--
(!) DirectFB/core/vt: Unable to disallocate VT!
    --> Device or resource busy
Killed
I think the key info is "Received event on flushing pad. Discarding" and "stream_movi flow: wrong-state / ok".
anyone can give me some ideas about this ?
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
Joyious
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20071017/1ae8a246/attachment.htm>


More information about the gstreamer-devel mailing list