[MPlayer-users] [-vo null -nosound] and -dvd

Felix Buenemann atmosfear at users.sourceforge.net
Mon Apr 29 14:41:01 CEST 2002


On Monday 29 April 2002 13:25, Costas Gargerakis wrote:
> Btw, i use the '-vo null -nosound' options in a shellscript to 'detect'
> the video resolution from mplayer's
> messages, and recommend some good re-scale resolutions and crop values
> and i was wondering if there's
> a better way to detect the resolution of a dvd disc...
dvd uses fixed resolution, 720x576 for PAL, 720x480 for NTSC. Aspect is either 
4:3 or anamorphic 16:9, so in first case image must be scaled to height/3*4 
and in second case height/9*16. Cropping values differ from dvd, so they 
should be checked, as mpeg2 macroblocks are 8x8px,  it best to cut on 8pixel 
boundaries one macroblocksize into the image to get the cleanest source image 
for encoding (edges from black bars to image are "dirty" and don't compress 
well).
-- 
Best Regards,
        Atmos
____________________________________________
- MPlayer Developer - http://mplayerhq.hu/ -
____________________________________________




More information about the MPlayer-users mailing list