Hi there.
I recently got a video from the internet in MKV format. I like it, and am in the process of converting it in a format that my DivX Player likes. I use XVID of course, since I have more control of what is going on in the encodes.
The video is 720 x 480 in terms of frame size. However, it's 16:9 widescreen, and has DAR flags to keep it the right way. I heard that DAR flags aren't respected in all players, so I figured I might as well resize the video so the frame size is right for the aspect ratio.
My question: what are standard frame sizes for XVID? I want compatibility for my DivX Player, the Phillips DVP3960.
Thanks for anyone who tries to help.
+ Reply to Thread
Results 1 to 16 of 16
-
-
No, there are no "standard" frame sizes in Xvid. But you should stick with mod16 (integer multiples of 16) whenever possible. Or at least Mod8. Most Divx/DVD players will not play Divx/Xvid files over 720 pixels wide or 576 pixels tall. So stick with sizes below that.
Last edited by jagabo; 14th Apr 2010 at 19:12.
-
Would my player struggle with sizes near 720 pixels? I think I have played something with a width of about 680 pixels and it worked fine; I am just afraid my player would struggle with the higher sizes.
Also, since there is no standard, are there any funny frame sizes that just don't work? By your language, it sounds like there aren't, by who knows.
Also, is "LanczosResize" a good resizing command? I saw it pop up a couple of times over here. -
I'm pretty sure the Philips 3960 can handle 720x480 and 720x576 frames as long as the bitrate doesn't get too high.
Regarding "odd" frame sizes: do not use mod1 (odd numbers like 1,3,5...) or mod2. Many players will choke on them. Mod4 is usually ok but mod8 and mod16 are more efficient. So avoid sizes like 641, 642 and 643. 644 (mod4) is usually OK but 640, 648 and 656 are better.
AviSynth's LancsozResize() and BicubicResize() are both sharpening filters and give pretty similar results. But along with the sharpening comes added noise (which makes the video harder to compress) and halos on very sharp edges. BilinearResize() is a softening filter. It will give slightly blurrier results. But noise will be reduced and you don't get halos. My general rule is: very sharp or noisy sources get BilinearResize(). Others get LanczosResize() or BicubicResize(). -
Just crunched the numbers:
So would 720 x 400 be a good resolution for 16:9 video? -
If your movie is ...
Aspect Ratio - Resolution
2.35:1 - 720×306
1.85:1 - 720×390
1.78:1 (16:9) - 720×404
1.33:1 (4:3) - 640×480 -
-
Using ASPECT CALCULATOR 2.1 I got the follow "approximate" resolutions (with the indicated error from "perfect" when using mod 16 sizes)
2.35 = 640 x 272 (-0.13%) 720 x 304 (-0.78%)
1.85 = 624 x 336 (-0.39%) 704 x 384 (+0.90%)
1.78 = 624 x 352 (+0.28%) 688 x 384 (-0.78%)
1.33 = 640 x 480 (0% perfect) 704 x 528 (0%) -
-
Thanks jagabo. However, doesn't bigger frames give off better quality in the end with the same amount of bitrate compared to a smaller frame? That's what I heard. Is my frame size a bit excessive then? I have a big 50in widescreen TV, and am just wondering. I am just confused.
Thanks for your help so far. -
Not exactly. If your bitrate is too low and your frame too big, you'll end up with a crappier looking picture than if you used the same bitrate but a smaller frame. On the other hand, if your bitrate is too high and your frame size is too small, then you'll get a crappier picture than if you used the same bitrate but with a bigger frame.
That's what I heard. Is my frame size a bit excessive then? I have a big 50in widescreen TV, and am just wondering. I am just confused.Last edited by creamyhorror; 15th Apr 2010 at 11:15.
-
So there are no advantages for having bigger frames? I thought there were. From what you guys say, it's a balance between bitrate and frame size. If one is too high, it either destroys the quality of the video.
I always do that. I am not too concerned about bitrates, I always use Quantinizer values because I care a bit more about quality and am lazy in terms of guessing bitrates. -
It's a tradeoff between resolution and bitrate. The smaller the frame the less bitrate it will require to keep from breaking up into macroblock artifacts. But when you enlarge that small frame to full screen size it will look fuzzy. So people who are looking primarily for small file sizes (low bitrates) will decrease the frame size. People who are looking primarily for image quality will use large frame sizes and let the file size (bitrate) fall where it may.
-
Special thanks to jagabo for staying with me throughout this and helping me along the way.
And thanks to everybody else who contributed and helped me.
Similar Threads
-
--
By MGadAllah in forum EditingReplies: 3Last Post: 24th Sep 2011, 23:48 -
convert .mkv with non-standard frame rate
By Conrad007 in forum Video ConversionReplies: 2Last Post: 20th Jan 2011, 11:50 -
Do I need to change AVI frame sizes before convertx to DVD
By johnharlin in forum Newbie / General discussionsReplies: 6Last Post: 18th Nov 2008, 19:58 -
Non-Standard Frame Rates, Demuxed Audio and FFMpeg
By Maikeru-sama in forum Video ConversionReplies: 1Last Post: 12th Jan 2008, 11:24 -
HDTV to standard XviD
By php111 in forum Video ConversionReplies: 13Last Post: 2nd Jan 2008, 01:16