I have been searching a lot and I can't find a solution.
How do you convert a video from MPEG-4 to MPEG-2?
That shouldn't be too hard. But the avconv
man pages don't give enough info to do this right. If I just do
avconv -i input.mp4 output.mpeg
it does create an MPEG-2 file, but it's unwatchable - the image quality is horrible. The size of the file on disk also is about a third of the size of the input file.
So obviously I need to set some parameter to some value that preserves the quality, and that's where the troubles start.
I began with trying the -b
parameter, like so
avconv -i input.mp4 -b 384k output.mpeg
but that didn't really improve things. It was possible to decrease the quality even further, by using a lower number, but higher than 384k always gave me an error. So -b
is not the right parameter to use, obviously.
I tried many other things, and I could post everything here, and the results, what went wrong, which pages I read trying to find the solutions, but that would be a long and boring list of parameters and error messages and frustrations, so I will spare you these. By now I just want to know what I should use to get a decent picture.
avconv -i 1.mp4 -c:v mpeg2video -q:v 2 -c:a libmp3lame output.mpg
like explained here?