cirquit / trdrop

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

60 fps count in a recording of 30 fps #111

Open Tahdar opened 2 years ago

Tahdar commented 2 years ago

Dear all, I don't know if I'm doing something wrong.

I'm recording with "elgato" HD60 S+ and OBS (not streamlab).

My Properties for "HD60 S+" are the next one: image

My Simple Settings are: image

The Advanced Settings are: image

The file generated is the follow one: https://drive.google.com/drive/folders/186JOua7Mu5yDeNuks3zMSug5lSaRnSou?usp=sharing

On "Options" --> "FPS" --> "Pixel difference" set as "0"; "1"; "2": the pixel count is 60 fps. If I set the "Pixel difference" as "3": the pixel count is 55 fps. If I the "Pixel difference" as "4" or "5": the pixel count is 30 fps.

image

Is it the correct performing of the trdrop?

I'm waiting for your answer.

Thanks and best regards :)

illusion0001 commented 2 years ago

Try pixel difference above 4. image

Tahdar commented 2 years ago

Thanks, but as I said in my post:

On "Options" --> "FPS" --> "Pixel difference" set as "0"; "1"; "2": the pixel count is 60 fps. If I set the "Pixel difference" as "3": the pixel count is 55 fps. If I the "Pixel difference" as "4" or "5": the pixel count is 30 fps.

Is it the correct performing of the trdrop?

illusion0001 commented 2 years ago

Is it the correct performing of the trdrop?

No.

Tahdar commented 2 years ago

Thanks for your quick answer.

Are something that I'm doing wrong with the recording in OBS?

I'm performing some records, in other games, and all of them I need to set the pixel count as 4 or more.

I'm record, Spiderman, DeathLoop and Astro.

illusion0001 commented 2 years ago

The video you provided in the link analysis fine, double check your trdrop settings.

Tahdar commented 2 years ago

Sorry, the problem were in the my post.

I wrote: On "Options" --> "FPS" --> "Pixel difference" set as "0"; "1"; "2": the pixel count is 60 fps. If I set the "Pixel difference" as "3": the pixel count is 55 fps. If I the "Pixel difference" as "4" or "5": the pixel count is 60 fps.

Instead: On "Options" --> "FPS" --> "Pixel difference" set as "0"; "1"; "2": the pixel count is 60 fps. If I set the "Pixel difference" as "3": the pixel count is 55 fps. If I the "Pixel difference" as "4" or "5": the pixel count is 30 fps.

I edited it.

If you confirm that now my sentence is correct we can close the issue.

I think that it will be interesting open a Discord or a community to help to the people that wants to use TRDROP and capture devices/software to help them with it.

illusion0001 commented 2 years ago

We have a dev server but that will require approval from @cirquit to open up for public access.

cirquit commented 2 years ago

Hey, sorry for the late answer. So regarding any kind of "correct" use of trdrop - there is none. Everything is based on the pixel values, which may be affected by the encoding of the video (should not happen) and the capture card.

The reason as to why your video changes its framerate when changing the pixel difference settings are because the pixel colors are close enough (after applying that difference) to be counted as same.

This typically happens because of either an encoding (which means the video should not be used), or because the hardware which renders your game has shadowing artefacts, which means that it doesn't really provide 60FPS, but rather 30FPS with some those artefacts.

You can debug this yourself by enabling "delta rendering" in the settings, which will show you a black/white image - black pixels mean "same pixel" and white means "different pixel". By exporting in such a way, you can calculate the FPS by yourself and see what new pixels were actually rendered.

The v2 of this software will hopefully make this more easy to understand. When this version drops, we will also make the discord available to all.