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.

 

Go Back   Doom9's Forum > Hardware & Software > Software players

Reply
 
Thread Tools Search this Thread Display Modes
Old 10th May 2022, 22:18   #9281  |  Link
Grimsdyke
Registered User
 
Join Date: Nov 2013
Location: Hannover, Germany
Posts: 292
@devs. I recently purchased a blu-ray containing two movies but the releasing company used a "/" to seperate the titles in the volumelabel.
Of course this causes several problems. One is that auto-load external audio fails now because "/" is not allowed as part of a windows file name. Is there maybe a way to fix this ? Maybe simply ignoring the "/" so that are just two spaces between the titles ?
__________________
MPC-BE feature wishlist: 1) DiscID
2) Two independent volume control sliders in the UI when using dual-audio-out.
Grimsdyke is offline   Reply With Quote
Old 10th May 2022, 23:29   #9282  |  Link
Aleksoid1978
Registered User
 
Aleksoid1978's Avatar
 
Join Date: Apr 2008
Location: Russia, Vladivostok
Posts: 2,783
Quote:
Originally Posted by Grimsdyke View Post
@devs. I recently purchased a blu-ray containing two movies but the releasing company used a "/" to seperate the titles in the volumelabel.
Of course this causes several problems. One is that auto-load external audio fails now because "/" is not allowed as part of a windows file name. Is there maybe a way to fix this ? Maybe simply ignoring the "/" so that are just two spaces between the titles ?
Done - all unsupported symbols in path/filename replaced by _.
__________________
AMD Ryzen 5 3600 /GIGABYTE B450 Gaming X /Patriot 32Gb@3200 /Kingston 500Gb M.2 /RTX 4060 /Samsung U28R550UQI /OLED Philips 55OLED707 /Yamaha RX-V471 + NS-555 + NS-C444 + NS-333 + YST-SW215
Aleksoid1978 is offline   Reply With Quote
Old 11th May 2022, 01:59   #9283  |  Link
Aleksoid1978
Registered User
 
Aleksoid1978's Avatar
 
Join Date: Apr 2008
Location: Russia, Vladivostok
Posts: 2,783
Quote:
Originally Posted by bozek View Post
I'm not sure whether this has already been reported but the mediainfo dialog looks a bit out of place on Win11.

Can't reproduce.
Using Windows 11 + 175% DPI.
__________________
AMD Ryzen 5 3600 /GIGABYTE B450 Gaming X /Patriot 32Gb@3200 /Kingston 500Gb M.2 /RTX 4060 /Samsung U28R550UQI /OLED Philips 55OLED707 /Yamaha RX-V471 + NS-555 + NS-C444 + NS-333 + YST-SW215
Aleksoid1978 is offline   Reply With Quote
Old 11th May 2022, 08:36   #9284  |  Link
Grimsdyke
Registered User
 
Join Date: Nov 2013
Location: Hannover, Germany
Posts: 292
Quote:
Originally Posted by Aleksoid1978 View Post
Done - all unsupported symbols in path/filename replaced by _.
Brililant - thank you very much !

Follow up: One suggestion for fine tuning this. It would be nice if I could add a parameter to the external audio files so that it gets loaded only to the correct movie. Maybe the mpls ??
__________________
MPC-BE feature wishlist: 1) DiscID
2) Two independent volume control sliders in the UI when using dual-audio-out.

Last edited by Grimsdyke; 14th May 2022 at 13:07.
Grimsdyke is offline   Reply With Quote
Old 18th May 2022, 01:14   #9285  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,903
i have a question about the experimental jinc2 scaler.
the code is the precise jinc version and it uses 3 tab right?
while the 2 lanczos version and there number represent the tab number?
huhn is offline   Reply With Quote
Old 18th May 2022, 05:46   #9286  |  Link
v0lt
Registered User
 
Join Date: Dec 2008
Posts: 1,959
Quote:
Originally Posted by huhn View Post
i have a question about the experimental jinc2 scaler.
the code is the precise jinc version and it uses 3 tab right?
while the 2 lanczos version and there number represent the tab number?
Code - resizer_onepass_jinc2.hlsl
Discussion and links in Issue #21.
v0lt is offline   Reply With Quote
Old 18th May 2022, 11:12   #9287  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,903
can you share an example of the distortion?

also have a look here: https://github.com/zachsaw/MPDN_Exte...EwaScaler.hlsl
huhn is offline   Reply With Quote
Old 18th May 2022, 11:34   #9288  |  Link
v0lt
Registered User
 
Join Date: Dec 2008
Posts: 1,959
Quote:
Originally Posted by huhn View Post
can you share an example of the distortion?
For example bw18x18_rgb.avi
v0lt is offline   Reply With Quote
Old 18th May 2022, 12:05   #9289  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,903
at least 3 different implementation of ewa lanczos...

madVR jinc3 https://abload.de/img/madvrfajee.png
mpcVR "jinc2" https://abload.de/img/mpcvrxwkjk.png

as you can see here madVR starts to show the same issues.
mpv ewa https://abload.de/img/mpvamjtt.png
mpv ewa sharp https://abload.de/img/mpvsharp16kyi.png
i could not find the the mpv GLSL shader to the version used in mpcVR
i was wondering if it was the precise one.

how much dependency does mpcVR need? if it is easy to compile i may play around with it myself. if i'm very lucky i may find the problem.

Last edited by huhn; 18th May 2022 at 14:11. Reason: i said madVR instead of mpc
huhn is offline   Reply With Quote
Old 18th May 2022, 13:49   #9290  |  Link
tiben20
Registered User
 
Join Date: May 2009
Posts: 9
Quote:
Originally Posted by huhn View Post
at least 3 different implementation of ewa lanczos...

