Mug Funky
23rd January 2006, 07:27
okay, it's probably a vague sort of question, but i've run against some possibly odd behaviour with avisynth.
basically, with a really fast script (like a straight IVTC and resize on a suped-up machine), i seem to not be able to encode at anything above the actual playback rate of the script.
for example, in virtualdub(mod), you can load a script and set "fast recompress" or "full processing", and when you hit "preview VBR", it will average exactly 25 fps. when you set "direct stream copy" and do the same, you'll get 70-90 fps.
it may well be that there's just extra processing going on somewhere that by coincidence slows it down to 25fps for PAL scripts and 30fps for NTSC scripts by pure chance, but that doesn't really seem likely.
the same happens in HC sometimes. if i were to encode a blankclip() in HC it will go extremely fast (40-50 fps), but if i encode an mpeg2source with no processing it'll stick to the framerate of the mpeg source.
i've not been able to track it down to anything, so i wondered if any devs would know what causes this apparent speed limit.
i guess it's something that hitherto hasn't really been noticed as most scripts (the vast majority) have enough processing going on that there's no possibility of reaching realtime. i've only noticed this as i encode a lot of high bitrate stuff that doesn't really require much processing, and i've also been optimising the balls off my core scripts (like customised deblocking, and several different methods of converting NTSC to PAL and vice-versa) to the point where they're running above realtime.
so yeah... any ideas? :)
basically, with a really fast script (like a straight IVTC and resize on a suped-up machine), i seem to not be able to encode at anything above the actual playback rate of the script.
for example, in virtualdub(mod), you can load a script and set "fast recompress" or "full processing", and when you hit "preview VBR", it will average exactly 25 fps. when you set "direct stream copy" and do the same, you'll get 70-90 fps.
it may well be that there's just extra processing going on somewhere that by coincidence slows it down to 25fps for PAL scripts and 30fps for NTSC scripts by pure chance, but that doesn't really seem likely.
the same happens in HC sometimes. if i were to encode a blankclip() in HC it will go extremely fast (40-50 fps), but if i encode an mpeg2source with no processing it'll stick to the framerate of the mpeg source.
i've not been able to track it down to anything, so i wondered if any devs would know what causes this apparent speed limit.
i guess it's something that hitherto hasn't really been noticed as most scripts (the vast majority) have enough processing going on that there's no possibility of reaching realtime. i've only noticed this as i encode a lot of high bitrate stuff that doesn't really require much processing, and i've also been optimising the balls off my core scripts (like customised deblocking, and several different methods of converting NTSC to PAL and vice-versa) to the point where they're running above realtime.
so yeah... any ideas? :)