[gst-devel] RE: XVID plugin and one question

Wim Taymans wim.taymans at chello.be
Wed May 1 08:01:27 CEST 2002


> You will find the code for the xviddec plugin at
http://mdf.sourceforge.net, together with the debug log and a > small
m4v video contents (this works when fed to xviddec). For a DivX5
contents to be played through > avidemux please refer to

very nice.

> gst-launch --gst-mask=-1 filesrc location=xXx_DivX.divx ! avidemux
video_00! xviddec ! disksink location=test

looking at the log, you should put the xviddec and disksink into a
thread. The problem with runing the above pipeline is that avidemux does
not have a video_00 path when you create and run this pipeline. They
will become available after N iterations. The problem is then that
xviddec has an unconnected sinkpad, causing a failure.

if you run like:

gst-launch --gst-mask=-1 filesrc location=xXx_DivX.divx ! avidemux
video_00! { queue ! xviddec ! disksink location=test }

things should work better as the thread (with the {}) will not go into
the playing state right away (since queue is not connected) but will do
so if the video_00 pad becomes available at runtime.

You can alternatively create an app that handles this better or enhance

> Regards,
> Gianluca



More information about the gstreamer-devel mailing list