[gst-cvs] rbultje gst-plugins: gst-plugins/ext/ffmpeg/

Ronald Bultje rbultje at users.sourceforge.net
Wed Nov 12 02:44:03 PST 2003

CVS Root:       /cvsroot/gstreamer
Module:         gst-plugins
Changes by:     rbultje
Date:           Wed Nov 12 2003  02:42:48 PST

Log message:
Several encoding changes:
* for video, double check the pix_fmt after opening the AVCodec. The pix_fmt
    will be changed to the preferred pix_fmt instead of that opening the
    codec fails. We fail when it has changed (then, ffmpeg doesn't like it).
* for video, set the correct timestamp.
* for audio, do *not* set the frame_size: most codecs don't like it. Instead,
    keep a cache of buffers and always give data of size "frame_size". Maybe
    I should have used bytestream here, I'm not sure. This works, though.
I can now create mpeg1 video, mp2 and ac3 audio. I didn't test any others yet.
I also didn't start working on integration with any of the muxers yet, that's
all one big TODO. One thing at a time, please. :).

Modified files:
    ext/ffmpeg      : gstffmpegcodecmap.c gstffmpegenc.c


More information about the Gstreamer-commits mailing list