Improving Madvr HDR to SDR mapping for projector - Page 193 - AVS Forum | Home Theater Discussions And Reviews
Forum Jump: 
 7498Likes
Reply
 
Thread Tools
post #5761 of 8007 Old 03-27-2019, 01:13 AM
Member
 
Join Date: Sep 2018
Posts: 52
Mentioned: 8 Post(s)
Tagged: 0 Thread(s)
Quoted: 28 Post(s)
Liked: 14
Quote:
Originally Posted by Manni01 View Post
Thanks a lot for sharing this!

I had a look, and unfortunately as you're using autoit that's not something I can call from my batch command line utility.

But capturing the main .mpls title in the title bar of MPC-BE is very clever and I hope it will help @Soulnight and others to implement this in their windows utility, should they find it useful/relevant for their users.

Merci beaucoup
i made version for you (compiled version)

i add a "/s" option which save the result in the clipboard and in a file name "%temp%\mpls.txt look in the .bat
Attached Files
File Type: zip pack_for_avs.zip (503.8 KB, 39 views)
Manni01 likes this.
xxxx5 is offline  
Sponsored Links
Advertisement
 
post #5762 of 8007 Old 03-27-2019, 04:29 AM
AVS Forum Special Member
 
Manni01's Avatar
 
Join Date: Sep 2008
Posts: 9,343
Mentioned: 358 Post(s)
Tagged: 0 Thread(s)
Quoted: 5634 Post(s)
Liked: 5954
Quote:
Originally Posted by xxxx5 View Post
i made version for you (compiled version)

i add a "/s" option which save the result in the clipboard and in a file name "%temp%\mpls.txt look in the .bat
Wow thanks a lot for taking the time to do this, much appreciated.

I tried to implement it but I'm getting some errors, possibly due to the fact that you're using a hardcoded non-standard path for MPC-BE64. If that's OK with you I'll PM you to discuss this as I don't want to derail the thread.

Merci encore!

Batch Utility V4.02 May 16 2019 to automate measurements files for madVR with support for BD Folders
JVC Macro feature on Vertex/Vertex2/Integral2/Maestro
Manni01 is online now  
post #5763 of 8007 Old 03-27-2019, 04:47 AM
Member
 
Join Date: Sep 2018
Posts: 52
Mentioned: 8 Post(s)
Tagged: 0 Thread(s)
Quoted: 28 Post(s)
Liked: 14
Quote:
Originally Posted by Manni01 View Post
Wow thanks a lot for taking the time to do this, much appreciated.

I tried to implement it but I'm getting some errors, possibly due to the fact that you're using a hardcoded non-standard path for MPC-BE64. If that's OK with you I'll PM you to discuss this as I don't want to derail the thread.

Merci encore!
you have to edit "madMeasureHDR4iso.ini" to configure the location of your files and put this file in the same folder as madMeasureHDR4iso.exe
Manni01 likes this.
xxxx5 is offline  
Sponsored Links
Advertisement
 
post #5764 of 8007 Old 03-27-2019, 04:55 AM
AVS Forum Special Member
 
Manni01's Avatar
 
Join Date: Sep 2008
Posts: 9,343
Mentioned: 358 Post(s)
Tagged: 0 Thread(s)
Quoted: 5634 Post(s)
Liked: 5954
Quote:
Originally Posted by xxxx5 View Post
you have to edit "madMeasureHDR4iso.ini" to configure the location of your files and put this file in the same folder as madMeasureHDR4iso.exe
Thanks, that solves the mpc-be path issue, but the utility returns a "file not found" if I ask it to find the playlist for the index.bdmv of one title. I don't use ISOs but BD Folders, so maybe that's the problem. Is it trying to mount a .ISO file?

I've sent you a PM with my email address, please feel free to reply by PM or email.

Batch Utility V4.02 May 16 2019 to automate measurements files for madVR with support for BD Folders
JVC Macro feature on Vertex/Vertex2/Integral2/Maestro
Manni01 is online now  
post #5765 of 8007 Old 03-27-2019, 06:49 AM
Member
 
