[MEncoder-users] Video size

briaeros007 briaeros007 at gmail.com
Fri Jun 5 14:50:25 CEST 2009


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 at 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 at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
>



-- 
-------------------------------------------------------------------
Subete ga wakatta toki…watashi ga anta wo korosu.


More information about the MEncoder-users mailing list