[gst-devel] GSTreamer on Windows

Ronald S. Bultje R.S.Bultje at students.uu.nl
Sun Jul 25 10:24:05 CEST 2004


Hi Steve,

On Sun, 2004-07-25 at 17:20, Steve Lhomme wrote:
> * gst-launch filesrc location="test.avi" ! matroskamux ! filesink 
> location="test.mkv"
> = creates a Matroska file but the type of the track is wrong (only one 
> track in the file)
> 
> * gst-launch filesrc location="test.avi" ! avidemux ! matroskamux ! 
> filesink location="test.mkv"
> = takes 100% CPU doing nothing

Those cannot work, because the muxer and demuxer are not always in sync.
The correct solution is to add queues to each of the source pads in
avidemux and connect those to a different thread in matroskamux. Then,
the two run independently and slight out-of-sync changes will not hang
the pipeline.

Ronald





More information about the gstreamer-devel mailing list