1 (edited by Mystery 25-03-2015 04:13:34)

Topic: Wrong Ratio Decision

SVP made a weird frame ratio decision! 19.716 with a ratio of 2:1 to play at 39.432 on 60hz display? What's that?

http://www.svp-team.com/forum/misc.php?item=3402

This is the video
https://www.youtube.com/watch?v=tV9skIaU6xM

Post's attachments

WrongRatio.jpg, 66.44 kb, 455 x 643
WrongRatio.jpg 66.44 kb, 432 downloads since 2015-03-25 

Re: Wrong Ratio Decision

Mystery
It detects fine framerate for me.

Re: Wrong Ratio Decision

Mystery
It detects fine framerate for me.

http://www.svp-team.com/forum/misc.php?item=3403

What format are you using in SVPtube? I use 720p MP4.
What hardware decoder are you using in MPC-HC? I use CUVID from LAV Filter decoder.

http://www.svp-team.com/forum/misc.php?item=3404

Post's attachments

LAVFilters_cuvid.png, 47.1 kb, 638 x 519
LAVFilters_cuvid.png 47.1 kb, 450 downloads since 2015-03-26 

Youtube_ Framerate.png, 274.41 kb, 872 x 612
Youtube_ Framerate.png 274.41 kb, 433 downloads since 2015-03-26 

Re: Wrong Ratio Decision

I don't use SvpTube, I download the file and play it locally. How do you open that option window?

Re: Wrong Ratio Decision

Mystery
While playback video in MPC-HC - menu Play - Filters - LAV Video Decoder

Re: Wrong Ratio Decision

This time, when playing it it says 30fps with a ratio of 2:1.

Hardware Decoder is Intel QuickSync.

Re: Wrong Ratio Decision

Mystery
And what is REAL framerate (25 or 30 fps)? See it in MediaInfo.

8 (edited by Mystery 30-03-2015 21:33:09)

Re: Wrong Ratio Decision

VLC says 30.004065 fps, and I wouldn't be surprised if it was resampled from the original frame rate as it's just not that fluid visually.

From that, it seems SVP's 2:1 ratio was right, but it was somehow displaying the wrong frame rate info.

(it's also possible that the version I have isn't exactly the same as I gave you as YouTube videos often get replaced)

Re: Wrong Ratio Decision

Mystery
What resolution and format are you downloading? I have been watching 720p MP4. It has 25 fps.

In any case, SVP gets framerate from ffdShow. And it is happened when ffdShow shows wrong unstable framerate. I saw it very rarely. Maybe it is just your case?
Open video, start playback, select by menu Paly - Filters - ffdShow - go to Info tab.

Re: Wrong Ratio Decision

I just got one of these bastard 39:20 ratio when it should be 2:1. Here's the log.


23:01:11.324; ===== Playback
29.97 * (1 : 1) = 29.97 fps
Auto crop: [0:62:0:62]
23:01:11.325; SetPriorityPlayer: 2. Duration: 5871 ms
23:01:17.196; FalseVFR ffdShow-framerate: -Dwn-> 23.549 -Dwn-> 19.229 -Up-> 27.855 -Up-> 29.647 -Up-> 29.97 fps
23:01:17.196; express clear interval
23:01:17.197; stabilized ffdShow-framerate: 29.97 fps. SVP Index: 1.02/1.01
23:01:30.076; RefreshSVP. Duration: 491 ms
23:01:30.567; GetDimensionAndFPS_fromOSD start. Duration: 61 ms
23:01:30.628; GetDimensionAndFPS_fromOSD result: 1920x1216 29.97 1/1
23:01:30.630; T1T: begin. Duration: 13 ms
23:01:30.643; T1T: GetAllMediaParams
23:01:30.644; T1T: SettingsPrepare
23:01:30.647; T1T: Preparing smooth playback...
23:01:30.648; T1T: WriteAllMediaParamsToIni
23:01:30.649; SVPMgr: main "C:\ProgramData\SVP 3.1\" 1920 1080 29.97 1920 1092 39 20. Duration: 261 ms
23:01:30.910; ===== Playback
29.97 * (39 : 20) = 58.441 fps
Auto crop: [0:62:0:62]
23:01:30.910; SetPriorityPlayer: 2

Re: Wrong Ratio Decision

I created a profile specifically for that video to set a 2:1 ratio. When editing that profile and clicking "Apply", however, it automatically switches profile to 1920x1080x30fps. In order to bring back that profile, I have to close and re-open either the player or SVP.

Re: Wrong Ratio Decision

Mystery
I just got one of these bastard 39:20 ratio when it should be 2:1
29.97 * (39 : 20) = 58.441 fps
It is because your monitor has refresh rate below 29.97*2 = 59.94 Hz

About profile. I need more details.
1. What video?
2. What profiles was?
3. What profile and how is created?

Re: Wrong Ratio Decision

Oh you're right. By looking into the monitor's settings, it was set to 59hz instead of 60hz. By setting it to 60, it works as expected.

As for the profile, I deleted the profile and recreated it while doing a screen recording. After re-creating it, I couldn't reproduce the bug.

Re: Wrong Ratio Decision

Still, even on 59hz, the choice of 39:20 ratio is questionable. Are there cases where it genuinely makes sense to have a divider greater than 5 or 10?

Re: Wrong Ratio Decision

Mystery
Are there cases where it genuinely makes sense to have a divider greater than 5 or 10?
It is needed to avoid jerks because of output framerate not equal display refresh rate. If you use ReClock then devider is usually not greater than 3.

You need to look what value has hidden setting:

;Calculation error of smooth factor while ReClock not used when playback: 1 - no jerks (error 0.001 fps), 0 - reduced CPU load and reduced artifacts, jerks are possible up to 1 time per 5 sec (error 1%)
NoJerksWithoutReClock=0

Re: Wrong Ratio Decision

I've been playing 29.97 videos on 59hz display for a while with a 2:1 ratio and never noticed anything wrong. Not sure what those jerks are.

Re: Wrong Ratio Decision

Mystery
59hz display
It is name of mode only. Real refresh rate can be various. My old Acer had 59.914 Hz at this mode. Right value is 59.94 Hz.