0
2
I have some cartoon animation stored in MPEG-2 video that I would like to convert to MPEG-4/h264.
The MPEG-2 video compression is rather bad, with both "small" JPEG artefacts around details in the picture and larger JPEG blocks that change slightly hue for each frame.
The compressed file gets rather large, because I guess ffmpeg tries to preserve as much of the original as possible, which also means presering all the wrongdoings of the MPEG-2 compression.
Since the animation originally consisted of large flat color surfaces that would have been a video compressor's dream, is there a smart way to say:
"Take large color surfaces that are almost the same color, and make them a single color as to compress them extremely efficiently?"
In other words, to both optimise file size and video quality by removing the damage done by MPEG-2.
The ffmpeg option -tune animation
saved a little file size, but not much. Also, decreasing general video quality just introduces "new" compression damages on top of the old ones.