Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#4642 closed defect (worksforme)

Converting a certain gif to mp4 turns all frames green

Reported by: Nick Santos Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Run the following command with the provided gif file:

% FFREPORT=true ffmpeg -v 9 -loglevel 99 -i turns_green_when_converted_to_mp4.gif -q 5 -pix_fmt yuv420p green.mp4

ffmpeg version N-69101-ge7d8518 Copyright (c) 2000-2015 the FFmpeg developers
  built on Jan 15 2015 21:55:44 with gcc 4.8.2 (GCC) 20140120 (Red Hat 4.8.2-16)
  configuration: --enable-libtheora --enable-postproc --prefix=/home/ec2-user/ffmpeg/build-ffmpeg

All the frames in the mp4 come out green.

Interestingly, I was only able to reproduce this on my EC2 linux machines. The conversion worked fine when I ran the same command on OSX.

I'll attach the full log, the input file, and the output file.

Attachments (3)

ffmpeg-20150619-151841.log (15.7 KB ) - added by Nick Santos 9 years ago.
ffmpeg verbose log
turns_green_when_converted_to_mp4.gif (360.6 KB ) - added by Nick Santos 9 years ago.
input gif
green.mp4 (201.2 KB ) - added by Nick Santos 9 years ago.
output mp4

Download all attachments as: .zip

Change History (7)

by Nick Santos, 9 years ago

Attachment: ffmpeg-20150619-151841.log added

ffmpeg verbose log

by Nick Santos, 9 years ago

input gif

by Nick Santos, 9 years ago

Attachment: green.mp4 added

output mp4

comment:1 by Carl Eugen Hoyos, 9 years ago

Resolution: worksforme
Status: newclosed

green.mp4 plays fine here with FFplay, MPlayer, xine, totem and vlc...

comment:2 by Carl Eugen Hoyos, 9 years ago

Unrelated: Note that --enable-postproc has no effect, if you want libpostproc, you have to pass --enable-gpl to configure.

comment:3 by Nick Santos, 9 years ago

It shows up all green for me on Quicktime.

comment:4 by Nick Santos, 9 years ago

(compatibility with quicktime is pretty important to us for Safari support. Otherwise we'd be using ogv for everything.)

Unrelated: thank you for the --enable-gpl advice!

Note: See TracTickets for help on using tickets.