I would like to watch lecture recordings with inverted colors since
So far I did not find an mpv option that allows me to watch videos with reverse colors.
--vf=eq=1:-1
--vf=eq=1:-1
Not sure what that does, but looks pretty much inverted. So, closing.
Not sure what that does, but looks pretty much inverted. So, closing.
It inverts luma, so only brightness gets inverted, colors remain. Should still solve OP's question.
You could also use --hue=100 (or -100) to invert the colors, but that wouldn't make a bright video dark, which seems to be what OP wants. Or you could use both, which would do something.
Also, vf=eq is apparently really slow and might kill your battery if you're on a netbook with hardware decoding or something.
Thanks qmega, that solved it for me. Pretty well hidden in the manpage though.
hey guys, this is better, faint text in video is not buried by the gamma:contrast
$mpv --vf=sub,lavfi="negate" $(xclip -o | awk "{print $1}")
To negate colors for better visibility use the flag vf-lavfi=[negate]
To negate all videos edit .config/mpv/mpv.conf using a text editor like nano/vim/kwrite/gedit and paste that flag.
To negate one video on the commandline use mpv --vf-lavfi=[negate] <videofile>
This is an old issue. For mpv 0.32 use this:
how to invert colors in mpv
mpv --vf=negate --hwdec=no <videofile>
Also, to toggle with I key in the player itself:
$ cat ~/.config/mpv/input.conf
I cycle-values vf "sub,lavfi=negate" ""
@arbitrary-dev Could you add that to the bottom of the FAQ?
that's nothing for the FAQ.
Most helpful comment
hey guys, this is better, faint text in video is not buried by the gamma:contrast