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. |
27th March 2020, 22:09 | #1567 | Link | |
Registered User
Join Date: Sep 2004
Location: Auckland, New Zealand
Posts: 466
|
Quote:
I've done some more investigations to this bug. there seems to be some change maybe in the environment after StaxRip-x64-2.0.7.1-beta that makes it change to a UNC path. StaxRip-x64-2.0.6.1-beta = Local path StaxRip-x64-2.0.7.1-beta = Local path StaxRip-x64-2.0.8.0-stable = UNC path StaxRip-x64-2.0.9.1-beta = UNC path StaxRip-x64-2.1.0.1-beta = UNC path here is another example using StaxRip-x64-2.1.0.1-beta. Open staxrip on computer 1 and set the settings path to Z:\Bluray\Staxrip-x64-2.1.0.1-Beta\Settings. Open staxrip on computer 2 and the program prompts for the full UNC path and not the local path. Using a custom directory doesn't resolve this. This is how the registry looks on computer 2 opening each still available beta and stable after v2.0.6.0. Code:
[HKEY_CURRENT_USER\Software\StaxRip\SettingsLocation] "Z:\\Bluray\\StaxRip-x64-2.0.6.1-beta\\"="Z:\\Bluray\\StaxRip-x64-2.0.6.1-beta\\Settings\\" "Z:\\Bluray\\StaxRip-x64-2.0.7.1-beta\\"="Z:\\Bluray\\StaxRip-x64-2.0.7.1-beta\\Settings\\" "\\\\10.11.4.98\\z$\\Bluray\\StaxRip-x64-2.0.9.1-beta\\"="\\10.11.4.98\\z$\\Bluray\\StaxRip-x64-2.0.9.1-beta\\Settings\\" "\\\\10.11.4.98\\z$\\Bluray\\StaxRip-x64-2.0.8.0-stable\\"="Z:\\Bluray\\StaxRip-x64-2.0.8.0-stable\\" "\\\\10.11.4.98\\z$\\Bluray\\StaxRip-x64-2.1.0.1-beta\\"="\\\\10.11.4.98\\z$\\Bluray\\StaxRip-x64-2.1.0.1-beta\\Settings\\"
__________________
A Man Eating Duck Last edited by AMED; 27th March 2020 at 22:16. |
|
28th March 2020, 01:08 | #1568 | Link | ||
Registered User
Join Date: Sep 2018
Posts: 391
|
Quote:
Quote:
Upon looking at my logs I don't see a warning about it not working. Last edited by jlw_4049; 28th March 2020 at 01:13. |
||
28th March 2020, 02:14 | #1571 | Link |
Registered User
Join Date: Sep 2004
Location: Auckland, New Zealand
Posts: 466
|
i made a small change to the this sub routine
Code:
Shared ReadOnly Property Startup() As String Get If StartupValue Is Nothing Then Dim buffer As New StringBuilder(500) QueryFullProcessImageName(Process.GetCurrentProcess.Handle, 0, buffer, buffer.Capacity) StartupValue = buffer.ToString.Dir End If Return StartupValue End Get End Property Code:
Shared ReadOnly Property Startup() As String Get If StartupValue Is Nothing Then StartupValue = Application.StartupPath.FixDir End If Return StartupValue End Get End Property this is the first time i've ever done something in .net so i'm sure there is a more robust way to fix it.
__________________
A Man Eating Duck Last edited by AMED; 28th March 2020 at 02:25. |
28th March 2020, 03:43 | #1575 | Link |
Registered User
Join Date: Feb 2002
Posts: 758
|
Yes HDR10+ is like Dolby Vision. from wiki
HDR10+ is a High Dynamic Range (HDR) video technology that adds dynamic metadata to HDR10 source files. HDR10+ signals the dynamic range and scene characteristics on a scene-by-scene or even frame-by-frame basis. The display device then uses the dynamic metadata to apply an appropriate tone map through the process of dynamic tone mapping. Dynamic tone mapping differs from static tone mapping by applying a different tone curve from scene-to-scene rather than use a single tone curve for an entire video. I know that HDR10+ is so new and special that you don't even do a crop on a 2.35:1 movie. You keep it at 3840 x 2160 with black bars. Because if you crop it, you have to change the dynamic range scene by scene. So it is a surprise to me. I would like to know what does not work in regards to HDR10+ in staxrip 2.0.8.0. I didn't even know you could do HDR10+ encoding. Last edited by Atlantis; 28th March 2020 at 03:50. |
28th March 2020, 04:19 | #1576 | Link | |
Registered User
Join Date: Sep 2018
Posts: 391
|
Quote:
|
|
28th March 2020, 04:45 | #1578 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
@AMED
Thanks for finding the reason and a solution, for me it would have been very difficult to find because there is a network involved and I'm not very competent in this area. There was another UNC related bug recently and I found out I can get such a path by using \\localhost\c$\Users\frank\Desktop, your issue appeared more complex and probably I wouldn't have found the reason. git is like a time based file system, it's possible to browse later versions of a file, the original code here: https://github.com/staxrip/staxrip/b...General.vb#L32 So it's almost the same as your fix. I do remember this change and I also remember the reason: on my PC staxrip is located at D:\Projekte\VB\StaxRip, for unknown (and maybe mystical) reason System.Windows.Forms.Application.StartupPath was returning wrong casing, staxrip instead StaxRip, it wasn't causing a bug, I noticed it in the Apps dialog, I don't remember all details but much likely I had tried to investigate it by looking if powershell dir shows something different from Explorer and by looking which Win32 function is used by .NET, I think the outcome was that Win32 already returned the wrong casing and finding the reason seemed very difficult, guys like Raymond Chen know such things (helped me before with a difficult 'Open with++' issue) but the shitty StackOverflow site where I could ask has blocked me, so I just decided to try another Win32 function, didn't expect that this will cause an issue in a network. The problem was only cosmetic but still did bother me enough trying to work around it and potentially such things can trigger bugs. I did revert it now and it probably will remain a mystery for me.
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists Last edited by stax76; 28th March 2020 at 05:01. |
28th March 2020, 08:28 | #1579 | Link |
Registered User
Join Date: Dec 2019
Posts: 16
|
There arent so many. There is like 23 movies with HDR10+.
you simply extract daynamic metadata with HDR10+parser to json file with ffmpeg. Then you put it in staxrip. But never verions of staxrip show this message. [warning]: --dhdr10-info disabled. Enable HDR10_PLUS in cmake. |
28th March 2020, 09:46 | #1580 | Link | |
Registered User
Join Date: Jan 2015
Posts: 286
|
Quote:
Last edited by Patman; 28th March 2020 at 22:30. |
|
Tags |
aac, hdr, hevc, nvenc, staxrip, x264, x265 |
Thread Tools | Search this Thread |
Display Modes | |
|
|