[gst-devel] Porting ASF demuxer to 0.9

Amit Bhalla amit.bhalla at gmail.com
Thu Oct 20 14:27:50 CEST 2005


Hi,

I think I am fairly close to having something functional.  I am
encountering an error from ffmpeg decoder.  The error message states
that the input format has not been set.  I took a look at ffmpegdec.c
in -base.  There is an 'opened" flag that I'm not sure gets enabled. 
Comparing the asfdemuxer to the avidemuxer (which works) does not show
much difference outside the fact that avidemux relies on the riff
library.

I've copied a snippet of the debug output.

Thanks for any enlightenment.

Cheers,

-Amit


DEBUG (0x8128740 - 0:00:00.211706000)             GST_CAPS(17231)
gstpad.c(1495):gst_pad_link_check_compatible_unlocked: intersection
caps 0x8133af0 video/mpeg, mpegversion=(int)4, framerate=(double)25,
width=(int)320, height=(int)240,
codec_data=(buffer)000001000000012100844007a85020f0a21f,
systemstream=(boolean)false
INFO  (0x8128740 - 0:00:00.211830000)             GST_PADS(17231)
gstpad.c(1696):gst_pad_link: linked asfdemux0:video_00 and
ffdec_mpeg40:sink, successful
DEBUG (0x8128740 - 0:00:00.211949000)            GST_EVENT(17231)
gstevent.c(230):gst_event_new: creating new event 0x8133d80 tag

(gst-launch-0.9:17231): GStreamer-CRITICAL **:
gst_structure_set_parent_refcount: assertion `refcount == NULL' failed
DEBUG (0x8128740 - 0:00:00.212101000)            GST_EVENT(17231)
gstpad.c(3533):gst_pad_send_event: have event type tag on pad
ffdec_mpeg40:sink
DEBUG (0x8128740 - 0:00:00.212177000)               ffmpeg(17231)
gstffmpegdec.c(913):gst_ffmpegdec_sink_event:<ffdec_mpeg40> Handling
event of type 118
INFO  (0x8128740 - 0:00:00.212231000)             GST_PADS(17231)
gstpad.c(2630):gst_pad_event_default_dispatch:<ffdec_mpeg40:sink>
Sending event 0x8133d80 to all internally linked pads
DEBUG (0x8128740 - 0:00:00.212281000)            GST_EVENT(17231)
gstpad.c(3533):gst_pad_send_event: have event type tag on pad
ffmpegcolorspace0:sink
INFO  (0x8128740 - 0:00:00.212337000)             GST_PADS(17231)
gstpad.c(2630):gst_pad_event_default_dispatch:<ffmpegcolorspace0:sink>
Sending event 0x8133d80 to all internally linked pads
DEBUG (0x8128740 - 0:00:00.212383000)            GST_EVENT(17231)
gstpad.c(3533):gst_pad_send_event: have event type tag on pad
xvimagesink0:sink
WARN  (0x8128740 - 0:00:00.213551000)               ffmpeg(17231)
gstffmpegdec.c(1081):gst_ffmpegdec_chain:<ffdec_mpeg40> error:
ffdec_mpeg4: input format was not set before data start




More information about the gstreamer-devel mailing list