Question

I need to change brightness and contrast to a video permanently, I tried this:

mplayer -vf eq=50:50 a.mp4 -dumpstream
mv stream.dump b.mp4

But it saves as a file which look likes the original file. Any idea?

Was it helpful?

Solution

You want to use mencoder to transcode the video to apply the video filter eq=50:50. When you use -dumpstream with mplayer, it simply dumps the stream while the video filter is being applied to playback. Take a look at the mencoder options, but you'll need to chose a video codec and some options for that codec (like bitrate). Then you can apply the brightness and contrast filter.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top