mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-01 13:08:49 +00:00
199e7f14f2
Original commit message from CVS: 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. :). |
||
---|---|---|
.. | ||
gstffmpeg.c | ||
gstffmpegcodecmap.c | ||
gstffmpegcodecmap.h | ||
gstffmpegcolorspace.c | ||
gstffmpegdec.c | ||
gstffmpegdemux.c | ||
gstffmpegenc.c | ||
gstffmpegmux.c | ||
gstffmpegprotocol.c | ||
Makefile.am |