Topic: Profile Switching While Playing Video

I've been seeing something strange. While playing this video and having the profile options window open, every now and then, it will switch to a different profile and immediately come back to the right profile. While watching the video, it causes double-lag while it switches twice.
https://www.youtube.com/watch?v=jjUVStwNt3k

What could be causing this?

Re: Profile Switching While Playing Video

Mystery
VFR?

Re: Profile Switching While Playing Video

More likely SVP has a good taste and was retching because of singing with help of phonogram. roll She sayd 2 words on 2:11 and that sounded like from a man tongue
I downloaded video and it plays fine, it has constant 29.9 fps while all frames are likely blended from 2. Do you try to play downloaded youtube file or possibly have original somewhere?:)

Re: Profile Switching While Playing Video

I download from YouTube

5 (edited by Mystery 04-03-2015 18:16:56)

Re: Profile Switching While Playing Video

It actually is a 29.917fps video.

I play it with profile 1280x720@29.97

At 2:24, it switches to profile 1920x1080@24 and then switches back again to 1280x720@29.97

I can reproduce it consistently.

Yesterday I seemed to have seen this happening on a few other videos as well.

Re: Profile Switching While Playing Video

You should create/add new profile while watching. Called 720p @30 fps. If you have 60Hz monitor then you can increase settings because it is less demanding one.
Also you might want to disable checkboxes for Choosing profile algorithms. Considering you are not the first one with such problems perhaps new profiles will be built-in in SVP 3.1.7

7 (edited by Mystery 04-03-2015 21:36:46)

Re: Profile Switching While Playing Video

Right now I have only 3 profiles: 720p@29.97 that has maximum settings, 1080p@24 and 1080@29.97

Anything other than 1080p videos should select that single profile. It really shouldn't change anything whether the profile is called 29.97 or 30

On a side note, since recreating profiles that way, I haven't got previous issues with SVP auto-selecting WEIRD big ratios. Perhaps these weird ratios only happen when the CPU is overwhelmed (and cause the CPU to be further overwhelmed!), and when profiles aren't too high, it works all right.

8 (edited by Nintendo Maniac 64 05-03-2015 00:42:42)

Re: Profile Switching While Playing Video

Let's put it this way - I don't think it's an accident that SVP's default profiles are 24fps rather than 23.976fps.

Re: Profile Switching While Playing Video

I replaced the 29.97 profile by 30. It still does the same thing.

I know there are variable frame-rate videos... but a variable resolution video?

10 (edited by Nintendo Maniac 64 05-03-2015 03:29:26)

Re: Profile Switching While Playing Video

Mystery wrote:

but a variable resolution video?

SVP does not determine the profile to use by the horizontal + vertical resolution but rather by the combined pixel amount of horizontal x vertical x framerate.  In particular, I find that 720x404 24fps videos, rather than using the profile with said resolution and framerate, end up using my 854x480 20fps video profile unless I specifically enable "Exclude profiles with different framerates" in 'Profile selection method'.

EDIT: Oddly enough though I just tested it on my desktop PC and what I describe doesn't happen even though it always occurs on my HTPC.

Re: Profile Switching While Playing Video

you didn't uncheck closest biggest stream size checkbox in Algorithm profile chooser, did you?

Re: Profile Switching While Playing Video

Mystery
At 2:24, it switches to profile 1920x1080@24 and then switches back again to 1280x720@29.97
You can look to last launch log just after playing this video. There is more information about causes of switching.

I've download 720p-video by your link. No VFR, no variable resolution there.
There are no profile switchings on my system.

Re: Profile Switching While Playing Video

