EIRTeam.FFmpeg icon indicating copy to clipboard operation
EIRTeam.FFmpeg copied to clipboard

The brightness varys between different file type

Open rakzin opened this issue 1 year ago • 2 comments

Env: Linux mint 22 / Godot 4.3 Stable / release v1.1.2

If play .ogv (godot supported), it's the same If play .mp4 (plugin supported), it's brighter

with desktop player, converted files have same brightness

Screenshot from 2024-12-05 20-36-10

in game, not the same Screenshot from 2024-12-05 20-40-43

Min Project:

video_compare.tar.gz

rakzin avatar Dec 05 '24 12:12 rakzin

ffmpeg command ffmpeg -i input.mp4 -c:v libtheora -q:v 7 -c:a libvorbis -q:a 4 output.ogv

rakzin avatar Dec 05 '24 15:12 rakzin

This is probably due to the YUV -> RGB conversion math, i'll take a look when I can

EIREXE avatar Dec 06 '24 09:12 EIREXE