Opened 3 years ago

Closed 3 years ago

#8920 closed defect (invalid)

Pixel format forced to rgb8 when outputting to multiple files when gif is included

Reported by: henriks Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

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

Attachments (4)

output.txt (320.4 KB ) - added by henriks 3 years ago.
full output
in.mp4 (1.1 MB ) - added by henriks 3 years ago.
out.webp (1.8 MB ) - added by henriks 3 years ago.
out_yuv420p.webp (610.1 KB ) - added by henriks 3 years ago.
webp file with proper pixel format

Change History (5)

by henriks, 3 years ago

Attachment: output.txt added

full output

by henriks, 3 years ago

Attachment: in.mp4 added

by henriks, 3 years ago

Attachment: out.webp added

by henriks, 3 years ago

Attachment: out_yuv420p.webp added

webp file with proper pixel format

comment:1 by Carl Eugen Hoyos, 3 years ago

Component: ffmpegundetermined
Resolution: invalid
Status: newclosed

The application cannot insert more filters into the filterchain than you specify.

Note: See TracTickets for help on using tickets.