From widescreen to fullscreen

About encoding, codec settings, muxers and filter usage
LTParis
New Cone
New Cone
Posts: 3
Joined: 09 Dec 2005 17:18

From widescreen to fullscreen

Postby LTParis » 09 Dec 2005 17:22

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?

urig
New Cone
New Cone
Posts: 9
Joined: 21 Aug 2004 19:12

Postby urig » 12 Dec 2005 22:08

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

LTParis
New Cone
New Cone
Posts: 3
Joined: 09 Dec 2005 17:18

Postby LTParis » 13 Dec 2005 00:59

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?

urig
New Cone
New Cone
Posts: 9
Joined: 21 Aug 2004 19:12

Postby urig » 13 Dec 2005 04:35

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

LTParis
New Cone
New Cone
Posts: 3
Joined: 09 Dec 2005 17:18

Postby LTParis » 13 Dec 2005 05:03

You should push out your own distro. :)


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 28 guests