LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   mencoder reduce size of output-file.avi (https://www.linuxquestions.org/questions/linux-software-2/mencoder-reduce-size-of-output-file-avi-4175535244/)

littlejoe5 02-26-2015 11:11 PM

mencoder reduce size of output-file.avi
 
I was following an old post trying to convert mkv to avi, using mencoder:
mencoder input.mkv -ovc lavc -oac mp3lame -o output.avi

It worked, but the resulting avi file was more than twice the size of the mkv file. It seems to be of good/great quality, but I need to get it down to about the size of the mkv. How do I do that?

veerain 02-26-2015 11:30 PM

See this site page.

The input mkv file is using some video compression while the output file is perhaps raw video file. That's why double size.
You should pass some video compression options as specified in above link.

E.g.

Code:

mencoder input.mkv -ovc lavc -lavcopts vcodec=mpeg4 -oac mp3lame -o output.avi

littlejoe5 03-02-2015 09:32 AM

Thanks everyone, for your help. I've got a lot of learning to do about all of this, but your answers have set me on a good course, and I managed to get the immediate job done, (and took notes so I can do it again). So I'm going to mark the thread "solved".

mount.nfs 04-10-2022 10:09 AM

http://archive.debian.org/debian/poo...eb7u1_i386.deb

http://archive.debian.org/debian/pool/main/m/mplayer/

teckk 04-10-2022 10:14 AM

@mount.nfs
In my opionion, mencoder had been broken, or doesn't work well for 10-12 years. ffmpeg is a much better choice.


All times are GMT -5. The time now is 03:40 AM.