Log in

View Full Version : Changing framesize in XviD AVI without reencoding


Skelsgard
27th May 2009, 20:15
Basically, what the title says.
I have a 848x352 rip that I need to change the frame size of to 720x304 without reencoding.
The source is massively noisy (I don't know why the dumbass in charge of deciding how DVDs are gonna be encoded chose this as it doesn't improve the perceptual quality of the film and seriously hampers compressibility), so I had to mvtools+seesaw the crap out of it to get a decent quality RIP cause simple degrain tools woulnd't cut it, and that process is out of the question (I don't wanna spend another 20 hs processing the video at 2 frames/second and using 80 Gb of space).
MKV would be a no-brainer choice but it's intended for playing in a SAP which only plays AVI DivX/XviD, so I'm stuck with AVI.

I've tried abcAVI Tag Editor and even messing with the header, players respond by showing a black frame of 720x304 but nothing else, and using Haali's media splitter is a no-go (Bsplayer always fails to load it, saying "Uknown format: XVID"), VirtualDub opens it as 720x304 but it's just a black screen all the way throu the video.
If I change the FOURCC to DivX, DirectShow will play it (ffdshow picks up the decoding) but it's shown as a 704x304 section of a 848x352 frame, simply anything past 704 or 352 is just not displayed.

is there a solution or am I just wasting my time?

Inspector.Gadget
27th May 2009, 21:07
You can change the pixel aspect ratio or display aspect ratio, but you can't change the number of pixels. MPEG4Modifier will do this, but your standalone probably will not support it. You need to re-encode to have something that will work.

setarip_old
27th May 2009, 21:22
@Skelsgard

Hi!The source is massively noisyWhat is the title and region number of your original DVD?

Skelsgard
27th May 2009, 22:10
@Inspector.Gadget

Yea, was afraid of that.
I guess I'm stuck with another 20 hs of processing plus hours of encoding to get the filesize right again.
My bad for not using SD resolution.

@setarip_old

It's Hitman Region 4 NTSC.

The last time I saw such a noisy source was with The Matrix (also Region 4), and it still wasn't as noisy as Hitman. Could be fixed with DegranMedian.
But for Hitman I tried RemoveGrain, DegrainMedian, Deen, which did a lot of cleaning but still was sub-optimal perceptual quality, and most likely I would have not been able to tell the difference between the noisy source and artifacts from poor encoding.

You know you've done something wrong when the noise is clearly visible on a common CRT TV, so guy-who-decides-how-to-encode-the-DVDs, go have sex with yourself :mad:.

Tanks for the answers anyway.