0
For experimental purposes, I need to filter my video (using -vf
option) and change, say, brightness, but keep the same bitrate as in original video.
Just for testing purposes, I change RGB values to make video completely black using line like this:
ffmpeg -i input.mp4 -vf lutrgb='r=0.0*val:g=0.0*val:b=0.0*val' output.mp4
So far, I tried to specify bitrate manually by adding -b
, -minrate/maxrate
and -q
options to this line, but no matter what I do, FFmpeg keep reducing the br of the output video to just a few kilobytes.
And my question is - if it's possible to keep bitrate on the same level even if if I change RGB values to be completely black (as an extreme case).
Why do you want a completely black output? Why do you want to try to match the bitrate? – llogan – 2013-12-20T18:37:29.427
Ok, I asked moderator to do this. I'm doing measurements of battery consumption on the phone caused by video streaming. I need to separate the effect of usage of the phone screen and the effect of usage of network. So I though about creating two files with the same bitrate, one completely black (so, the playback doesn't actually involves the screen), and second - normal version. It could be a silly idea, of course, but up till now, it's the best I can think of. – None – 2013-12-20T20:48:07.533