Is it possible to do gamma change in RGB color space?

ffmpeg -i video.mkv -vf eq=gamma=1.2 video1.mkv

Where to put the "converttoRGB" "converttoyuv" ?

(Changing gamma in YUV causes problems with saturation)

OK - here is the answer:

-vf lutrgb=r=gammaval(0.75):g=gammaval(0.75):b=gammaval(0.75) ^
-c:v libx264 -pix_fmt yuv420p -preset ultrafast -crf 17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.