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

Clément Bœsch u at pkh.me
Sun Oct 20 09:50:44 CEST 2013


On Sun, Oct 20, 2013 at 09:29:26AM +0200, Reimar Döffinger wrote:
> On 19.10.2013, at 20:47, Clément Bœsch <u at pkh.me> wrote:
> > +        if (img->is_pipe) {
> > +            av_log(s, AV_LOG_ERROR, "Use the 'gif' format instead of "
> > +                   "'image2pipe' for continuous output GIF stream\n");
> > +            return AVERROR(EINVAL);
> > +        }
> 
> I don't think this makes sense.
> The gif muxer creates a single gif file, image2pipe should generate a series of gif images, so they are not the same thing.

The gif muxer creates a gif image stream (→ animated gif), while image2
can be used to create separate single gif image. In the current image2pipe
won't do anything usable, but maybe I'm missing the whole point and doing
something wrong here. Can you elaborate?

-- 
Clément B.
-------------- 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/20131020/347c6ac0/attachment.asc>


More information about the ffmpeg-devel mailing list