Join Date: Sep 2018
Posts: 52
Mentioned: 8 Post(s)
Tagged: 0 Thread(s)
Quoted: 28 Post(s)
Liked: 14
the timing is too short for index.bdmv, i change it
(and add an option to use mpc instead of mounting virtual cd when creating measurement file)
Attached Files
File Type: zip pack_for_avs.zip (504.0 KB, 16 views)
Manni01 likes this.
xxxx5 is offline  
post #5766 of 8007 Old 03-27-2019, 07:27 AM
AVS Forum Special Member
 
Manni01's Avatar
 
Join Date: Sep 2008
Posts: 9,343
Mentioned: 358 Post(s)
Tagged: 0 Thread(s)
Quoted: 5634 Post(s)
Liked: 5954
Quote:
Originally Posted by xxxx5 View Post
the timing is too short for index.bdmv, i change it
(and add an option to use mpc instead of mounting virtual cd when creating measurement file)
Thanks a lot. I still get a "file not found" when giving the path to index.bdmv as an argument to your .exe. I think it's because the mpls.txt file isn't created in the %temp% folder.

Got your PM, wil reply there.

Batch Utility V4.02 May 16 2019 to automate measurements files for madVR with support for BD Folders
JVC Macro feature on Vertex/Vertex2/Integral2/Maestro

Last edited by Manni01; 03-27-2019 at 08:14 AM.
Manni01 is online now  
post #5767 of 8007 Old 03-27-2019, 08:46 AM
Member
 
Join Date: Sep 2018
Posts: 52
Mentioned: 8 Post(s)
Tagged: 0 Thread(s)
Quoted: 28 Post(s)
Liked: 14
- I am sure you knows that %temp% means the windows temp folder (usually c:\tmp, c:\temp, c:\windows\temp)

- as as says in my PM i thought your pb is a blank in one of your name ( maybe d:\iso folder\bdmv\index.bdmv or c:\program files\mpc-be.exe)

In this case, don't forget to enclose the name with " (quotes)
forgive me me if you already know all of that.


try to launch

madMeasureHDR4iso.exe

only

to see if the syntax is displayed
xxxx5 is offline  
post #5768 of 8007 Old 03-27-2019, 09:14 AM
Senior Member
 
Join Date: Jun 2015
Posts: 266
Mentioned: 3 Post(s)
Tagged: 0 Thread(s)
Quoted: 229 Post(s)
Liked: 108
May one of you kindly share a hi res screenshot of your current madvr tonemap settings? The latest ones are blurry when viewed on my ios device.


Sent from my iPhone using Tapatalk
Colozeus is offline  
post #5769 of 8007 Old 03-27-2019, 09:41 AM
AVS Forum Special Member
 
Manni01's Avatar
 
Join Date: Sep 2008
Posts: 9,343
Mentioned: 358 Post(s)
Tagged: 0 Thread(s)
Quoted: 5634 Post(s)
Liked: 5954
Quote:
Originally Posted by xxxx5 View Post
- I am sure you knows that %temp% means the windows temp folder (usually c:\tmp, c:\temp, c:\windows\temp)

- as as says in my PM i thought your pb is a blank in one of your name ( maybe d:\iso folder\bdmv\index.bdmv or c:\program files\mpc-be.exe)

In this case, don't forget to enclose the name with " (quotes)
forgive me me if you already know all of that.


try to launch

madMeasureHDR4iso.exe

only

to see if the syntax is displayed
Well, not really, %temp% means the %temp% variable in a batch file, it points to a users\[user]\appdata\temp here. I had looked in the other usual temp locations, no mpls.txt file there either.

As I said I do use "" in my batch. The issue isn't the batch, I get the same error if I start the command from the command line.

Anyway, that's not the issue, the error is an Autoit error in French. Please let's stick to PMs to discuss this or we're going to bore everyone

I'm testing a few things, I'll reply to you by PM.

Batch Utility V4.02 May 16 2019 to automate measurements files for madVR with support for BD Folders
JVC Macro feature on Vertex/Vertex2/Integral2/Maestro
Manni01 is online now  
post #5770 of 8007 Old 03-28-2019, 12:34 AM
Member
 
Join Date: Sep 2018
Posts: 52
Mentioned: 8 Post(s)
Tagged: 0 Thread(s)
Quoted: 28 Post(s)
Liked: 14
i create a new thread for madmeasurehdr4iso

