Page 1 of 1

From widescreen to fullscreen

Posted: 09 Dec 2005 17:22
by LTParis
I have a video that my sister made (avi/divx) that was set to widescreen at 640x272. I want to transcode the file into a mpeg2 video that I can stream to my TiVo and convert it to fullscreen 730x480.

Is there a parameter that I can set in VLC (0.7.2 or 0.8.4) that will adjust the video not only into fullscreen (it does that now) but add bars to keep the aspect ratio correct?

Posted: 12 Dec 2005 22:08
by urig
I wrote a patch thats supposed to do exactly that for me, re-scale and padd any stream to PAL 720x576 format, using the --sout interface. You can get it here:

http://urichter.cjb.net/vdr/?h=vlc-croppadd&l=en

Cheers,

Udo

Posted: 13 Dec 2005 00:59
by LTParis
How do you apply this diff patch? I see in your instructions you note:

## apply as patch -p1 < croppadd-2-vlc-0.8.4.diff

How do you apply the patch? Command line?

Posted: 13 Dec 2005 04:35
by urig
Assuming you've set up a build environment and have the needed unix/cygwin tools installed, the usual build steps look like this:

tar xjf vlc-0.8.4.tar.bz2
cd vlc-0.8.4
patch -p1 < ../croppadd-2-vlc-0.8.4.diff

... and now continue as the source code build instructions suggest, eg. call bootstrap, configure and make.

Cheers,

Udo

Posted: 13 Dec 2005 05:03
by LTParis
You should push out your own distro. :)