Asd-g / MPEG2DecPlus

Modified for Japanese. original: http://rationalqm.us/dgmpgdec/dgmpgdec.html
GNU General Public License v2.0
23 stars 1 forks source link

D2VSource runs faster in single threaded mode #11

Closed DonCanjas closed 2 years ago

DonCanjas commented 2 years ago

I did an FPS analysis with and without Prefetch() only to spot a huge difference in performance. I have an 6 core cpu. My script:

D2VSource("H:\Coisas\Anime\Raw\Monster\Demux\monster-001_Video01.ENG.d2v")
#Prefetch(6)

No Prefetch() -> Prefetch(6)

Asd-g commented 2 years ago

Source filters are always MTSERIALIZED (do not use prefetch() for them). There is info [here](http://avisynth.nl/index.php/AviSynth%2B#Multithreading.28MT.29_Notes).