[FFmpeg-user] h264 videos are darker

Totte Karlsson totte.karlsson at alleninstitute.org
Tue Feb 25 02:55:58 EET 2020


> >
> > I tried both yuv420p and yuvj420p as suggested, and both results in color flashing
> distorted videos.
> 
> Then please add -pix_fmt gray before "-i".


That seemed to have fixed the issues! Using both "gray" on input and output seem to work nicely. 

Is there a reason/advantage to use "yuv420p" instead of "gray" for the output, for this 8bit input video?

-tk




More information about the ffmpeg-user mailing list