[FFmpeg-trac] #8920(ffmpeg:new): Pixel format forced to rgb8 when outputting to multiple files when gif is included

FFmpeg trac at avcodec.org
Tue Oct 6 13:24:27 EEST 2020


#8920: Pixel format forced to rgb8 when outputting to multiple files when gif is
included
---------------------------------+--------------------------------------
             Reporter:  henriks  |                     Type:  defect
               Status:  new      |                 Priority:  normal
            Component:  ffmpeg   |                  Version:  git-master
             Keywords:           |               Blocked By:
             Blocking:           |  Reproduced by developer:  0
Analyzed by developer:  0        |
---------------------------------+--------------------------------------
 I am trying to convert a video to webp and gif files. This results in the
 webp file being encoded in rbg8 pixel format. Specifying format in the
 filtergraph or with -pix_fmt does not work

 Sample command:

 {{{
 ffmpeg -y -i in.mp4 -pix_fmt yuv420p -filter_complex
 "[0:v]fps=12,scale=640:-2,split=2[out1][out2]" -map '[out1]' -t 3 out.webp
 -map '[out2]' -t 3 out.gif
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/8920>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list