Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
9th April 2019, 22:48 | #521 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,348
|
MPC-HC doesn't actually check the FPS, it only checks resolution and bitrate. And for some reason the bitrate reported for the 60fps variants is lower then the 30fps one - although the final file sizes are as one might expect, the 60fps one being bigger. Something weird is either going on with youtube or youtube-dl.
For example from your first link: 137 mp4 1920x1080 1080p 14697k , avc1.640028, 30fps, video only, 464.66MiB 299 mp4 1920x1080 1080p60 5756k , avc1.64002a, 60fps, video only, 534.82MiB The reported bitrate seems totally bonkers, neither value is even close to being true. The actual bitrates are like 2000kb/s and 2200kb/s or such.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders Last edited by nevcairiel; 9th April 2019 at 22:52. |
14th April 2019, 17:16 | #522 | Link | |
*****
Join Date: Feb 2005
Posts: 5,647
|
Quote:
I have added an option to specify the preferred video format (H264/VP9/AV1) and framerate (30/60fps). The automatic selection currently just looks at the bitrate for comparing streams with same resolution. If bogus bitrate values are a common issue, then I could maybe use filesize instead. |
|
14th April 2019, 21:45 | #524 | Link | |
Registered User
Join Date: Nov 2009
Location: Northeast Ohio
Posts: 447
|
Quote:
For example, if I set 1440p H264 and play one of these 4k videos, will I get 1080p H264 or 1440p VP9? The same thing goes for AV1 whereby it's commonly only available up to 480p - if you set AV1 1440p and play the same 4k video, will you get 480p AV1 or 1440p VP9?
__________________
____HTPC____ | __Desktop PC__
2.93GHz Xeon x3470 (4c/8t Nehalem) | 4.5GHz 1.24v dual-core Haswell G3258 Radeon HD5870 | Intel iGPU 2x2GB+2x1GB DDR3-1333 | 4x4GB DDR3-1600 |
|
14th April 2019, 22:07 | #525 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,348
|
Thats why codec is usually not a good option, since there rarely is even a real choice given the other constraints. Bitrate would be decent if it worked, but since its all the same content file size should be equally reliable.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
15th April 2019, 02:39 | #527 | Link |
Registered User
Join Date: Nov 2009
Location: Northeast Ohio
Posts: 447
|
I may not know what clsid has in mind, but from my view I think the best method would be a sort of priority-based fallback system while the three codecs themselves (AV1 > VP9 > H264; VP8 is excluded because that exists for only a single resolution being 360p and is lower quality than the equivalent H264 encode) additionally operate with their own priority-based fallback system.
In other words, I figure the first thing to try falling-back would be the codec, then it would try the resolution, then it'd try the frame rate. As an example, let's say you have MPC-HC set to 1080p 60fps AV1. First it'll check for that exact configuration - AV1 @ 1080p60. If it does not exist, it will fall-back the codec to VP9 and try VP9 @ 1080p60. If that doesn't exist, it'll check H264 @ 1080p60. If that still doesn't exist, then it will start over with AV1 but at 720p60. And once again if it doesn't exist, it will then try VP9 @ 720p60 and if that doesn't exist then H264 @ 720p60. If none of that exists, then it will start over with AV1 and 1080p once again but this time at 30fps. From there it will then try AV1 @ 1080p30, VP9 @ 1080p30, H264 @ 1080p30, AV1 720p30, VP9 @ 720p30, H264 @ 720p30, AV1 @ 480p30, VP9 @ 480p30, H264 @ 480p30, etc. Now much like the resolution setting that currently exists in MPC-HC v1.8.6, my idea is that the codec and frame rate settings are upper-limits, so it would specifically start at those given upper-limits and never try anything above them. This means that, if you set MPC-HC to VP9 720p 60fps, it would follow the same sort of fallback process as the above example but would completely exclude the 1080p+ resolutions as well as AV1. So in this case it would try in order: VP9 @ 720p60, H264 @ 720p60, VP9 @ 720p30, H264 @ 720p30, VP9 @ 480p30, H264@480p30, etc This also means that, if you set H264, you would then always get nothing but H264. Therefore, in the two examples given in my previous post, setting 1440p H264 in MPC-HC would indeed play back H264 @ 1080p while setting AV1 1440p would play back VP9 @ 1440p.
__________________
____HTPC____ | __Desktop PC__
2.93GHz Xeon x3470 (4c/8t Nehalem) | 4.5GHz 1.24v dual-core Haswell G3258 Radeon HD5870 | Intel iGPU 2x2GB+2x1GB DDR3-1333 | 4x4GB DDR3-1600 |
15th April 2019, 08:09 | #529 | Link | |
Registered User
Join Date: Nov 2009
Location: Northeast Ohio
Posts: 447
|
clsid already confirmed that the format is configurable:
Quote:
The thing is, VP9 and AV1 are not always available, so you need to have a sort of fallback system. My previous posts was then detailing what I personally think would be the most ideal method of handling such a fallback system.
__________________
____HTPC____ | __Desktop PC__
2.93GHz Xeon x3470 (4c/8t Nehalem) | 4.5GHz 1.24v dual-core Haswell G3258 Radeon HD5870 | Intel iGPU 2x2GB+2x1GB DDR3-1333 | 4x4GB DDR3-1600 |
|
15th April 2019, 15:35 | #530 | Link | |
*****
Join Date: Feb 2005
Posts: 5,647
|
It choses the 'best' matching stream from all available ones, so there is always a fallback. Current order of properties for comparing candidates is: Format (if specified) / Resolution / Framerate (if specified) / Bitrate.
People with old systems can choose H.264 for performance reasons. People with modern systems can choose VP9 for best quality. AV1 is only used if you force it (for testing). Quote:
|
|
15th April 2019, 19:38 | #531 | Link | |
Registered User
Join Date: Nov 2009
Location: Northeast Ohio
Posts: 447
|
Quote:
I do have a couple questions about AV1 though: What happen if AV1 encodes are not available? Does it fall back to VP9? Also what happens if you have it set to AV1 1080p, and play back a 4k video that has AV1 encodes only up to 480p - will you get 1080p VP9, 1080p H264, or 480p AV1?
__________________
____HTPC____ | __Desktop PC__
2.93GHz Xeon x3470 (4c/8t Nehalem) | 4.5GHz 1.24v dual-core Haswell G3258 Radeon HD5870 | Intel iGPU 2x2GB+2x1GB DDR3-1333 | 4x4GB DDR3-1600 |
|
20th April 2019, 12:03 | #534 | Link |
Registered User
Join Date: Aug 2015
Posts: 294
|
Let me guess,
https://github.com/ytdl-org/youtube-...ng-msvcr100dll |
21st April 2019, 03:05 | #536 | Link |
Registered User
Join Date: Mar 2019
Posts: 1
|
Hi all,
I did a "quick" check of MPC-HC 1.8.6 (the .exe from within the zip, not the installer) on hybrid-analysis.com and the result was, well, not very positive. I know that video players have to do strange things e.g. with system memory, but hey, links to malware/mining sites shouldn't exist in MPC at all. This stuff should completely be removed from MPC-HC. https://www.hybrid-analysis.com/samp...88384d247f7167 https://www.hybrid-analysis.com/samp...883827037f716b Click on the stuff below "Malicious Indicators"->"Network Related" to see what I mean. It's understood that the heuristics on hybrid-analysis .com are overly paranoid, but with e.g. SMPlayer I'm getting only 1/10 of warnings and indicators compared to MPC. So my appeal to the devs would be to clean up MPC and completely remove anything questionable. kind regards, Hans |
21st April 2019, 07:22 | #538 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,348
|
MPC-HC doesn't connect to anything but its own update check on GitHub - which can be disabled as well. The second scan for some reason even includes some hits from a firefox instance that was apparently running at the same time, instead of MPC-HC itself.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
22nd April 2019, 18:14 | #540 | Link |
Registered User
Join Date: Nov 2009
Location: Northeast Ohio
Posts: 447
|
As a counter-point, VirusTotal shows a completely clean result for mpc-hc64.exe:
https://www.virustotal.com/#/file/1f...1177/detection
__________________
____HTPC____ | __Desktop PC__
2.93GHz Xeon x3470 (4c/8t Nehalem) | 4.5GHz 1.24v dual-core Haswell G3258 Radeon HD5870 | Intel iGPU 2x2GB+2x1GB DDR3-1333 | 4x4GB DDR3-1600 |
|
|