https://www.avsforum.com/forum/24-di...l#post57815948
Manni01 likes this.
xxxx5 is offline  
post #5771 of 8007 Old 03-28-2019, 05:07 PM
AVS Forum Special Member
 
3ll3d00d's Avatar
 
Join Date: Sep 2007
Location: London, UK
Posts: 4,231
Mentioned: 273 Post(s)
Tagged: 0 Thread(s)
Quoted: 2547 Post(s)
Liked: 2830
I guess someone might find this useful ...

I came across a python wrapper for libbluray so I wrote a little python script uses libbluray to get the main title & tell you which one it is/copy the measurements file if you want - https://github.com/3ll3d00d/madmeasurer

I then decided to make an exe for windows which you can find at https://github.com/3ll3d00d/madmeasu...ases/tag/0.1.0 (this meant I had to fork that wrapper to make it buildable on windows, you can find this at https://github.com/3ll3d00d/PyBluRead with some instructions on how to build in windows if you want to use this yourself)

the paths accepted are python globs btw - https://docs.python.org/3/library/glob.html - and you can pass -v multiple times (like -vvv) to make it tell you what it is doing, script is v simple though so probably best to refer to code to see what it does but using libbluray directly means you are using the same code to derive the main title as the player (presumably) uses as well as being able to see whether any given disc is a UHD or not. It should execute v quickly too.

NB: libbluray seems v chatty when it parses discs so the output is on the noisy side atm, if anyone wants to use this then I'll look at cleaning it up (otherwise I'll just continue to ignore the noise)
neo_2009 likes this.
3ll3d00d is online now  
post #5772 of 8007 Old 03-28-2019, 10:29 PM
Member
 
Join Date: Sep 2018
Posts: 52
Mentioned: 8 Post(s)
Tagged: 0 Thread(s)
Quoted: 28 Post(s)
Liked: 14
Quote:
Originally Posted by 3ll3d00d View Post
I guess someone might find this useful ...

I came across a python wrapper for libbluray so I wrote a little python script uses libbluray to get the main title & tell you which one it is/copy the measurements file if you want - https://github.com/3ll3d00d/madmeasurer

I then decided to make an exe for windows which you can find at https://github.com/3ll3d00d/madmeasu...ases/tag/0.1.0 (this meant I had to fork that wrapper to make it buildable on windows, you can find this at https://github.com/3ll3d00d/PyBluRead with some instructions on how to build in windows if you want to use this yourself)

the paths accepted are python globs btw - https://docs.python.org/3/library/glob.html - and you can pass -v multiple times (like -vvv) to make it tell you what it is doing, script is v simple though so probably best to refer to code to see what it does but using libbluray directly means you are using the same code to derive the main title as the player (presumably) uses as well as being able to see whether any given disc is a UHD or not. It should execute v quickly too.

NB: libbluray seems v chatty when it parses discs so the output is on the noisy side atm, if anyone wants to use this then I'll look at cleaning it up (otherwise I'll just continue to ignore the noise)
great ! but cmd /k madmeasurer.exe d:\isofolder (folder that contains all off bluray files)
report


index_parse.c:227: index.bdmv: unknown extension data at 420
bdj.c:126: Error opening registry key SOFTWARE\JavaSoft\Java Runtime Environment\
bdj.c:689: BD-J check: Failed to load JVM library
bluray.c:1070: WARNING: BluRay profile 6 BD-J menus are not supported
bdj.c:126: Error opening registry key SOFTWARE\JavaSoft\Java Runtime Environment\
bdj.c:689: BD-J check: Failed to load JVM library
mpls_parse.c:983: _parse_mpls_extension(): unhandled extension 3.5......
mpls_parse.c:983: _parse_mpls_extension(): unhandled extension 3.5
d:\isofolder/BDMV/PLAYLIST/00158.mpls

if i play (or i a serch with madMeasureHDR4iso.exe ) d:\isofolder with mpc-hc64 its plays D:\isofolder\BDMV\PLAYLIST\00089.mpls

and did your program works with iso file ? (something like cmd /k madmeasurer.exe d:\file.iso)
xxxx5 is offline  
post #5773 of 8007 Old 03-29-2019, 01:43 AM
AVS Forum Special Member
 
3ll3d00d's Avatar
 
