[gst-devel] new capsnego bugs + re-requesting docs

Ronald Bultje rbultje at ronald.bitfreak.net
Thu Jan 8 02:44:01 CET 2004


Hi Dave,

some more pipelines that fail with today's CVS:

filesrc location=file.mpg ! mpegdemux .video_00 ! mpeg2dec ! mpeg2dec !
ffcolorspace ! divxenc ! fakesink

gives a 16x16 buffer to divxenc (the mpeg file isn't 16x16 ;) )...
Divxenc will finally segfault, which I cannot really debug because the
caps are wrong. Divxenc isn't broken, other pipelines work just fine
(see below).

filesrc location=file.mpg ! mpegdemux .video_00 ! mpeg2dec ! mpeg2dec !
ffcolorspace ! median ! videodrop ! videoscale ! divxenc ! fakesink

gives a 100x100 buffer to divxenc (again, the mpeg file isn't
100x100...). Divxenc will never actually output any data.

simply filesrc ! mpegdemux .video_00 ! mpeg2dec ! divxenc ! fakesink
does work, so capsnego in ffcolorspace/filters seems broken.

and I'd again like to request you to write some basic capsnego docs, I'd
like to fix stuff myself but have no clue how it works (what does
try_set_caps do, how is that different from explicit caps, when should I
have sink/src link/getcaps functions, what parameters do they
get/return, etc.), which is pretty bad, because I used to understand the
old capsnego system perfectly fine.

Thanks,

Ronald

-- 
Ronald Bultje <rbultje at ronald.bitfreak.net>
Linux Video/Multimedia developer





More information about the gstreamer-devel mailing list