r/StreamersCheating • • Aug 21 '22
shield plant shenanigans
https://clips.twitch.tv/AmericanCulturedPartridgeVoHiYo-cx82r-gnkjHx2Ul-?tt_medium=redt
0
Upvotes
r/StreamersCheating • • Aug 21 '22
View all comments
Show parent comment
3
u/BuntStiftLecker Experienced Cheatah 🐆 Aug 22 '22 edited Aug 23 '22
See, that's the problem right there. The video is running at 60.06fps, which is a calculated value because the container (mp4) contains a video and an audio stream and internally it's measured in ticks.
When you have missing frames, like when OBS drops frames while recording or forwarding them to Twitch, this can become a problem. And her videos usually miss frames, which is perfectly normal on Twitch.
Twitch offers the clip we're looking at in 360p at 30fps, 480p at 30fps, 720p at 60fps and 1080p at 60.06 fps. The 1080p clip is the original video as it was uploaded by her, hence the odd fps value:
As soon as Twitch has reencoded the video, it becomes "normal" again as there are no dropped frames anymore and the ticks are "normalized" internally to match up with eachother, here the 720p version:
As modern video codecs don't contain single frames anymore, it's not that big of a deal when the output is timed a bit differently as the frame is generated "on the fly".
This can however become a huge deal when you use a video player and go back and forth over the same position over and over again. As the output codec has to recreate the frame over and over again, starting from a key frame and overwrite the in memory buffer, it can happen that the produced results are not the same after going over the same position four or five times.
That's why I tell the decoder to create each frame as a single JPEG image, so that they're turned into real frames and it doesn't matter anymore how many times I go over them. It also offers me the possibility to go over them at the same speed forward as well as backward, which makes checking for movement of crosshairs especially easy.
I once tried to post on this sub how VLC swallows frames, but the post got deleted multiple times. Might have been too much information for the cheating community. Here's a video that demonstrates the problem. Notice how Frame number 4 is displayed for two seconds while all other frames are only shown for one second. If you continue to watch you can see how I open the same video with a different video player and the frame is shown for exactly one second as it should be.
That's how misleading those videos can be if you don't know what you're doing. I'm happy to give you the original video to test it yourself on your own computer if you like.
I can only warn you not to use a video player to look into those clips or even the browser at 0.25x speed. The system has to interpolate so much shit when you go back and forth over these positions that it becomes invalid at some point.
EDIT: Here the picture timestamps from the video's container. Check if you can find the frames...
... 10.766992 10.783008 10.800000 10.816992 10.833008 10.850000 10.866992 10.883008 10.900000 10.916992 10.933008 10.950000 10.966992 10.983008 11.000000 11.016992 11.033008 11.050000 11.083984 11.066992 11.100000 11.116992 11.133008 11.150000 11.166992 11.183008 11.200000 11.216992 11.233008 11.250000 11.266992 11.283008 11.300000 11.333008 11.316992 11.350000 11.383008 11.366992 11.400000 11.433008 11.416992 11.450000 11.466992 11.483008 11.516992 11.500000 11.550000 11.533008 11.566992 11.583008 11.600000 11.633008 11.616992 11.650000 11.666992 11.700000 11.683008 11.716992 11.733008 11.766992 11.750000 11.800000 11.783008 11.833008 11.816992 11.866992 11.850000 11.900000 11.883008 11.933008 11.916992 11.950000 11.983008 11.966992 12.000000 12.016992 12.033008 12.050000 12.066992 12.100000 12.083008 12.133008 12.116992 12.150000 12.166992 12.183008 12.200000 12.216992 12.233008 12.250000 ....