Log in

View Full Version : 25fps video screenrecorded at 60 fp to avoid micro-stutter.How can I convert it back?


Vesdaris
4th January 2017, 09:38
The title is a bit confusing I guess.

I've found out that when I try to screenrecord any video (youtube or other souces) playing on my screen (refresh rate 60) at their original fp, say, 23.976 or 25 ) then my recorded file gets some kind of micro-stutter as if frames are dropped.

Sometimes it starts happening from the very beginning(I can observe it real time via OBS preview), sometimes it happens after x minutes of recording. CPU usage, settings(except one , see below) and whatnot do not affect this issue.

However, recording at 60 fps (same as my refresh rate) fixes this issue.

I read somewhere that it has something to do with me trying to screenrecord 23.976\25 fps video on my 60 refresh rate monitor and that to complete avoid this from happening I need to set my refresh rate to, say, 72(seeing as you can't force 24 or 25 refresh rate) for instance(for 23.976 material). Sadly my monitor only works at 60 refresh rate and can't be overclocked.

I was thinking about a workaround..recording at 60 fps using lossless mode(yeah I get it, lossless for a screencapture lol) and then somehow converting it to the original fps during a final encoding.

How could I do it? What should I use? Does it make sense doing seeing as the original frame rate is 25 fps not 60?

Thanx

mariush
4th January 2017, 10:03
You shouldn't have to use OBS to record Youtube unless maybe if it's live content. There are browser extensions which allow you to download video and audio straight from Youtube's servers..i personally use https://addons.mozilla.org/en-US/firefox/addon/youtube-video-and-audio-dow/?src=api
Your monitor should be able to accept other refresh rates but within a limited range. You can create custom resolution and refresh rates from your video card's control panel / configuration thing. 48 Hz may not be doable, but 50 Hz should work on most LCD monitors.

If you do record your screen at 60 Hz, I remember Virtualdub had some plugins which let you convert some high fps video to a lower fps by analyzing sequential frames and removing duplicates, or blending frames / fields in order to reach the lower fps without audio/video desync.

Vesdaris
4th January 2017, 10:19
Well, youtube was just an example. There are sites that don't allow downloading videos, sadly ;(

VirtualDUb? Damn.. I've never used it

Thank you' I'll look into it although I hope maybe there are some avisynth scripts;)

As for the custom resolution. I've never tried to set to it 50.. If it works it would help with 25 fps material but what about 23.976?

dipje
4th January 2017, 11:59
I'm using plugins like 'ApparentFPS' in avisynth to see what the content is in my recording. If there's a pattern to the frames. Then using tdecimate / vdecimate to remote the duplicates.

But if my monitor is set to 60.0hz and I'm capturing at 60.0 fps, then I will never get a true framerate of 23.976. I will get 24 maybe, but not 23.976. So when recording certain stuff where I _think_ the original was 25fps, I set tdecimate to make it 25fps.
If ApparentFPS gives me 24.0fps I'm assuming it was 23.976 (24000/1001) and force it to that.

to be honest, the smoothest results I've got was with using the 'dedup' plugin to just remove duplicates and write a timecodes file, and then make a variable-framerate (VFR) MKV or MP4 file for final output. But then you're not really getting the original 23.976 / 25.0 / 23.97 or whatever the framerate was. You just make sure that every frame you captured is displayed at the correct time and you don't encode duplicates, but that's it :).

Vesdaris
5th January 2017, 12:06
I set tdecimate to make it 25fps.


So, something like this?

TDecimate(mode=1,rate=25)

to be honest, the smoothest results I've got was with using the 'dedup' plugin

II see that it requires 2 pass encoding. ;( I really don't like 2 pass..I think it's a waste of time compared to crf..

PS OK ,mode1 leads to 48 fps instead of 25 and mode2 converts to 25 fps but I see exactly the same micro stutter when initially capturing at 25 fps. I guess I should try 2 pass then..


PPS Damn.. I can't seem to make dedup work

http://i.imgur.com/zowlG1t.jpg

THe plugin is in the right folder.. I have no idea why it can't be found