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

Arpi arpi at thot.banki.hu
Tue Jun 4 12:03:33 CEST 2002


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.


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu



More information about the MPlayer-dev-eng mailing list