Join Date: Sep 2007
Location: London, UK
Posts: 4,231
Mentioned: 273 Post(s)
Tagged: 0 Thread(s)
Quoted: 2547 Post(s)
Liked: 2830
You can add 2>NUL to get rid of the noise btw

All it does is trigger this logic in libbluray

https://code.videolan.org/videolan/l...igation.c#L324

I know jriver allows you to override this manually, I guess other player software might have similar behaviour and/or different logic for title detection. I know that logic is not infallible but, assuming my understanding is correct and this is what jriver uses for main title detection, it has been reliable for me.

I think libbluray can read iso directly, if so that could be added easily enough.
3ll3d00d is online now  
post #5774 of 8007 Old 03-30-2019, 03:02 AM
Member
 
((( atom )))'s Avatar
 
Join Date: Jan 2010
Posts: 76
Mentioned: 3 Post(s)
Tagged: 0 Thread(s)
Quoted: 38 Post(s)
Liked: 29
Quick OT question because i take it we have people here that know the device well (Tried to directly PM Manni, but his PM seems deactivated): Which setting on an X500 would lead closest to DCI-P3 to be taken as a starting point for a DCI LUT?
((( atom ))) is offline  
post #5775 of 8007 Old 03-30-2019, 06:36 AM
AVS Forum Special Member
 
Manni01's Avatar
 
