[MEncoder-users] How to replace audio track in mpg file (3, 4 Gb) by mp3 fies?

L Lee llee040 at sbcglobal.net
Fri Jun 5 17:34:50 CEST 2009


On 6/4/09 3:26 PM, "rulet1 at meta.ua" <rulet1 at meta.ua> wrote:

> Well, it is very iformative:)) I am not a professional in video editing, can
you write some commands to do that?


Simplest I had time to test and can contribute:

mencoder /path/to/infile.mpg -ovc lavc -lavcopts
vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=6000:vqmin=1:k
eyint=15:vstrict=0:aspect=4/3 -audiofile /path/to/audiofile.mp3 -oac lavc
-lavcopts acodec=mp2:abitrate=256 -of mpeg -mpegopts format=dvd -o
/path/to/outfile.mpg

Laine Lee




More information about the MEncoder-users mailing list