cirquit / trdrop

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

Trdrops not recognising 30FPS games, counts more #75

Closed aj752 closed 3 years ago

aj752 commented 3 years ago

Hi there,

I'm using Trdrop to analyse Xbox Series X captures. The capture is done with a capture card and OBS. OBS capture is set to lossless. Whenever I analyse the footage trdrop counts too much for the 30 FPS games. For games of which I know run (almost) locked at 60 FPS the analysis seems accurate. The FPS counts goes all the way up to 50+, even with Red Dead Redemption 2 which is locked at 30FPS.

De delta rendering and tear analysis are disabled. I noticed I get almost the same results with encoder recording (HEVC) on high bitrate (200Mbit), just wanted to try to see the difference.

Any help or tips are welcome!

Thanks.

cirquit commented 3 years ago

Have you resolved the issue as you closed it? I would've proposed to check out the delta rendering and play around with the pixel difference setting

aj752 commented 3 years ago

Hi! Appreciate your message!

No I didn’t but the reason why I closed it is because I might have found the issue:

I’m using an Elgato 4K60 S+. This device has an hardware encoder onboard to record directly to SD and it looks like it doesn’t bypass the encoder even when connected to a pc - not sure.

I’ve ordered a new capture device which does 1080p uncompressed to test this theory. In the meantime if you wouldn’t mind explaining how I can check out the delta rendering and change pixel difference setting I would definitely give it a go!

Again thanks!

-Antonio

On 27 Jan 2021, at 09:13, cirquit notifications@github.com wrote:

 Have you resolved the issue as you closed it? I would've proposed to check out the delta rendering and play around with the pixel difference setting

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or unsubscribe.

cirquit commented 3 years ago

Basically enable delta-rendering in the settings now. This will enable a black/white mode which will only show different pixels compared to the last frame. The frames are converted to greyscale for that, so every pixel has a range of 0-255.

Now the pixel-difference setting basically defines what counts as a different pixel. If it's set to 10, then a pixel with the "color" 0 and a pixel at the same position in the next frame with the "color" 10 will be counted as the same. If that happens for every pixel in the image, then the frame is counted as duplicate, which affects the framerate/frametime.

You have to decide how to set pixel-difference as some games have mechanisms to make it look like you have e.g., 60 FPS when in fact its only smudge effects applied onto every second frame, while duplicating it. In reality those games/consoles would have 30 FPS.

But as I've seen a few discussions about how to use trdrop I feel I really need to make a tutorial.

aj752 commented 3 years ago

Thanks for the explanation. I will do some testing with the settings and with different capture card. Will report back when I get this working, hopefully by the end of tomorrow.

On 27 Jan 2021, at 10:08, cirquit notifications@github.com wrote:

Basically enable delta-rendering in the settings now. This will enable a black/white mode which will only show different pixels compared to the last frame. The frames are converted to greyscale for that, so every pixel has a range of 0-255.

Now the pixel-difference setting basically defines what counts as a different pixel. If it's set to 10, then a pixel with the "color" 0 and a pixel at the same position in the next frame with the "color" 10 will be counted as the same. If that happens for every pixel in the image, then the frame is counted as duplicate, which affects the framerate/frametime.

You have to decide how to set pixel-difference as some games have mechanisms to make it look like you have e.g., 60 FPS when in fact its only smudge effects applied onto every second frame, while duplicating it. In reality those games/consoles would have 30 FPS.

But as I've seen a few discussions about how to use trdrop I feel I really need to make a tutorial.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/cirquit/trdrop/issues/75#issuecomment-768142993, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASTQXE5OKIZUHAPC55MNY2DS37JXVANCNFSM4WUKPW3Q.

aj752 commented 3 years ago

Hi hereby confirm the issue was stupidity (from my side). One of the Technical Marketing Managers of Elgato confirmed on Reddit that ALL the video passes through the encoder when using the 4K60 S+.

Also; I just tired with a different capture device (Elgato HD60S+, which doesn't have compression at all) and trdrop is working beautifully.

Thanks!

cirquit commented 3 years ago

Wonderful news! I'll close it then :)