View Full Version : Help with resizing a video...
lnatan25
11th May 2006, 01:53
Hey guys! I'm in a need for some help...
I have this video, which is 640x256 (2.5:1) in size, but the correct size should be 640x272 (2.35:1). I'm looking for a way to resize the video, if possible without recompressing the video, and if impossible, how can I keep the new file's size the same as the old one?
Thanks in advance,
Leo
Manao
11th May 2006, 06:49
Resize it during playback, don't reencode it. You can also change the aspect ratio of the file ( that doesn't need reencoding ). But for us to say you which tools you should use, we need a little more information than "I have a video"...
lnatan25
11th May 2006, 12:40
Well, it's an AVI file encoded in XVID, and like I said, it's 640x256, which is the wrong aspect ratio. I can resize the video with Avisynth, but I don't know how to recompress/re-encode it to the same size as the source...
Perhaps it is possible to somehow extract the compression information from the source and apply it to the frames I get with Avisynth.
lnatan25
12th May 2006, 01:14
*bump*
Guest
12th May 2006, 04:29
*bump* Please do not bump threads. It is a rule 11 violation. Thank you.
raeltheimperialaerosolkid
12th May 2006, 08:16
Pretty simple. Just load the avisynth script you made in Virtualdub and recompress it with XviD or any other codec you like. Then you will have an .avi file at the desired resolution.
GodofaGap
12th May 2006, 09:00
Perhaps using mpeg4modifier and setting an custom PAR of 16:17 is the easiest and fastest solution. All you need to do then is using a decoder or player that supports PAR. (ffdshow, VLC, XviD, etc.).
Caroliano
12th May 2006, 21:57
I also think that re-seting PAR or muxing it in Matroska/Mp4 with an Aspect Ratio is the best way. Then you don't have to re-encode, so you don't lose quality nor time. The file size remains the same of course (maybe a little less if you mux in Matroska or Mp4).
lnatan25
13th May 2006, 01:17
Guys, how do I enforce this PAR? I tried the mpeg4modifier, and I set the AR to 2.35:1,which is the correct one, but I still get the squished 2.50:1 (the original 640x256). I'm using ffdshow.
Thanks for all the replys!
PS, neuron2, sorry for bumping, but jeez, look, it actually helped (with your post as another bump). I got some help...
lnatan25
> how do I enforce this PAR? I tried the mpeg4modifier, and I set the AR to 2.35:1,
IMHO you will get more "accurate" results when you will set PAR (pixel AR, left column of radio buttons) to 16:17 (i.e. 256:272) instead of setting display AR (right column).
> I still get the squished 2.50:1 (the original 640x256). I'm using ffdshow
Try to play a bit with different settings of "overlay mixer" checkbox ("output" tab) and/or with output colorspace. I hope these tricks will help you.
obieobieobie
16th May 2006, 02:16
The way I do this is using mkvmerge from MKVtoolnix and remux the a/v with the desired display resolution into a matroska container.
Or you can mux it into matroska first and then use matroska shell properties to change the display resolution there.
Plamen234
19th May 2006, 17:20
If you bet on re-encoding (not recommended), you can see what were the original coding settings again by mpeg4modifier - use the "video info" button.
Guest
19th May 2006, 17:41
PS, neuron2, sorry for bumping, but jeez, look, it actually helped (with your post as another bump). I got some help... Robbing a bank would help my financial situation as well. But that's not a justification for it. You can at least try to add some more information to make it not a naked bump. E.g.:
"Further to this problem, I've also tried xyz and it did not help. Any ideas?"
If everybody bumped their threads (withut even waiting a day!) we'd have a giant mess here.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.