[MPlayer-users] Re: problem encoding a compliant DVD from an XviD source movie

Prabu(A.G.Oliveira) mahaprabr at yahoo.com.br
Mon Apr 16 04:11:55 CEST 2007


John Brown wrote:

>I normally perform my calculations as follows ......
>
>(...) In short I would use the following options:
>
>-vf crop=592:336,scale=672:336,expand=720:480,harddup -lavcopts
>vcodec=mpeg2video:...:aspect=4/3:...
>
----------------------------------
Giacomo Comes wrote:

>In the TOOLS directory of the MPlayer source there is a script
>called encode2mpeglight. Make the mpeg with it and it will be watchable 
>on your dvd player.
>
>Use a the command line like:
>
>encode2mpeglight -o <your name> <your source> -n n -dvd -encode 6:3:2 -mpegfixaspect 
>and you are done.


Hi everybody!!  thanks a lot for your attention!!

specially you guys -->    John and  Giacomo.

I have spent this Sunday studding both of your suggestions to solve my 
problem:

I've found the Giacomo's script, a very good tool and I'll keep it, but 
even so,
I still could not achieve the aimed result!
I'm certain that it must have created a compliant DVD otherwise it would 
not play,
 but I still had an image on TV displayed beyond the screen dimensions. 
Too big!
loosing information on top, right, bottom, and left sides, being impossible
to see  the subtitles. (!? Mistery!! do I blame the DVD player or the 
TV-set ?!)


So the best result I was able to get with John's advice.
( Thanks!!! finally, an acceptable encoding )

After several tests, here is the command line that I found the best to
encode the "Lost.avi" to play on TV without loosing information:

mencoder -oac lavc -ovc lavc -of mpeg \
-mpegopts format=dvd:tsaf:telecine \
-vf crop=608:336,scale=656:-10,expand=720:480::46,harddup \
-srate 48000 -af lavcresample=48000 \
-lavcopts acodec=ac3:abitrate=192:\
vcodec=mpeg2video:vrc_buf_size=1835:\
vrc_maxrate=7500:vbitrate=2400:keyint=18:aspect=4/3:\
vstrict=0 -ofps 24000/1001 -subfps 24000/1001 \
-sub lost.srt -subfont-text-scale 2.5 -subpos 94 -o lost.mpg lost.avi;

as you can see the solution was to expand black bands all around the scene.

(I changed the offset of the expanded image to get a better area for the
 subtitles and also changed the offset of subtitle with "-subpos 94",
 but it's not really necessary, the film played ok without these options)

 ;^]   bye!   -- dvdauuuuthoooor!!!  here I go!!!

















More information about the MPlayer-users mailing list