View Full Version : High framerate & weird performance issues
[)370|\|470!2
17th April 2007, 10:31
After encoding some animes @119,88fps with x264, i found out that nothing except MPC is able to play these files correctly(jerky playback, vid/aud out-of-sync), while MPC manages to play these, though with huge cpu consumption(~70% on my E6600 on both cores). I tried as well .avi as .mp4 containers with same results. Any ideas?..
Dark Shikari
17th April 2007, 11:12
120 FPS -- I assume you're trying to deal with the classic "part of the video at 24 FPS, part of the video at 30 FPS" problem? I've seen that step recommended on various other support forums when transcoding video, but it seems that it might have very negative consequences for H.264 due to the overhead.
MetalPhreak
17th April 2007, 11:44
I would recommend you to encode as VFR instead of 119,88fps, I can't really imagine a situation where 119,88fps would be prefferable over VFR.
[)370|\|470!2
17th April 2007, 12:11
Ok, but source wmv9 with same fps plays flawlessly on all players... I'll try to encode with cli x264 later, there's an option to set exact fps iirc, to see what happens.
[)370|\|470!2
17th April 2007, 14:17
Hmm There's a problem playing back avisynth scripts, no idea why, perhaps it has something to do with video rendering on my system, since i have tft panel running @60 Hz. Maybe renderer tries to recalculate fps to sync it with desktop fps.
[UPDATE] Interesting enough, though both source and result
have same 119.88 fps, when playing them renderer claims 23.98 and 59.9 fps respectively. ...And after some research i came up to the fact, that switching to VMR9 fixes it - now it plays smoothly/insync and cpu being used at ~20% which i assume is almost normal for h264 playback. Quite strange, ain't it?
Kurth
17th April 2007, 16:32
You can use VariableFrameRate or change the FPS from 120 to 23.976 or 29.970.
Add to your avisynth script the command ChangeFPS(23.976) or ChangeFPS(29.970).
The part that play at 60 FPS will look worse with 23.976 but it is not really a problem to just have that part worse.
If the most parts of the video play at 23.976 I think it will be better to change the entire video to constant 23.976 FPS.
Parts with 60 FPS will run fine at 29.970 FPS and maybe you can change the entire FPS of the video to constant 29.970 but I dont know if the parts that run at 23.976 will stay fine.
check
17th April 2007, 16:39
This might be helpful: http://forums.animesuki.com/showthread.php?t=34738
[)370|\|470!2
17th April 2007, 16:52
You can use VariableFrameRate or change the FPS from 120 to 23.976 or 29.970.
As far as i can tell, the source plays at 24 fps, or at least that's what rendererer claims, while result though having virtually 119.88 fps(actually both source and result have exact same 119.88) shows in render props 60 fps. There's really no 23.976 nor 29.97 fps physically. And i personally see no reason using VFR unless absolutely necessary, which i doubt would ever be an issue :D
This might be helpful: http://forums.animesuki.com/showthread.php?t=34738 10x m8, gotta look into it asap xD
check
18th April 2007, 03:19
if the video is anime, it is almost certainly a null frame filled hybrid stream, where some sections are 29.97 and others are 23.976. If so, it's a bad idea to upsample the stream to true 120fps, as you will just be encoding a lot of duplicates for no reason (the original stream not being 120fps). Decimating the entire stream to cfr is also a bad idea, for obvious reasons.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.