madVR jinc3 https://abload.de/img/madvrfajee.png
mpcVR "jinc2" https://abload.de/img/mpcvrxwkjk.png

as you can see here madVR starts to show the same issues.
mpv ewa https://abload.de/img/mpvamjtt.png
mpv ewa sharp https://abload.de/img/mpvsharp16kyi.png
i could not find the the madVR GLSL shader to the version sued in mpcVR
i was wondering if it was the precise one.

how much dependency does mpcVR need? if it is easy to compile i may play around with it myself. if i'm very lucky i may find the problem.
its really easy to compile you need visual studio 2019 or earlier. You clone the git rep, then update the submodule and you can compile afterward.

Last edited by tiben20; 18th May 2022 at 13:55.
tiben20 is offline   Reply With Quote
Old 18th May 2022, 19:02   #9291  |  Link
GCRaistlin
Registered User
 
GCRaistlin's Avatar
 
Join Date: Jun 2006
Posts: 350
/dub option doesn't see files the path to which is longer than 259 characters.
__________________
Windows 8.1 x64

Magically yours
Raistlin
GCRaistlin is offline   Reply With Quote
Old 18th May 2022, 20:18   #9292  |  Link
v0lt
Registered User
 
Join Date: Dec 2008
Posts: 1,959
Quote:
Originally Posted by GCRaistlin View Post
/dub option doesn't see files the path to which is longer than 259 characters.
Support for long paths is very limited due to the fact that Windows does not have a normal API for working with long paths. Yes, I know about the "\\?" prefix and about removing the restriction in specially tuned Windows 10. But this is not a normal API that MicroSoft could have done 16 or 21 years ago.

But you can try MPC-BE 1.6.2.7111 (64f50e5da) when it's available.
v0lt is offline   Reply With Quote
Old 19th May 2022, 06:19   #9293  |  Link
Sunspark
Registered User
 
Join Date: Nov 2015
Posts: 467
Is it possible to bundle an option that grants permission to write this string to the registry? It would solve the longpath problem.

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem]
"LongPathsEnabled"=dword:00000001
Sunspark is offline   Reply With Quote
Old 19th May 2022, 06:52   #9294  |  Link
v0lt
Registered User
 
Join Date: Dec 2008
Posts: 1,959
Quote:
Originally Posted by Sunspark View Post
Is it possible to bundle an option that grants permission to write this string to the registry? It would solve the longpath problem.

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem]
"LongPathsEnabled"=dword:00000001
And then rewrite the entire code for working with files twice.

Last edited by v0lt; 19th May 2022 at 15:31.
v0lt is offline   Reply With Quote
Old 20th May 2022, 07:32   #9295  |  Link
Sunspark
Registered User
 
Join Date: Nov 2015
Posts: 467
Why re-write any code at all?

If the registry key is present (it's opt-in) then you don't have to worry about the max path length of 255-260 anymore and you don't have to re-write your existing code.

One caveat though, this key only applies to Windows 10 build 1607 and above. So that means the option needs to be greyed out if winver is below a certain build number.
Sunspark is offline   Reply With Quote
Old 20th May 2022, 17:23   #9296  |  Link
v0lt
Registered User
 
Join Date: Dec 2008
Posts: 1,959
Quote:
Originally Posted by Sunspark View Post
Why re-write any code at all?

If the registry key is present (it's opt-in) then you don't have to worry about the max path length of 255-260 anymore and you don't have to re-write your existing code.
Cool. You know how to support long paths in MPC-BE! It remains to restore the player in systems other than Windows 10 with the specified key.
v0lt is offline   Reply With Quote
Old 21st May 2022, 02:58   #9297  |  Link
Sunspark
Registered User
 
Join Date: Nov 2015
Posts: 467
I don't think there's that many people that need long paths anyway to begin with. I only ever ran into it as an issue once at work on a network drive. So, based on my personal experience, I think it's good enough to have partial support where it's present for builds over x but not for others. This feature is only a nice to have anyway. Could always just be a FAQ item too and people can do it themselves.
Sunspark is offline   Reply With Quote
Old 21st May 2022, 06:02   #9298  |  Link
Aleksoid1978
Registered User
 
Aleksoid1978's Avatar
 
Join Date: Apr 2008
Location: Russia, Vladivostok
Posts: 2,783
To support "real" long paths(not with "\\?" prefix), you need to rewrite a lot of code, especially considering that this support is only in Windows 10 - this is a very decent amount of work and testing.
Personally, I'm not interested.

But - patch are welcome.
__________________
AMD Ryzen 5 3600 /GIGABYTE B450 Gaming X /Patriot 32Gb@3200 /Kingston 500Gb M.2 /RTX 4060 /Samsung U28R550UQI /OLED Philips 55OLED707 /Yamaha RX-V471 + NS-555 + NS-C444 + NS-333 + YST-SW215
Aleksoid1978 is offline   Reply With Quote
Old 21st May 2022, 12:16   #9299  |  Link
v0lt
Registered User
 
Join Date: Dec 2008
Posts: 1,959
BassAudioSource-0.1.0.20_git2022.05.21-dbcdaf9
Another source filter using the BASS library. There is x64 support.
Source code.
v0lt is offline   Reply With Quote
Old 21st May 2022, 16:34   #9300  |  Link
filler56789
SuperVirus
 
filler56789's Avatar
 
Join Date: Jun 2012
Location: Antarctic Japan
Posts: 1,351
Quote:
Originally Posted by v0lt View Post
BassAudioSource-0.1.0.20_git2022.05.21-dbcdaf9
Another source filter using the BASS library. There is x64 support.
Source code.
Thanks!
filler56789 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 17:20.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.