how to crop black bars in movies on the fly?

ChamPro ulist at gs1.ubuntuforums.org
Tue Apr 12 17:29:16 UTC 2005


I have a similar problem, but want a different outcome.

Unless I use -xv x11 (software zooming), my videos don't scale
correctly (in fullscreen or windowed). Using -xv sdl or xv (hardware
zooming), gives me distorted videos almost all the time.

I tried changing the aspect ratio from 4:3 to 16:9 in the Mplayer
config to no effect. And I just tried a bunch of videos using -vf
cropdetect. The first two values in the cropdetect output are always
different, but the second two are always 8:8.

Examples:
crop area: X: 0..511  Y: 0..383  (-vf crop=496:368:8:8)%  4.4% 22 0
42%
crop area: X: 0..623  Y: 0..351  (-vf crop=608:336:8:8)%  4.4% 2 0 48%
crop area: X: 0..639  Y: 0..367  (-vf crop=624:352:8:8)% 11.7% 10 0
44%

I have a ATI 9200 Mobility card in a Dell Inspiron 8600.


-- 
ChamPro




More information about the ubuntu-users mailing list