I am trying to encode videos via mencoder from ts format to avi and create a DVD from them. Technically, his is OK, but the videos show on the TV screen with black bar at top + bottom and the picture is squeezed in height. How can I change this ? My current command is mencoder -ofps 25 -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=9800:keyint=15:vstrict=0:acodec=ac3:abitrate=192:aspect=16/9 -ofps 25 -o <output file <input file> The original's width and height is 720 + 576 - my TV screen in a widescreen. Malte ____________________________________________________________ Text: GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT! Jetzt freischalten unter http://movieflat.web.de
hello, you can try to use the "crop" keyword. First you play with mplayer -vf cropdetect With this option it will give you the correct arguments to crop. And after you add it to to your mencoder command mencoder -ofps 25 -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd:tsaf -vf crop=<what mplayer give you>,scale=720:576,harddup -srate 48000 -af lavcresample=48000 -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=9800:keyint=15:vstrict=0:acodec=ac3:abitrate=192:aspect=16/9 -ofps 25 -o <output file <input file> 2009/6/5 Malte Schünemann <malte.schuenemann@web.de>:
I am trying to encode videos via mencoder from ts format to avi and create a DVD from them. Technically, his is OK, but the videos show on the TV screen with black bar at top + bottom and the picture is squeezed in height.
How can I change this ?
My current command is
mencoder -ofps 25 -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=9800:keyint=15:vstrict=0:acodec=ac3:abitrate=192:aspect=16/9 -ofps 25 -o <output file <input file>
The original's width and height is 720 + 576 - my TV screen in a widescreen.
Malte ____________________________________________________________ Text: GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT! Jetzt freischalten unter http://movieflat.web.de
_______________________________________________ MEncoder-users mailing list MEncoder-users@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
-- ------------------------------------------------------------------- Subete ga wakatta toki…watashi ga anta wo korosu.
Malte Schünemann wrote:
I am trying to encode videos via mencoder from ts format to avi and create a DVD from them. Technically, his is OK, but the videos show on the TV screen with black bar at top + bottom and the picture is squeezed in height.
How can I change this ?
My current command is
mencoder -ofps 25 -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=9800:keyint=15:vstrict=0:acodec=ac3:abitrate=192:aspect=16/9 -ofps 25 -o <output file <input file>
The original's width and height is 720 + 576 4:3 or 16:9, if you play with mplayer from commandline do you see something like:
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect. VO: [xv] 704x576 => 1024x576 Planar YV12 if yes, you don't have to scale, and the aspect can/will be read from the sourcefile, it is already in the right format. - my TV screen in a widescreen.
Malte ____________________________________________________________ Text: GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT! Jetzt freischalten unter http://movieflat.web.de
------------------------------------------------------------------------
_______________________________________________ MEncoder-users mailing list MEncoder-users@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
participants (3)
-
belcampo -
briaeros007 -
Malte Schünemann