[FFmpeg-user] h264 videos are darker

Totte Karlsson totte.karlsson at alleninstitute.org
Mon Feb 24 22:06:34 EET 2020

> You can try the following:
> $ ffmpeg -f rawvideo -r 23 -s 658x492 -i pipe -vcodec libx264 -pix_fmt yuv420p -crf
> 23 output1...
> $ ffmpeg -f rawvideo -r 23 -s 658x492 -i pipe -vcodec libx264 -pix_fmt yuvj420p -crf
> 23 output2...

I tried both yuv420p and yuvj420p as suggested, and both results in color flashing distorted videos.

> Note that avi is generally not considered a good idea to store h264.

What is a considered good choice for storing h264?


> Carl Eugen
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fffmpeg.org%
> 2Fmailman%2Flistinfo%2Fffmpeg-
> user&data=02%7C01%7C%7C29e43fa588bd420463cd08d7b1f08dc3%7C326
> 69cd6737f4b398bddd6951120d3fc%7C0%7C0%7C637173519044136911&sd
> ata=%2FSpNsiFazsGRekYyY8wcwlPzp47T8hyRKbSv2qud3kk%3D&reserve
> d=0
> To unsubscribe, visit link above, or email ffmpeg-user-request at ffmpeg.org with
> subject "unsubscribe".

More information about the ffmpeg-user mailing list