PROBABLY SOLVED Re: [MEncoder-users] mencoder + mplex problem
Tomáš Bažant
tomas.bazant at rozhlas.cz
Fri Feb 17 10:29:40 CET 2006
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
PeterG Gardner wrote:
> Tomáš Bažant <tomas.bazant at rozhlas.cz> a dit :
>
>> hi
>>
>> need help: i try to create dvd compliant mpeg2 video
> stream from avi
>> using mencoder according to the mplayer/mencoder
> documentation.
>> everything goes fine till i try to use mplex to join
> extracted ac3 and
>> just created m2v: mplex simply does not recognise the m2v
> video stream
>> produced by mencoder!!! what's wrong?
>>
>> toba
>>
>> _______________________________________________
>> MEncoder-users mailing list
>> MEncoder-users at mplayerhq.hu
>> http://mplayerhq.hu/mailman/listinfo/mencoder-users
>>
> Hi,
>
> You don't give much detail about what you are doing.
> Maybe you can get some help from these notes I made:
> http://www.asdk90.dsl.pipex.com/tf1/tf1.html
>
> They are for making SVCD, but extracting and muxing video
> stream for DVD is fairly similar.
>
> I made these notes when I was learning mencoder, and
> originally using
> an older release, so I know that there are imperfections!
> But it does work.
>
> I now create DVD streams without using mplex, basically
> using the command from MPlayer notes:
> http://www.mplayerhq.hu/DOCS/HTML-single/en/MPlayer.html#menc-feat-vcd-dvd-all-pal-dvd
>
> i.e.
> mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd
> -vf scale=720:576,\
> harddup -srate 48000 -af lavcresample=48000 -lavcopts
> vcodec=mpeg2video:\
>
> vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=15:acodec=ac3:\
> abitrate=192:aspect=16/9 -ofps 25 \
> -o movie.mpg movie.avi
>
> although I usually need aspect=1.3333 and scale:352:288
>
>
>
> _______________________________________________________
>
> Toute la bourse en direct sur http://www.boursorama.com
>
> Boursorama en temps reel par telephone au 0892 69 24 24
>
> (0.337 E/mn)
>
> Le membre expéditeur est entičrement responsable du contenu du message
> qui vous est envoyé, de sorte que la responsabilité de BOURSORAMA -
> qui n'exerce pas de contrôle sur le contenu - ne peut en aucun cas
> ętre recherchée. Le présent message n'émane pas de Boursorama ou de
> l'un de ses collaborateurs ou salariés. En conséquence, il ne peut en
> aucun cas ętre considéré comme une communication provenant de
> BOURSORAMA.
>
>
>
>
>
>
> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mencoder-users
>
More information about the MEncoder-users
mailing list