Join Date: Sep 2008
Posts: 9,343
Mentioned: 358 Post(s)
Tagged: 0 Thread(s)
Quoted: 5634 Post(s)
Liked: 5954
Quote:
Originally Posted by ((( atom ))) View Post
Quick OT question because i take it we have people here that know the device well (Tried to directly PM Manni, but his PM seems deactivated): Which setting on an X500 would lead closest to DCI-P3 to be taken as a starting point for a DCI LUT?
Please don’t post Such OT questions here The answer is the x.v.color profile (that's the widest gamut but saturations will be wrong, you need a 3D LUT on top for DCI-P3). Note that the X500 thread is full of very knowledgeable people

Batch Utility V4.02 May 16 2019 to automate measurements files for madVR with support for BD Folders
JVC Macro feature on Vertex/Vertex2/Integral2/Maestro

Last edited by Manni01; 03-30-2019 at 08:30 AM.
Manni01 is online now  
post #5776 of 8007 Old 03-30-2019, 08:08 AM
Member
 
((( atom )))'s Avatar
 
Join Date: Jan 2010
Posts: 76
Mentioned: 3 Post(s)
Tagged: 0 Thread(s)
Quoted: 38 Post(s)
Liked: 29
Sure, and thanks!

Gesendet von meinem SM-G900F mit Tapatalk
((( atom ))) is offline  
post #5777 of 8007 Old 03-31-2019, 05:59 AM
Member
 
Join Date: Nov 2016
Posts: 122
Mentioned: 1 Post(s)
Tagged: 0 Thread(s)
Quoted: 92 Post(s)
Liked: 56
Thumbs up Standard User Feedback

Quick standard user feedback to the live algo. I watched multiple movies with latest beta and NeoXP settings he posted some time back for 100nit target. I did not see/recognized any brightness jumps at all it just gives a perfect picture in my eyes. I did not looked at specific scenes like our testers I just watched movies and I really like what I saw! Anyhow it is good to know we have our testers with a sharper eye and sense to detect problems and to see Madshi is working like a perfectionist on madvr to get the best out of it. Also Anna and Flo with their tool on measurements being able to play with all kind of combinations helped improving madvr dynamic even further.

Hopefully we will get a new stable release soon so other standard users who are not willing to play with betas can enjoy the major improvements as well. Also I am sure with a official release another effect will be that our experts like Manni, Neo, Fer, Javs, Chros .. will start to further optimize the possible settings to their environment and the standard users will be able to benefit from their knowladge once they post their settings or even guidelines.

Beside that it's really fun to follow all the madvr threads and to see so many people helping each other. At some point we should do a beer, bbq and madvr event ... e.g. on Envy launch .

Looking forward what the future will bring and very happy with current state already!

NoTechi
NoTechi is offline  
post #5778 of 8007 Old 03-31-2019, 04:20 PM
AVS Forum Special Member
 
Manni01's Avatar
 
Join Date: Sep 2008
Posts: 9,343
Mentioned: 358 Post(s)
Tagged: 0 Thread(s)
Quoted: 5634 Post(s)
Liked: 5954
Batch Utility Updated to V3.31

Minor corrections and improvements (link in my sig):

- correct the unnecessary scan of files in the BACKUP folder
- move automatically the index.bdmv.measurements file to the PLAYLIST folder
- create automatically an empty index.bdmv.measurements file in the BDMV folder to prevent re-measuring the title when the folder is scanned the next time
- deleted the Auto Fast/Slow variable so that you can use one or the other method with different shares, for example index.bdmv only with movies and all .mpls files with TV Series.

So the only manual steps required after an automatic measurement session are:

- Identify the main title (unfortunately I wasn't able to make use of @xxxx5 's utility) by dropping the folder in a player such as MPC-BE, displaying the full path of the selected main title in the title bar
- Rename the index.bdmv.measurements file with the name of the main playlist, for example 00800.mpls.measurements
- (optional) Optimize the measurement files one by one with @Soulnight 's tool, as it doesn't support (yet) .mpls files when using the path option.

Enjoy
Colozeus likes this.

Batch Utility V4.02 May 16 2019 to automate measurements files for madVR with support for BD Folders
JVC Macro feature on Vertex/Vertex2/Integral2/Maestro

Last edited by Manni01; 03-31-2019 at 04:28 PM.
Manni01 is online now  
post #5779 of 8007 Old 04-01-2019, 02:14 AM
AVS Forum Special Member
 
3ll3d00d's Avatar
 
Join Date: Sep 2007
Location: London, UK
Posts: 4,231
Mentioned: 273 Post(s)
Tagged: 0 Thread(s)
Quoted: 2547 Post(s)
Liked: 2830
Quote:
Originally Posted by Manni01 View Post

So the only manual steps required after an automatic measurement session are:



- Identify the main title

- Rename the index.bdmv.measurements file with the name of the main playlist, for example 00800.mpls.measurements
You can try the utility I wrote for this https://github.com/3ll3d00d/madmeasu...ases/tag/0.5.0
3ll3d00d is online now  
post #5780 of 8007 Old 04-01-2019, 02:37 AM
AVS Forum Special Member
 
Manni01's Avatar
 
Join Date: Sep 2008
Posts: 9,343
Mentioned: 358 Post(s)
Tagged: 0 Thread(s)
Quoted: 5634 Post(s)
Liked: 5954
Quote:
Originally Posted by 3ll3d00d View Post
You can try the utility I wrote for this https://github.com/3ll3d00d/madmeasu...ases/tag/0.5.0
Thanks but there wasn’t enough info for me to try it. Also it sounded like it wasn’t complete?
I need to know how you can call the .exe from a batch file, how it returns the path to the main playlist and if it supports network mapped drives when called from a batch file in a “for” loop. This is what failed with xxxx5’s utility.
Otherwise does it scan and measure automatically main titles in bd folders in a share from windows?
I’ve spent a lot of time last week trying to use the exe that xxxx5 kindly made available (many thanks again to him for his generous help), I can’t repeat this week!

Batch Utility V4.02 May 16 2019 to automate measurements files for madVR with support for BD Folders
JVC Macro feature on Vertex/Vertex2/Integral2/Maestro

Last edited by Manni01; 04-01-2019 at 03:34 AM.
Manni01 is online now  
post #5781 of 8007 Old 04-01-2019, 03:30 AM
Advanced Member
 
chros73's Avatar
 
Join Date: Jan 2015
Posts: 589
Mentioned: 12 Post(s)
Tagged: 0 Thread(s)
Quoted: 362 Post(s)
Liked: 172
Quote:
Originally Posted by NoTechi View Post
Beside that it's really fun to follow all the madvr threads and to see so many people helping each other. At some point we should do a beer, bbq and madvr event ... e.g. on Envy launch .
That's a pretty good idea! (I thought about an event like this 2 years ago first.) If someone lives in/visits London, I'm up for it!

Ryzen 5 2600,Asus Prime b450-Plus,16GB,MSI GTX 1060 Gaming X 6GB(v385.28),Win10 LTSB 1607,MPC-BEx64+LAV+MadVR,Yamaha RX-A870,LG OLED65B8(04.10.25+PC4:4:[email protected]/24/25/29/30/50/59/60Hz)
chros73 is online now  
post #5782 of 8007 Old 04-01-2019, 08:30 AM
Advanced Member
 
coxy2416's Avatar
 
Join Date: Mar 2010
Location: London, Ontario, Canada
Posts: 891
Mentioned: 16 Post(s)
Tagged: 0 Thread(s)
Quoted: 747 Post(s)
Liked: 431
Quote:
Originally Posted by chros73 View Post
Quote:
Originally Posted by NoTechi View Post
Beside that it's really fun to follow all the madvr threads and to see so many people helping each other. At some point we should do a beer, bbq and madvr event ... e.g. on Envy launch [IMG class=inlineimg]/forum/images/smilies/wink.gif[/IMG].
That's a pretty good idea! (I thought about an event like this 2 years ago first.) If someone lives in/visits London, I'm up for it! [IMG class=inlineimg]/forum/images/smilies/smile.gif[/IMG]
Is that London Canada or London England? Lol
chros73 likes this.
coxy2416 is online now  
post #5783 of 8007 Old 04-01-2019, 09:15 AM
Advanced Member
 
tommarra's Avatar
 
Join Date: Aug 2013
Location: USA
Posts: 635
Mentioned: 3 Post(s)
Tagged: 0 Thread(s)
Quoted: 641 Post(s)
Liked: 384
So any new builds or is the v78 the release candidate?

Gear: Fronts: B&W 803D3 | Center: B&W HTM2D3 | Surrounds: B&W 705S2 | Backs: B&W DM601S3 | Heights: Definitive Techonlogy ProCinema 1000 | Receiver & Amps: Anthem MRX 720 + Emotiva BasX-5 | Projector: JVC NX7 | Source: HTPC with Nvidia 2070, Kodi + External Player: MPC-HC with MadVR (for Blu-ray rips), Nvidia Shield (for streaming content)
tommarra is offline  
post #5784 of 8007 Old 04-01-2019, 10:02 AM
Advanced Member
 
chros73's Avatar
 
Join Date: Jan 2015
Posts: 589
Mentioned: 12 Post(s)
Tagged: 0 Thread(s)
Quoted: 362 Post(s)
Liked: 172
Quote:
Originally Posted by coxy2416 View Post
Is that London Canada or London England? Lol
Come'n, there's only 1 true London
coxy2416 likes this.

Ryzen 5 2600,Asus Prime b450-Plus,16GB,MSI GTX 1060 Gaming X 6GB(v385.28),Win10 LTSB 1607,MPC-BEx64+LAV+MadVR,Yamaha RX-A870,LG OLED65B8(04.10.25+PC4:4:[email protected]/24/25/29/30/50/59/60Hz)
chros73 is online now  
post #5785 of 8007 Old 04-01-2019, 11:31 AM
Member
 
Join Date: Nov 2016
Posts: 122
Mentioned: 1 Post(s)
Tagged: 0 Thread(s)
Quoted: 92 Post(s)
Liked: 56
Quote:
Originally Posted by chros73 View Post
That's a pretty good idea! (I thought about an event like this 2 years ago first.) If someone lives in/visits London, I'm up for it!

I was more thinking of Madshis garden :P


NoTechi
chros73 likes this.
NoTechi is offline  
post #5786 of 8007 Old 04-01-2019, 12:06 PM
Advanced Member
 
chros73's Avatar
 
Join Date: Jan 2015
Posts: 589
Mentioned: 12 Post(s)
Tagged: 0 Thread(s)
Quoted: 362 Post(s)
Liked: 172
Quote:
Originally Posted by NoTechi View Post
Quick standard user feedback to the live algo. I watched multiple movies with latest beta and NeoXP settings he posted some time back for 100nit target. I did not see/recognized any brightness jumps at all it just gives a perfect picture in my eyes. I did not looked at specific scenes like our testers I just watched movies and I really like what I saw!
I can only tell the same.
Thanks for Neo-XP and Fer for the relentless testing and madshi for his work!
I attached the setting that I've used at 120 nits for a week now. The difference from NeoXP's settings are (apart from display peak nits and the scene detection options) dynamic tuning (50 vs 55) and dynamic clipping (disabled vs 25).
Attached Thumbnails
Click image for larger version

Name:	capture_001_01042019_184743.png
Views:	147
Size:	52.9 KB
ID:	2547436  

Ryzen 5 2600,Asus Prime b450-Plus,16GB,MSI GTX 1060 Gaming X 6GB(v385.28),Win10 LTSB 1607,MPC-BEx64+LAV+MadVR,Yamaha RX-A870,LG OLED65B8(04.10.25+PC4:4:[email protected]/24/25/29/30/50/59/60Hz)
chros73 is online now  
post #5787 of 8007 Old 04-01-2019, 12:52 PM
AVS Forum Special Member
 
3ll3d00d's Avatar
 
Join Date: Sep 2007
Location: London, UK
Posts: 4,231
Mentioned: 273 Post(s)
Tagged: 0 Thread(s)
Quoted: 2547 Post(s)
Liked: 2830
Quote:
Originally Posted by Manni01 View Post
Thanks but there wasn’t enough info for me to try it. Also it sounded like it wasn’t complete?
I need to know how you can call the .exe from a batch file, how it returns the path to the main playlist and if it supports network mapped drives when called from a batch file in a “for” loop.
if you just want to get the main playlist for a single title then you can do it like

Code:
madmeasurer.exe -s "w:/A Quiet Place/BDMV/index.bdmv" 2>NUL
00800.mpls
or

Code:
madmeasurer.exe -s -d0 "w:/A Quiet Place" 2>NUL
00800.mpls
so assuming you can assign the output from a cmd to some variable then you can have nothing but the main playlist name (as discovered by libbluray)

if you run it with -h then it will print some help text btw

if you want it to copy the existing index.bdmv.measurements as well then use -c (and add -vv if you want to see some output about what it was doing)

so with existing xyz.mpls.measurements file

Code:
madmeasurer.exe -s -d0 -c -vv "w:/A Quiet Place" 2>NUL
2019-04-01 19:40:41,994 - verbose - INFO - Searching w:/A Quiet Place/BDMV/index.bdmv
2019-04-01 19:40:41,994 - verbose - INFO - Found w:/A Quiet Place/BDMV/index.bdmv
2019-04-01 19:40:42,104 - verbose - INFO - w:/A Quiet Place/BDMV/index.bdmv - main title is 00800.mpls
00800.mpls
2019-04-01 19:40:42,119 - verbose - INFO - Ignoring w:\A Quiet Place\BDMV\index.bdmv.measurements , w:\A Quiet Place\BDMV\PLAYLIST\00800.mpls.measurements exists and force=False
with -f to force it to overwrite anyway

Code:
madmeasurer.exe -s -d0 -c -vv -f "w:/A Quiet Place" 2>NUL
2019-04-01 19:42:25,656 - verbose - INFO - Searching w:/A Quiet Place/BDMV/index.bdmv
2019-04-01 19:42:25,656 - verbose - INFO - Found w:/A Quiet Place/BDMV/index.bdmv
2019-04-01 19:42:25,765 - verbose - INFO - w:/A Quiet Place/BDMV/index.bdmv - main title is 00800.mpls
00800.mpls
2019-04-01 19:42:25,765 - verbose - INFO - Overwriting w:\A Quiet Place\BDMV\index.bdmv.measurements -> w:\A Quiet Place\BDMV\PLAYLIST\00800.mpls.measurements as force=False
2019-04-01 19:42:25,765 - verbose - WARNING - Copying w:\A Quiet Place\BDMV\index.bdmv.measurements to w:\A Quiet Place\BDMV\PLAYLIST\00800.mpls.measurements

Quote:
Originally Posted by Manni01 View Post
Otherwise does it scan and measure automatically main titles in bd folders in a share from windows?
I have only just added measurements (via -m) and tested it briefly, seems to work ok and reports progress to stdout.

Not aware of any shared drive issues, the examples above are all mapped network shares and I could replace that with the UNC name without apparent issues

Code:
madmeasurer -s -d 0 //my-unraid-server/films/Ant-Man 2>NULL
00800.mpls
It can also search multiple paths so this means you could do something like

Code:
madmeasurer -c -m w: x: "z:/Some Shared Drive"
in this case it will add /**/BDMV/index.bdmv to each supplied path and then handle each matching disc found. This search will be quicker if you limit the search depth so you can add -d1 and it will search like /*/BDMV/index.bdmv (or -d2 for /*/*/BDMV/index.bdmv and so on).

