[MPlayer-dev-eng] [PATCH] Pan&Scan for Xvideo (again :)

D Richard Felker III dalias at aerifal.cx
Tue Jun 4 12:25:08 CEST 2002


On Tue, Jun 04, 2002 at 12:03:33PM +0200, Arpi wrote:
> Hi,
> 
> > the vertical "crop" setup may be set on the commandline,
> > regarding the constant cinemascope type .. 16:9 ..
> > 
> > then .. it would be funny to record the result, 
> > or just the panscan interaction,
> > while "editing" the scan regions ;-)
> 
> i had better idea yesterday:
> do a 2-pass playback. at pass 1, use a special filter which
> detects action and calculates the ideal panning value (which
> part of the 16:9 picture should be cropped down) and write
> it to a file.  at the 2nd pass, do some bspline/bezier
> smoothing of the panning values and use it for the playback
> 
> action detection could be done on dct & mc based.
> if the MV of neightbour macroblocks differs a lot
> (if all MV are similar, then it's just camera panning),
> or the dct coeffs are high, then there is something happening.

Haha, is this a joke or for real? Do the codecs export necessary
information?

Rich




More information about the MPlayer-dev-eng mailing list