[MPlayer-users] "uncrop" for VCD

Nico Sabbi nsabbi at tiscali.it
Wed Jul 28 23:29:01 CEST 2004


Il mer, 2004-07-28 alle 22:38, Hans du Plooy ha scritto:
> On Wednesday 28 July 2004 14:41, Nico Sabbi wrote:
> > expand works both with mplayer and mencoder.
> > The filter chain is:
> > -vf scale=352:-2,expand=352:288
> > it's not 100% accurate because you should consider the 384x288 size
> > implied by the 4/3 A/R setting, but it's close enough.
> 
> Thanks!  Somehow I missed the other thread.  I'll definitely give this a try.  
> I guess if the expand isn't entirely accurate, as long as both x and y are at 
> least big enough, I can crop the rest off.
> 
> Thanks for your reply!
> Hans


expand is accurate, the scaling method I wrote is not:
when played VCD are scaled to 384:288 because of the A/R, so
to make things perfect you should do so:

mplayer -vf scale=384:-2 dvd://
and take notice of the reported y value, then round it to the closest
multiple of 16 (say y'), then

mencoder dvd:// -vf scale=352:y',expand=352:288 ...

	Nico




More information about the MPlayer-users mailing list