if you find it locates the wrong main playlist then use -vvv and remove 2>NUL and you'll get some extra output from libbluray which might give you a clue as to why it picked that particular playlist. So far I've found that LAVSplitter, mpc-be, mpc-hc and libbluray all have slightly different algorithms to do this job so results will vary from app to app. I think jriver must have its own custom code too which unfortunately it doesn't seem to surface in the library. fwiw libbluray mainly considers duration, no of audio tracks, video quality (resolution) and audio quality when picking the main title.
Manni01 and neo_2009 like this.

Last edited by 3ll3d00d; 04-01-2019 at 12:57 PM.
3ll3d00d is online now  
post #5788 of 8007 Old 04-02-2019, 01:21 AM
Member
 
Join Date: Sep 2018
Posts: 52
Mentioned: 8 Post(s)
Tagged: 0 Thread(s)
Quoted: 28 Post(s)
Liked: 14
as i understand, madmeasurer can't measure iso file
madmeasurer -m -i isofile (or something like that)

so i have to mount the isofile before searching the right mpls before measuring it
So, even if your seaching tool is far quicker then mpc , i stay with it as mpc-be give me the letter of mount bd and the mpls.
xxxx5 is offline  
post #5789 of 8007 Old 04-02-2019, 07:46 PM
Member
 
