How to merge video files using MEncoder

I don't have transcode and I also don't want to install transcode on my laptop. Anyway, I have MPlayer and its brother, mencoder. It is good enough for merging video files into one long file.

It is very easy to merge video or sound files using mencoder. That is the default action of mencoder. Only thing you have to add is -ovc and -oac to specify output encoder.

mencoder -ovc lavc -oac lavc 001.avi 002.avi 003.avi -o output.avi

Tags: , ,

Response

Hi dear i had worked with the command u have provided it worked fine but when I tried to play it at any 3gp supporting mobile it is not working giving me the error unsupported file format so give me some suggestions if there is any thanks satyendra

to satyendra

mencoder doesn't output video in the 3gp compatible format so that's what your problem is satyendra. I've tried encoding to mpeg4 etc. but I haven't figured out the settings to get the video to work on your mobile. Maybe you could google for mencoder +3gp +mobile

Hello If you use the -oac /

Hello If you use the -oac / -ovc parameters, mencoder reencode the video to the format provided at the command line (here lavc codec pack). You can try to use -ovc copy , -oac copy . This will keep the format and don't reencode the video. (Faster and no quality loss). Greetings Burkhard

Post new comment