cirquit / trdrop

trdrop - a raw video analysis program
MIT License
381 stars 33 forks source link

N64 switch gameplay measures as 1fps #135

Open BuyMyMojo opened 2 years ago

BuyMyMojo commented 2 years ago

I wanted to measure the fps of Majora's mask played with the switch's N64 emulator but gameplay is measured at a constanct 1fps for some reason, cutscenes are measured at the correct 20fps which I think is because of the noise filter they put over the cutscenes but actual gameplay measurements are unusable. The video is a lossless HEVC video recorded using OBS' StreamFX plugin and NVENC encoder directly from my AverMedia Live Gamer 4K.

Video

I was able to measure it just fine with a pretty jank python method, using OpenCV to basically create a difference map and counting each frame that has any pixels that aren't pure black. No idea if this method is useful to you but I thought I'd share either way.

Code

BuyMyMojo commented 2 years ago

Added link to the video! fair warning though it's 40GB

ImplyingKinpatsu commented 2 years ago

image It works on my machine at 0 pixel difference. Did you ignore tearing analysis and set the dismissed tear percentage to 100%?