Autore: Fabio Di Matteo
Ultima revisione: 28/09/2007
Considerando come file di input il file movie.avi
e come file di output il file movie.mpg.
Ulteriori info
mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd:tsaf \ -vf scale=720:576,harddup -srate 48000 -af lavcresample=48000 \ -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:\ keyint=15:vstrict=0:acodec=ac3:abitrate=192:aspect=4/3 -ofps 25 \ -o movie.mpg movie.avi
Per ottenere la struttura del DVD abbiamo bisogno di Dvdauthor . Creiamo un file di nome schemadvd.xml e scriviamoci dentro quanto segue:
<dvdauthor dest="dvd/" > <vmgm/> <titleset> <titles> <video format="pal" aspect="4:3" resolution="720x576" /> <audio lang="en" /> <pgc pause="0" > <vob file="movie.vob" pause="0" /> <post> { g2 = 0; call vmgm menu entry title; } </post> </pgc> </titles> </titleset> </dvdauthor>
Dove nella prima riga specifichiamo la directory di destinazione e nella seconda specifichiamo l'indirizzo del file video già codificato per il DVD-VIDEO.
dopodiche lanciamo :
dvdauthor -x schemadvd.xml
<dvdauthor dest="dvd/" > <vmgm/> <titleset> <titles> <video format="pal" aspect="4:3" resolution="720x576" /> <audio lang="en" /> <pgc pause="0" > <vob file="movie1.mpg" pause="0" /> <vob file="movie2.mpg" pause="0" /> <vob file="movie3.mpg" pause="0" /> <vob file="movie4.mpg" pause="0" /> <post> { g2 = 0; call vmgm menu entry title; } </post> </pgc> </titles> </titleset> </dvdauthor>
dopodiche lanciamo :
dvdauthor -x schemadvd.xml
mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd:tsaf \ -vf scale=720:480,harddup -srate 48000 -af lavcresample=48000 \ -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:\ keyint=18:vstrict=0:acodec=ac3:abitrate=192:aspect=16/9 -ofps 30000/1001 \ -o movie.mpg movie.avi
mencoder -oac copy -ovc lavc -of mpeg -mpegopts format=dvd:tsaf \ -vf scale=720:576,harddup -ofps 25 \ -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:\ keyint=15:vstrict=0:aspect=16/9 -o movie.mpg movie.avi
mencoder -oac copy -ovc lavc -of mpeg -mpegopts format=dvd:tsaf:telecine \ -vf scale=720:480,harddup -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:\ vrc_maxrate=9800:vbitrate=5000:keyint=15:vstrict=0:aspect=16/9 -ofps 24000/1001 \ -o movie.mpg movie.avi
mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=xsvcd -vf \ scale=480:576,harddup -srate 44100 -af lavcresample=44100 -lavcopts \ vcodec=mpeg2video:mbd=2:keyint=15:vrc_buf_size=917:vrc_minrate=600:\ vbitrate=2500:vrc_maxrate=2500:acodec=mp2:abitrate=224 -ofps 25 \ -o movie.mpg movie.avi
mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=xsvcd -vf \ scale=480:480,harddup -srate 44100 -af lavcresample=44100 -lavcopts \ vcodec=mpeg2video:mbd=2:keyint=18:vrc_buf_size=917:vrc_minrate=600:\ vbitrate=2500:vrc_maxrate=2500:acodec=mp2:abitrate=224 -ofps 30000/1001 \ -o movie.mpg movie.avi
mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=xvcd -vf \ scale=352:288,harddup -srate 44100 -af lavcresample=44100 -lavcopts \ vcodec=mpeg1video:keyint=15:vrc_buf_size=327:vrc_minrate=1152:\ vbitrate=1152:vrc_maxrate=1152:acodec=mp2:abitrate=224 -ofps 25 \ -o movie.mpg movie.avi
mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=xvcd -vf \ scale=352:240,harddup -srate 44100 -af lavcresample=44100 -lavcopts \ vcodec=mpeg1video:keyint=18:vrc_buf_size=327:vrc_minrate=1152:\ vbitrate=1152:vrc_maxrate=1152:acodec=mp2:abitrate=224 -ofps 30000/1001 \ -o movie.mpg movie.avi
Il nostro wiki installa solamente cookie tecnici necessari al funzionamento della piattaforma "Dokuwiki". Niente analitics, statistiche, tracciamenti o altro.