0:38:01.163; ===== Detected playback with ffdShow. AppName: mpc-hc_.exe PID: 4644
0:38:01.168; GetDimensionAndFPS_fromOSD start. Duration: 25 ms
0:38:01.193; GetDimensionAndFPS_fromOSD result: 1280x720 29.916 1/1
0:38:01.196; T1T: begin
0:38:01.198; T1T: GetAllMediaParams
0:38:01.199; ### CorrectStereoModeByAppAndFilename: La Isla Bonita.mp4
0:38:01.199; T1T: SettingsPrepare
0:38:01.203; T1T: Preparing smooth playback...
0:38:01.205; T1T: WriteAllMediaParamsToIni
0:38:01.205; SVPMgr: main "C:\ProgramData\SVP 3.1\" 1280 720 29.916 1280 720 2 1. Duration: 293 ms
0:38:01.498; ===== Playback
29.916 * (2 : 1) = 59.832 fps
0:38:01.498; SetPriorityPlayer: 2. Duration: 894 ms
0:38:02.392; frame #16 crop detected: 0 0 0 0
0:38:02.393; frame #17 crop detected: 0 0 0 0
0:38:02.393; frame #18 crop detected: 0 0 0 0
0:38:02.394; frame #19 crop detected: 0 0 0 0
0:38:02.394; frame #20 crop detected: 0 0 0 0
0:38:02.394; frame #21 crop detected: 0 0 0 0
0:38:02.394; frame #22 crop detected: 0 0 0 0
0:38:02.395; frame #23 crop detected: 0 0 0 0
0:38:02.677; frame #24 crop detected: 0 0 0 0
0:38:02.679; SVPMgr: main "C:\ProgramData\SVP 3.1\" 1280 720 29.916 1280 720 2 1. Duration: 598 ms
0:38:03.277; ===== Playback
29.916 * (2 : 1) = 59.832 fps
Auto crop: [0:0:0:0]
0:38:33.513; FalseVFR ffdShow-framerate: -Up-> 30.067 -Up-> 39.777 fps
0:38:33.513; this is changing #2. ffdShow-framerate: 31.871
0:38:34.449; this is changing #3. ffdShow-framerate: 31.065
0:38:35.385; this is changing #4. ffdShow-framerate: 30.682
0:38:35.385; express clear interval
0:38:35.386; stabilized ffdShow-framerate: 30.682 fps. SVP Index: 0.92/1.01
0:38:35.397; SVPMgr: main "C:\ProgramData\SVP 3.1\" 1280 720 30.682 1280 720 31 16. Duration: 566 ms
0:38:35.963; ===== Playback
30.682 * (31 : 16) = 59.446 fps
Auto crop: [0:0:0:0]
0:38:37.116; FalseVFR ffdShow-framerate: -Dwn-> 29.916 fps
0:38:37.117; express clear interval
0:38:37.117; stabilized ffdShow-framerate: 29.916 fps. SVP Index: 0.52/0.82
0:38:37.119; SVPMgr: main "C:\ProgramData\SVP 3.1\" 1280 720 29.916 1280 720 2 1. Duration: 124 ms
0:38:37.243; ===== Playback
29.916 * (2 : 1) = 59.832 fps
Auto crop: [0:0:0:0]

Re: Profile Switching While Playing Video

Mystery
It is because of wrong detected framerate.

0:38:33.513; FalseVFR ffdShow-framerate: -Up-> 30.067 -Up-> 39.777 fps
0:38:33.513; this is changing #2. ffdShow-framerate: 31.871
0:38:34.449; this is changing #3. ffdShow-framerate: 31.065
0:38:35.385; this is changing #4. ffdShow-framerate: 30.682
0:38:35.385; express clear interval
0:38:35.386; stabilized ffdShow-framerate: 30.682 fps. SVP Index: 0.92/1.01
0:38:35.397; SVPMgr: main "C:\ProgramData\SVP 3.1\" 1280 720 30.682 1280 720 31 16. Duration: 566 ms

ffdShow does framerate detection. It shows fake variable framerate at position 32 seconds from the playback start.
What version of ffdShow do you using? Update to latest 32bit clsid.
And try to update to MPC 1.7.8 32-bit (x86) or to latest LAV Filters 32-bit. Maybe it will hep you.

---
And I see in the log the cause of fake framerate fluctuation is Autocrop option. If you will disable it (SVP tray menu - Frame crop - Auto crop black bars) you will can watch this video without switches and without any update I talking about. smile

Re: Profile Switching While Playing Video

I have ffdshow v1.3.4540. Not the latest but very close.

Later MPC versions introduced a bug that makes it incompatible with my software. When communicating via API, it sends a message when the video starts playing, and last time I tried a later version, that message kept being sent on loop. I don't know whether they fixed it, but I'd rather stick to the current version for now.

I'll probably just disable auto-crop for now.

Re: Profile Switching While Playing Video

Mystery
My bad. It is not Autocrop. hmm A see now there are 30 seconds between autocrop applying and FalseVFR detection start.

0:38:03.277; ===== Playback
29.916 * (2 : 1) = 59.832 fps
Auto crop: [0:0:0:0]
0:38:33.513; FalseVFR ffdShow-framerate: -Up-> 30.067 -Up-> 39.777 fps

It is something else.

Re: Profile Switching While Playing Video

Even a FalseVFR shouldn't explain SVP selecting profile for a different resolution. It's not a FalseVariableResolution log.