View Full Version : Max Framerate in Xvid?
LoXodonte
24th February 2006, 03:22
Is their a framerate limitation in xvid? Did I couple of quick renders and noticed that the video appeared to lag, then would speed up, or skip through segments to catch up, so it wasn't sinking with audio too good. Current FPS is 60.
Zarxrax
24th February 2006, 03:25
That is a limitation of your cpu. Xvid can use any framerate that the container supports.
Oline 61
24th February 2006, 03:34
What is the hardware configuration of your computer, what kind of video are you encoding, and what are the codec settings?
Sirber
24th February 2006, 04:05
decoding a 640x480 @ 60FPS on a AMD64 3000+ should use about 10% cpu. Maybe your machine is too old...
Zarxrax
24th February 2006, 04:17
decoding a 640x480 @ 60FPS on a AMD64 3000+ should use about 10% cpu. Maybe your machine is too old...
Depends highly on the video content and bitrate. I have a 60fps 640x480 xvid that stutters on my P4 2.26ghz. If I use VLC Player it can just BARELY get by without skips.
I've created a video myself that fared off far worse than that, even.
LoXodonte
24th February 2006, 04:26
p4 3.06ht 533fsb 1 gig ram.
CPU usage went as high as 43, but generally stayed around the 30's. Resolution is 856x480. Haven't rebooted for a couple days wonder if that matters. :o
foxyshadis
24th February 2006, 04:36
mkv is a great patch for skippy video, it'll resync the audio whenever video decoding can catch up. (I used to have to use ogm on my k6-2 to watch dvd-rips, it was... an interesting experience.)
As for curing it, most likely it's an overlay issue. If using ffdshow, make sure it's writing directly to the overlay if possible, and that your player is set to overlay mode (uses less cpu than vmr 7/9 rendered/renderless). And since it's single threaded, you're really using at least 86% percent at max.
LoXodonte
24th February 2006, 07:13
well, I think I'm just going to bump down to 30 fps as I'll want this video to play nice for just about everybody. I would however like to maintain the illusion of smoothness by blending frames together, but I'm not sure how to do this in VirtualDub. I figured their be an option in the framerate box but I didnt' see it. I got 30 fps now but instead of blending I think it just dropped the excess frames.
foxyshadis
24th February 2006, 08:16
Scharfi's has this great avisynth script called mvfps, though it might need upgrading (I botched my last attempt), since it's been partially integrated into mvtools as mvblur. It's significantly better looking than merely blending two frames together. And significantly slower to process, sadly.
I don't know sylia at all, but there might be a vd filter, or make an avisynth script consisting of the source, and "convertfps(framerate/2)", which will blend them into half-framerate.
LoXodonte
24th February 2006, 17:58
Somebody suggested using deinterlace blend, which in theory would work if you could trick vd into thinking that 2 seperate images where 2 fields, but I gave it a shot and it didn't appear to make any difference.
Sirber
24th February 2006, 18:09
p4 3.06ht 533fsb 1 gig ram.
CPU usage went as high as 43, but generally stayed around the 30's. Resolution is 856x480. Haven't rebooted for a couple days wonder if that matters. :oDisable HT?
LoXodonte
24th February 2006, 19:17
the video has to play great on everybodies pc. Right now I'm just trying to find a way to merge 2 frames in vd.
foxyshadis
24th February 2006, 21:26
You can try a max. strength temporal smoothing followed by halving the framerate; you can't tell it where to change the framerate so I don't know if it's before or after filtering. Really, this is avisynth or sylia area and you won't get much luck with plain vdub and filters.
LoXodonte
25th February 2006, 00:18
well, I'm very new to using avisynth. Basically, the only time I use it is for some deinterlacing processes. Seems like I created a text file and just put some command in their. Don't suppose you'd know an easy way of explaining frame merging for avisynth.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.