ryrynz's Avatar
 
Join Date: Jan 2009
Posts: 34
Mentioned: 1 Post(s)
Tagged: 0 Thread(s)
Quoted: 20 Post(s)
Liked: 13
Quote:
Originally Posted by tommarra View Post
So any new builds or is the v78 the release candidate?
There will be more.. Never seen madshi release an RC, it'll just be last test build then a final optimized release.
tommarra likes this.
ryrynz is offline  
post #5790 of 8007 Old 04-04-2019, 11:05 AM
AVS Forum Special Member
 
Manni01's Avatar
 
Join Date: Sep 2008
Posts: 9,343
Mentioned: 358 Post(s)
Tagged: 0 Thread(s)
Quoted: 5634 Post(s)
Liked: 5954
Quote:
Originally Posted by 3ll3d00d View Post
if you just want to get the main playlist for a single title then you can do it like

Code:
madmeasurer.exe -s "w:/A Quiet Place/BDMV/index.bdmv" 2>NUL
00800.mpls
Thanks for all the info. I had a bit of time today and I tried a variant of this from my batch:

madmeasurer.exe --use-lav -vv "w:/A Quiet Place/BDMV/index.bdmv" 2>NUL

but the util doesn't detect the full path, instead it adds /**/BDMV/index.bdmv to the file specified above, so it displays:

