[FFmpeg-trac] #2936(avformat:open): %-syntax for GIF output is not respected, can't write individual frames as images

FFmpeg trac at avcodec.org
Tue Sep 3 16:59:48 CEST 2013


#2936: %-syntax for GIF output is not respected, can't write individual frames as
images
------------------------------------+------------------------------------
             Reporter:  slhck       |                    Owner:
                 Type:  defect      |                   Status:  open
             Priority:  normal      |                Component:  avformat
              Version:  git-master  |               Resolution:
             Keywords:  gif         |               Blocked By:
             Blocking:              |  Reproduced by developer:  1
Analyzed by developer:  1           |
------------------------------------+------------------------------------

Comment (by slhck):

 Replying to [comment:1 Cigaes]:
 > FFmpeg has gained support for creating animated GIF

 AFAICT that has been around for quite some time and could be achieved by
 simply choosing an output file name without `%` syntax.


 > You can get the old behaviour back by adding {{{-f image2}}}

 No, because this creates JPEG images under a .gif extension. ffmpeg
 outputs:

 {{{
 Stream #0:0 -> #0:0 (h264 -> mjpeg)
 }}}

 and if you inspect the files created:

 {{{
 ± % mediainfo output0118.gif
 General
 Complete name                            : output0118.gif
 Format                                   : JPEG
 File size                                : 38.0 KiB

 Image
 Format                                   : JPEG
 Width                                    : 1 280 pixels
 Height                                   : 720 pixels
 Color space                              : YUV
 Chroma subsampling                       : 4:2:0
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2936#comment:2>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list