Mencoder tips

By nowak, 29 April, 2023

Videokonvertering

Samling af videofiler: mencoder -oac copy -ovc copy *.avi -forceidx -o output.avi

Fra grn.dk

mkvtoavi-badq: mencoder input.mkv -ffourcc divx -ovc lavc -lavcopts vcodec=mpeg4:vhq:vbitrate=800 -oac copy -slang eng -sws 2 -vf scale=384:-3 -o output.avi
better quality: mencoder input.mkv -ffourcc divx -ovc lavc -lavcopts vcodec=mpeg4:vhq:vbitrate=2048 -oac copy -slang eng -sws 2 -vf scale=800:-3 -o output.avi
scale width could be changed to something higher

Rotate clockwise (High Q): mencoder -vf rotate=2 -o out.avi -oac copy -ovc lavc -lavcopts vcodec=mpeg4:vhq:vbitrate=8048 input.avi

Test other output fps (ofps): mencoder -o test.avi -ofps 30 -oac copy -ovc lavc -lavcopts vcodec=mpeg4:vhq:vbitrate=4048 -endpos 10 input.avi

Comments