Reputation: 443
I am trying to convert a sequence of png images to a video. Unfortunately the video though playing exactly what i want alters the colors.
The command used to convert the images:
ffmpeg -framerate 30 -pattern_type glob -i '*.png' -c:v libx264 -profile:v high -crf 20 -pix_fmt yuv420p out.mp4
The colors as displayed in the video.
How can I circumvent this altering of the colors?
EDIT I found the answer as posted below.
Upvotes: 1
Views: 792
Reputation: 443
The issue lies in the video-player used. I played the video on two different machines both with Ubuntu 16.04.
Totem Movie Player (Default on Ubuntu) gives the distorted colors. VLC Media Player yields correct colors. (Ubuntu 16.04) VLC Media Player yields correct colors. (Windows 7) Windows Media Player yields correct colors. (Windows 7)
Upvotes: 1