how to crop black bars in movies on the fly?

Horst Schlonz horst.schlonz at gmx.de
Tue Apr 12 13:00:54 UTC 2005


Am Dienstag, den 12.04.2005, 07:31 -0400 schrieb Michael R Head:
> On Tue, 2005-04-12 at 13:05 +0200, Horst Schlonz wrote: 
> > some movie files have black bars encoded in. this sucks.
> > 
> > i know the mplayer video-filters "cropdetect" and "crop" but they are
> > not user friendly. is there an ubuntu-way to crop the black bars on the
> > fly, so movies are played nice on non standard display aspect ratios?
> 
> I use totem to view my video files. When a video's aspect ratio isn't
> detected properly, I keep pressing 'a' until it looks right. Perhaps
> this will help you, too.
> 
no, that's not what i meant.

look, my display has a 16:10 aspect ratio but movies are often encoded
for 4:3, hence the black bars. those movies are scaled to fullscreen
keeping the correct aspect ratio but the consequence are black bars not
only above and beneath but also left and right of the movie. pressing
'a' in totem removes the bars left and right but then the movie is
squeezed like scholle.

cropping the bars away solves the problem and i'm looking for an easy
way to do this.





More information about the ubuntu-users mailing list