[FFmpeg-devel] [PATCH 1/3] avformat/image2: allow muxing gif files.

Clément Bœsch u at pkh.me
Wed Nov 6 23:39:19 CET 2013


On Sat, Oct 26, 2013 at 04:13:59PM +0200, Michael Niedermayer wrote:
> On Sat, Oct 19, 2013 at 08:47:48PM +0200, Clément Bœsch wrote:
> > Fixes Ticket #2936.
> > ---
> >  libavformat/gif.c     | 85 ++++++++++++++++++++++++++++++---------------------
> >  libavformat/gif.h     | 26 ++++++++++++++++
> >  libavformat/img2enc.c | 24 +++++++++++++++
> >  3 files changed, 101 insertions(+), 34 deletions(-)
> >  create mode 100644 libavformat/gif.h
> 
> this is a bit ugly
> what about a way to make img2enc support arbitrary muxers?
> that is open muxer &encoder, do 1 image, close
> this shouldnt need changes in gif and might come in handy for other
> muxers later

Sounds like a better idea. Not sure if I did it as you expected, new patch
attached.

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-avformat-image2-allow-muxing-gif-files.patch
Type: text/x-diff
Size: 3427 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20131106/b39923b2/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20131106/b39923b2/attachment.asc>


More information about the ffmpeg-devel mailing list