Searching w:/A Quiet Place/BDMV/index.bdmv/**/BDMV/index.bdmv

and returns nothing.

Of course I have replaced the sample path above with an actual, existing path to an existing index.bdmv.

I use --use-lav because your tool doesn't seem to detect my libbdav install in the jRiver plugin folder (installed by jRiver) and returns many errors othrwise. Also as jRiver has its own algo to detect the main playlist, I'd rather measure the correct list for LAV/MPC-BE.

It works if I use a share and ask it to measure but I don't think it's able to do what I want, even if I use the -c option, which is to: find the name of the main playlist in each /BDMV folder, measure index.bdmv, copy it to the playlist folder with the name of the main playlist (and not as index/bdmv).

Last question: if I wanted to scan shares such as D:\, with a title in each folder, and wanted it to scan index.bdmv in the BDMV folder but not in the BDMV\BACKUP folder, should I use -d1? That's my understanding from your post but I'm not 100% sure. EDIT: I tried to scan a share but it remeasures all files when an index.bdmv.measurements already exists, even if I don't use -f.

I've PMed you my email address so we don't clutter the thread if there is no easy solution.

Thanks!

Batch Utility V4.02 May 16 2019 to automate measurements files for madVR with support for BD Folders
JVC Macro feature on Vertex/Vertex2/Integral2/Maestro

Last edited by Manni01; 04-04-2019 at 11:40 AM.
Manni01 is online now  
Sponsored Links
Advertisement
 
Reply Digital Hi-End Projectors - $3,000+ USD MSRP

Tags
dynamic tone mapping , hdr , madvr , sdr , ton mapping

Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page


Forum Jump: 

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off