PROBABLY SOLVED Re: [MEncoder-users] mencoder + mplex problem

Nico Sabbi nsabbi at email.it
Fri Feb 17 11:44:51 CET 2006


Tomáš Bažant wrote:
> thank you for your advice, it helped me. But what if I have avi with 
> ac3 track and do not want to recode it but just mux it? the mencoder 
> manual recommends using -oac copy but even if it looks logic and is 
> fairly well playable in mencoder, no hw dvd player will actually play 
> the resulting DVD authored by dvdauthor - and it is not dvdauthor 
> mistake.....
>
> i discovered the following procedure which will probably work for me:
>
> # join AVIs (if they are more than one)
> nice -n +5 mencoder -of avi -oac copy -ovc copy -o serenity.avi 
> serenity.cd1.avi serenity.cd2.avi
>
> # extract audio track from the result
> nice -n +5 mplayer -dumpaudio -dumpfile serenity.ac3 serenity.avi
>
> # do the video encoding itself
> nice -n +10 \
> mencoder serenity.avi \
> -of mpeg \
> -mpegopts format=dvd \
> -ofps 24000/1001 \
> -vf scale=720:-10,expand=720:576,harddup \
> -nosound \
> -ovc lavc \
> -lavcopts 
> vcodec=mpeg2video:keyint=15:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=6500:aspect=4/3:dc=10:nr=300 
> \
> -o serenity.tmp.m2v
>
> # extract raw mpeg2 video stream from the result
> nice -n +5 mplayer -dumpvideo -dumpfile serenity.m2v serenity.tmp.m2v
>
> # mux the video together with the audio
> nice -n +5 mplex -f 8 -o serenity.nosub.mpeg serenity.tmp.m2v 
> serenity.ac3

why don't you simply use
mencoder serenity.avi \
-of mpeg \
-mpegopts format=dvd \
-oac copy \
-ofps 24000/1001 \
-vf scale=720:-10,expand=720:576,harddup \
-ovc lavc \
-lavcopts 
vcodec=mpeg2video:keyint=15:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=6500:aspect=4/3:dc=10:nr=300 
\
-o file.dvd

I know that there are sync and buffering problems when using telecined 
content, but so far no one ever reported
that the ac3 audio track couldn't even be identified/read
 
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Solo 10 Euro per chiamare in tutto il mondo!! Scopri il vantaggio di Email Phone Card,        clicca subito
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=2685&d=17-2




More information about the MEncoder-users mailing list