[MPlayer-users] problem encoding a compliant DVD from an XviD source movie
Prabu(A.G.Oliveira)
mahaprabr at yahoo.com.br
Sun Apr 15 01:22:58 CEST 2007
Hi friends from Mplayer&Mencoder list!!!
I'm a beginner and I've been trying hard (without sucess) to encode some
movies to see on TV.
for example, one of my source movie is:
Lost_S03_E01.avi - VIDEO: [XVID] 608x336 24bpp 23.976 fps 1019.6
kbps (124.5 kbyte/s
And I would like to put it on a dvd (with subtitles) to watch on tv.
After having gone several times through the man pages an some others
docs on the net, I was confident thinking having understood:
- About pixel/display aspec ratio matters.
- About the meaning of 720x480 NTSC DVD requirements and why a
640x480 square pixel should be streched (scaled) to
720x480 in order to make a compliant DVD frame....
but sadly, my tests are telling me that I didnt!
The best result I could manage to have, I got with the following script:
( Plays beatifully on the computer but on tv I get a expanded screen my
subtitles go down out of view
and I loose image on top, bottom, left, and right, because the image
is displayed bigger than what it should be)
--------------------------------------------------------------------------------------------------------------------------------
#!/bin/sh
#fazdvd março,23 2007 - testes com dvds
if [ "$1" == '-h' ] || [ "$1" == '--help' ]; then
echo;
echo "--- Gravação do Lost em DVD --- ";
echo
echo "SINTAXE:";
echo
echo " fazdvd ARQ_AVI ARQ_SRT ARQ_MPG : Codifica o filme + legenda";
echo " gerando o arquivo saida.mpg";
echo
echo " fazdvd -h | --help : Exibe esta ajuda";
echo
exit 0;
else
ARQ_AVI="$1";
ARQ_SRT="$2";
ARQ_MPG="$3";
mencoder -oac lavc -ovc lavc -of mpeg \
-mpegopts format=dvd:tsaf:telecine \
-vf crop=592:336,expand=592:444:0:30,scale=720:480,harddup \
-srate 48000 -af lavcresample=48000 \
-lavcopts vcodec=mpeg2video:vrc_buf_size=1835:\
vrc_maxrate=9800:vbitrate=2400:keyint=18:\
vstrict=0:acodec=ac3:abitrate=192 \
-ofps 24000/1001 -subfps 24000/1001 \
-sub $ARQ_SRT -subfont-text-scale 2.5 -o $ARQ_MPG $ARQ_AVI;
fi
------------------------------------------------------------------------------------------------------------------------------------
also I have tryed many, many others -vf combinations like...
# -vf crop=608:336,scale=720:417,expand=720:480:0:5:1,harddup \
# -vf crop=608:336,scale=640:-10
# -vf crop=608:336,scale=720:-10
also I tryed several (3/4, 3:4 ..) aspect ratio arguments, with and
without telecine.. etc, etc....
and as I told above the best result gave me a too big image on TV. :-(
oh yes I must also say that Im using dvdauthor and k3b to write the
media on my debian sarge box.
$ dvdauthor -o /tesdir mymovie.mpg # I think this should be
enough, shouldn't it??
So please, would some one give a hand ?!
Ademilson G Oliveira
(from São Paulo - Brasil)
More information about the MPlayer-users
mailing list