Log in

View Full Version : vertically stretched image


Huj Bulyzhnikov
27th July 2005, 13:39
hello

since my last problem was solved so quickly, i dare to ask another question.

i have an .avi file(divx) that was encoded with the wrong aspect ratio, as it seems. the picture is vertically stretched. i'd like to reencode it into mpeg2 using DVD2SVCD and put it on a dvd. can i somehow get rid of the stretching(something like the free image height changing in sofware players as ZOOMPLAYER or MediaPlayerClassic)?
or is it possible to add black borders without reencoding?
i've tried MPEG4Modifier and different aspect ratios in the conversion field of DVD2SVCD, no change.
is there anything i could do?

many thanks

Manngo
28th July 2005, 13:07
Hello

You may use avisyth resize command, such as Lanczosresize.
1) get the resolution of your .avi video. For example 640*500
2) open notepad and create a text file:

DirectShowSource(path & file(.avi))
LanczosResize(640, 480)

3) save the file as .avs, instead of .txt

You can open this file with Media player and see the results. Changing the parameter in bold the vertical resolution will also change. I would use my eyes and iteration. :-)

Hope you manage :-)

Huj Bulyzhnikov
31st July 2005, 16:37
OK, solved...

video was anamorphic, so you don't have to change resolution on a 16:9 TV and there was a blue line on the right side of the picture, i needed some squeezing and cropping...

1.loaded original.avi in "gordianknot", got the right resolution from the .avs file
2.opened original.avi in "vdubmod", got the cropping values
3.made custom.avs file with the new settings(first crop than resize)
4.used "makeAVIS" from the "ffdshow" package to make a fake.avi(size about 1,5% of original.avi)
5.loaded fake.avi in "dvd2svcd", error message: audio not supported...
6.opened original.avi in "vdubmod", demuxed the audio
7.opened fake.avi in "vdubmod", disabled audio stream, added demuxed audio from original.avi, saved as fake2.avi(filesize = fake.avi + audio from original.avi)
8.loaded fake2.avi in "dvd2svcd"......WORKS

THX Manngo for the avisynth idea, don't know hack about video, need to learn much...

P.S.: does anybody know an easier way? mine takes some time...