INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 7 8 9 10 [11] 12 13 14   Go Down

Author Topic: "Swag of Tools" : Collection of Utilities for MC  (Read 122932 times)

arcspin

  • Galactic Citizen
  • ****
  • Posts: 391
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #500 on: June 18, 2021, 04:53:21 pm »

God morning jmone,
There was a lot of back and forth in this thread while you were asleep.  ;D

Feel free to delete my (or perhaps others as well) posts as you please.
Logged
Hardware: Intel Core i5-8600K 16GB RAM, ASUS GeForce RTX 2080 8GB DUAL OC
Software: Windows 10 Home 64-bit, version 2004, JRiver MC 29, MadVr 0.92.17 (Beta 113), NVIDIA driver 457.09
Projector: JVC DLA-I X5500 (RS420, X570R) -
Screen: DNP Supernova 08-85
Processor: Anthem AVM 70
Power amp: XTZ A2-400 for Front & Center - XTZ A2-300 for Surround & Height channels
Speakers: Arendal 1723 S Monitor for Front & Center, Linn Unik for Front Height, Rear Height, Surround & Surround back. Elipson Planet M for Top Middle.
Sub: Arendal 1723 1S

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14497
  • I won! I won!
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #501 on: June 18, 2021, 04:56:39 pm »

So I read!  Seems there was plenty of progress :)  I'll leave the posts (for now anyway) as it seems there is Icons packs etc as attachments and discussion around the aspect ratios others will find of benefit.
Logged
JRiver CEO Elect

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14497
  • I won! I won!
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #502 on: June 18, 2021, 05:49:58 pm »

FYI - When you run SOT --> Configuration --> Save Configuration it creates the "Crop" and "FileKey" fields for you. 

I can also create other fields, and like the FileKey it can be a "Calculated Field".  Would it be easier if SOT also did the same for "Aspect Ratio (Crop)" if that is what every one is using?  ...and if so, is there an agreed on initial Expression that should be used (note: you could change it later in MC and such changes would not be changed by SOT)?
Logged
JRiver CEO Elect

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 566
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #503 on: June 19, 2021, 12:09:28 am »

Of course.
Here is an updated zip-folder.

The rectangle in each icon is proportionally wider as the aspect ratio changes.
I have titled them after their aspect ratio name.

1.33:1 (4:3) ACADEMY APERTURE
1.66:1 (16:10) EUROPEAN WIDESCREEN
1.78:1 (16:9) WIDESCREEN TELEVISION
1.85:1 AMERICAN WIDESCREEN
2.35:1 ANAMORPHIC WIDESCREEN
2.39:1 ANAMORPHIC WIDESCREEN
2.55:1 CINEMASCOPE
2.76:1 ULTRA PANAVISION

But nobody really likes the 2.20 format? ;D

Curious about this thing  ?

anyway thanks arcspin, nice job
Logged

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14497
  • I won! I won!
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #504 on: June 19, 2021, 01:19:45 am »

According to https://shotonwhat.com/distributed-aspect-ratio/2-201 there were 65 movies distributed in 2.20:1 with the latest being Dunkirk (distributed in 1.43:1, 1.90:1, 2.20:1, and 2.35:1).... I checked my UHD version it is presented in a std 1.78 (3840 x 2160)
Logged
JRiver CEO Elect

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 566
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #505 on: June 19, 2021, 01:27:58 am »

edit
Logged

arcspin

  • Galactic Citizen
  • ****
  • Posts: 391
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #506 on: June 19, 2021, 03:16:58 am »

Hello,
I have updated previous zip-folder with some new icons below

2.00:1 SUPERSCOPE
2.20:1 SUPER PANAVISION
2.35:1 CINEMASCOPE (only changed the name to CINEMASCOPE. ANAMORPHIC WIDESCREEN is still there as an icon)
2.65:1 CINERAMA
2.80:1 ULTRA PANAVISION
2.85:1 ULTRA PANAVISION


Perhaps Zybex with his special sets of skills can update the "Aspect Ratio (Crop)" Library Field;
Quote from Taken and applicable to Zybex: "But what I do have are a very particular set of skills; skills I have acquired over a very long career. Skills that make me a nightmare for people like you."

It is probably an easy task but I'm a bit confused about the order of aspect ratios in the "Aspect Ratio (Crop)" Library Field.
"empty, 1.38, 1.33, 1.69, 1.66, 1.80, 1.78, 1.88, 1.85, 2.37, 2.35, 2.50, 2.39, 2.90, 2.76, 5.0, wide!"
It doesn't have any order, or does it?
Logged
Hardware: Intel Core i5-8600K 16GB RAM, ASUS GeForce RTX 2080 8GB DUAL OC
Software: Windows 10 Home 64-bit, version 2004, JRiver MC 29, MadVr 0.92.17 (Beta 113), NVIDIA driver 457.09
Projector: JVC DLA-I X5500 (RS420, X570R) -
Screen: DNP Supernova 08-85
Processor: Anthem AVM 70
Power amp: XTZ A2-400 for Front & Center - XTZ A2-300 for Surround & Height channels
Speakers: Arendal 1723 S Monitor for Front & Center, Linn Unik for Front Height, Rear Height, Surround & Surround back. Elipson Planet M for Top Middle.
Sub: Arendal 1723 1S

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 566
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #507 on: June 19, 2021, 04:13:40 am »

Thank you!! :D
Logged

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2674
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #508 on: June 19, 2021, 05:49:57 am »

Here's a great ad from Liam: https://www.youtube.com/watch?v=R2zWUX9diVw  ;D

Arcspin, why add the 2.80 and 2.85? I don't see them listed anywhere. I think it's fine to display 2.76 for any movie that happens to be in those ratios? All other ARs are ranges anyway, ie, any movie between 2.47 and 2.60 will show up as 2.55 [note: using new thresholds, read below]

I've added all other ARs to the expression - let me know if I should add those 2 as well. I've also added 1.00 and 'portrait' for home videos.
I also recalculated the coeficients/split points for the ratios - they're now the midpoint between 2 consecutive ARs. For example, the midpoint between AR 2.0 and AR 2.2 is 2.10 - so a movie with the calculated AR lower than 2.10 (but higher than the previous threshold) will show 2.0; and a movie higher than 2.10 (but lower than the next threshold) will show 2.20.

Code:
Code: [Select]
save(ifelse(not(isempty([crop])), Math(ListItem([Crop],0,:)//ListItem([Crop],1,:)),/
not(isempty([Aspect Ratio])), Math(Replace([Aspect Ratio],:,//)),/
1,Math(Replace([Dimensions],x,//))),v_ARCalculated)/
IfCase(Replace([v_ARCalculated],/,,.), 3, 0.30, unknown, 0.9, portrait, 1.17, 1.00, 1.5, 1.33, 1.72, 1.66, 1.82, 1.78, 1.93, 1.85, 2.1, 2.00, 2.28, 2.20, 2.37, 2.35, 2.47, 2.39, 2.6, 2.55, 2.71, 2.65, 2.99, 2.76, 20, wide)

Missing PNGs for this expression:
Aspect Ratio empty
Aspect Ratio 1.00
Aspect Ratio portrait
Aspect Ratio wide

Jmone, I think it would be nice for SoT to create the field with this expression.
Logged

arcspin

  • Galactic Citizen
  • ****
  • Posts: 391
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #509 on: June 19, 2021, 06:01:11 am »

Hi, No reason really.
I just went thru most of the aspect ratios I could find on this webpage and made som more icons.
http://www.dvdlog.de/filmformate/filmformate-en.htm#cinemascope

Yeah, that 2.80:1 looks like it is redundant and perhaps others but I thought when I was in the mood I just crank out some icons.  ;D

Spot on with that add, gotta love Liam...


Logged
Hardware: Intel Core i5-8600K 16GB RAM, ASUS GeForce RTX 2080 8GB DUAL OC
Software: Windows 10 Home 64-bit, version 2004, JRiver MC 29, MadVr 0.92.17 (Beta 113), NVIDIA driver 457.09
Projector: JVC DLA-I X5500 (RS420, X570R) -
Screen: DNP Supernova 08-85
Processor: Anthem AVM 70
Power amp: XTZ A2-400 for Front & Center - XTZ A2-300 for Surround & Height channels
Speakers: Arendal 1723 S Monitor for Front & Center, Linn Unik for Front Height, Rear Height, Surround & Surround back. Elipson Planet M for Top Middle.
Sub: Arendal 1723 1S

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2674
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #510 on: June 19, 2021, 06:07:21 am »

OK. Reading the section on that page about the 2.76 format, it doesn't actually mention 2.85 anywhere - it's just the icon they've put there. I think the actual format name is 2.76 so that would be enough. But... any other opinions? It's easy to add either way. The current expression calls '2.76' to anything below 2.99, and 'wide' to anything above that.

Please recheck my post above, I've edited it some 3000 times...
For the 'portrait' icon, perhaps you can draw a vertical box with 'portrait' written vertically on the side :)
Logged

arcspin

  • Galactic Citizen
  • ****
  • Posts: 391
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #511 on: June 19, 2021, 06:13:16 am »

Is Wide, wider that all other icons?
Logged
Hardware: Intel Core i5-8600K 16GB RAM, ASUS GeForce RTX 2080 8GB DUAL OC
Software: Windows 10 Home 64-bit, version 2004, JRiver MC 29, MadVr 0.92.17 (Beta 113), NVIDIA driver 457.09
Projector: JVC DLA-I X5500 (RS420, X570R) -
Screen: DNP Supernova 08-85
Processor: Anthem AVM 70
Power amp: XTZ A2-400 for Front & Center - XTZ A2-300 for Surround & Height channels
Speakers: Arendal 1723 S Monitor for Front & Center, Linn Unik for Front Height, Rear Height, Surround & Surround back. Elipson Planet M for Top Middle.
Sub: Arendal 1723 1S

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2674
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #512 on: June 19, 2021, 06:19:42 am »

Yes, it's anything above 3. We need to stop somewhere... some IMAX can be 4:1 or even 12:1 for 360 footage. Maybe an icon like this: [<- WIDE ->]

Do you also want to add photography formats? 1.25, 1.50 and 3.00 seem to be common.
Logged

arcspin

  • Galactic Citizen
  • ****
  • Posts: 391
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #513 on: June 19, 2021, 06:29:38 am »

Ok, here are four more icons...!
I have updated the zip file in previous post

? EMPTY
1:1 SQUARE
? WIDE
? PORTRAIT


I'm fine with aspect ratio 2.76:1, no need to add 2.80:1 and 2.85:1 to the equation.

I can take a shot at the photo ratios later

Logged
Hardware: Intel Core i5-8600K 16GB RAM, ASUS GeForce RTX 2080 8GB DUAL OC
Software: Windows 10 Home 64-bit, version 2004, JRiver MC 29, MadVr 0.92.17 (Beta 113), NVIDIA driver 457.09
Projector: JVC DLA-I X5500 (RS420, X570R) -
Screen: DNP Supernova 08-85
Processor: Anthem AVM 70
Power amp: XTZ A2-400 for Front & Center - XTZ A2-300 for Surround & Height channels
Speakers: Arendal 1723 S Monitor for Front & Center, Linn Unik for Front Height, Rear Height, Surround & Surround back. Elipson Planet M for Top Middle.
Sub: Arendal 1723 1S

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2674
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #514 on: June 19, 2021, 06:51:57 am »

Thanks Arcspin,
you should name ALL files "Aspect <something>" so that they also work with the same expression. The names need to match what's on the expression:

Aspect empty.png (would 'unknown' be better?)
Aspect 1.00.png  (not 'square')
Aspect portrait.png
Aspect wide.png
Logged

arcspin

  • Galactic Citizen
  • ****
  • Posts: 391
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #515 on: June 19, 2021, 06:58:06 am »

Great,
I will in a couple of hours.

Thanx
Logged
Hardware: Intel Core i5-8600K 16GB RAM, ASUS GeForce RTX 2080 8GB DUAL OC
Software: Windows 10 Home 64-bit, version 2004, JRiver MC 29, MadVr 0.92.17 (Beta 113), NVIDIA driver 457.09
Projector: JVC DLA-I X5500 (RS420, X570R) -
Screen: DNP Supernova 08-85
Processor: Anthem AVM 70
Power amp: XTZ A2-400 for Front & Center - XTZ A2-300 for Surround & Height channels
Speakers: Arendal 1723 S Monitor for Front & Center, Linn Unik for Front Height, Rear Height, Surround & Surround back. Elipson Planet M for Top Middle.
Sub: Arendal 1723 1S

arcspin

  • Galactic Citizen
  • ****
  • Posts: 391
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #516 on: June 19, 2021, 09:07:05 am »

I have updated the icons as per suggestion.

Aspect unknown.png
Aspect 1.00.png
Aspect portrait.png
Aspect wide.png


I also took the liberty and included (and changed empty to unknown) the expression that goes with these icons in my previous post where the zipped icons are.
Logged
Hardware: Intel Core i5-8600K 16GB RAM, ASUS GeForce RTX 2080 8GB DUAL OC
Software: Windows 10 Home 64-bit, version 2004, JRiver MC 29, MadVr 0.92.17 (Beta 113), NVIDIA driver 457.09
Projector: JVC DLA-I X5500 (RS420, X570R) -
Screen: DNP Supernova 08-85
Processor: Anthem AVM 70
Power amp: XTZ A2-400 for Front & Center - XTZ A2-300 for Surround & Height channels
Speakers: Arendal 1723 S Monitor for Front & Center, Linn Unik for Front Height, Rear Height, Surround & Surround back. Elipson Planet M for Top Middle.
Sub: Arendal 1723 1S

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14497
  • I won! I won!
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #517 on: June 20, 2021, 03:24:18 am »


Code:
Code: [Select]
save(ifelse(not(isempty([crop])), Math(ListItem([Crop],0,:)//ListItem([Crop],1,:)),/
not(isempty([Aspect Ratio])), Math(Replace([Aspect Ratio],:,//)),/
1,Math(Replace([Dimensions],x,//))),v_ARCalculated)/
IfCase(Replace([v_ARCalculated],/,,.), 3, 0.30, unknown, 0.9, portrait, 1.17, 1.00, 1.5, 1.33, 1.72, 1.66, 1.82, 1.78, 1.93, 1.85, 2.1, 2.00, 2.28, 2.20, 2.37, 2.35, 2.47, 2.39, 2.6, 2.55, 2.71, 2.65, 2.99, 2.76, 20, wide)

Jmone, I think it would be nice for SoT to create the field with this expression.

I've made the changes to SOT to create the "Aspect Ratio (Crop)" field and add the expression which works fine though all they are all prefixed with a ";" (see Pic).  To check I even copied and pasted the expression above directly into the MC Library Field and it looks as follows.

Code: [Select]
save(ifelse(not(isempty([crop])), Math(ListItem([Crop],0,:)//ListItem([Crop],1,:)),/;not(isempty([Aspect Ratio])), Math(Replace([Aspect Ratio],:,//)),/;1,Math(Replace([Dimensions],x,//))),v_ARCalculated)/;IfCase(Replace([v_ARCalculated],/,,.), 3, 0.30, unknown, 0.9, portrait, 1.17, 1.00, 1.5, 1.33, 1.72, 1.66, 1.82, 1.78, 1.93, 1.85, 2.1, 2.00, 2.28, 2.20, 2.37, 2.35, 2.47, 2.39, 2.6, 2.55, 2.71, 2.65, 2.99, 2.76, 20, wide)
Logged
JRiver CEO Elect

arcspin

  • Galactic Citizen
  • ****
  • Posts: 391
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #518 on: June 20, 2021, 03:34:40 am »

Question, how many movies at a time is advisable to select when measuring crop factor?

I have set SOT to look 150 sec (two and a halv minute) into the movie.
I will clear out all other fields in the MediaInfo tab, so SOT will only be measuring the crop factor.
Logged
Hardware: Intel Core i5-8600K 16GB RAM, ASUS GeForce RTX 2080 8GB DUAL OC
Software: Windows 10 Home 64-bit, version 2004, JRiver MC 29, MadVr 0.92.17 (Beta 113), NVIDIA driver 457.09
Projector: JVC DLA-I X5500 (RS420, X570R) -
Screen: DNP Supernova 08-85
Processor: Anthem AVM 70
Power amp: XTZ A2-400 for Front & Center - XTZ A2-300 for Surround & Height channels
Speakers: Arendal 1723 S Monitor for Front & Center, Linn Unik for Front Height, Rear Height, Surround & Surround back. Elipson Planet M for Top Middle.
Sub: Arendal 1723 1S

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14497
  • I won! I won!
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #519 on: June 20, 2021, 03:36:55 am »

It does one at a time, so you could do them all in one hit if you want and SOT will just work through the list.
Logged
JRiver CEO Elect

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14497
  • I won! I won!
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #520 on: June 20, 2021, 03:53:24 am »

....and MediaInfo.exe is still always running over the items you select.  As per the OP,
The script will then in order:
- Analyse Selected File(s) using MediaInfo
- Save as an "Extra" File the output of MediaInfo in the same directory under NAME_MediaInfo.txt
- Update the "Compression" Tag with "+Atmos" or "+DTS:X" if the file contains it
- Update the "Languages" Tag with any of the languages if the file contains it that information
- Optionally Update any MC Field with data from the MediaInfo Report


 So blanking out the MediaInfo fields is the only optional part.  I could add a checkbox to disable running MediaInfo.exe all together but the point is to get this info so I'm not so keen.
Logged
JRiver CEO Elect

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14497
  • I won! I won!
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #521 on: June 20, 2021, 04:01:33 am »

...another thing you may not have found, is that once you have SOT setup as you want, you can simply run it from MC itself.
1st Time:  Select Item(s) --> Right Click --> Send To (external) --> Swag of Tools - Media Info

It is then added to your Recent List so from then on you can just select your Item(s) --> Right Click --> Swag of Tools - Media Info to run it.
Logged
JRiver CEO Elect

arcspin

  • Galactic Citizen
  • ****
  • Posts: 391
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #522 on: June 20, 2021, 04:12:50 am »

Thank you for the informative text, good to know.
I will for sure try out the "Send to SOT".

I have already run SOT on all my movies (so all the basic and optional info is gathered and written to the MediaInfo.txt file) and therefor wondered how to make this additional identification of crop factor as lean as possible.

How much longer (in sec, millisec?) will each MediaInfo.exe run take on movies that already have had MediaInfo.exe gone over that movie?
If this will take significally longer time then perhaps a checkbox might come in handy
I'm however fine with MediaInfo.exe is running on my additional run of SOT, while also blanking out other MediaInfo fields.

Logged
Hardware: Intel Core i5-8600K 16GB RAM, ASUS GeForce RTX 2080 8GB DUAL OC
Software: Windows 10 Home 64-bit, version 2004, JRiver MC 29, MadVr 0.92.17 (Beta 113), NVIDIA driver 457.09
Projector: JVC DLA-I X5500 (RS420, X570R) -
Screen: DNP Supernova 08-85
Processor: Anthem AVM 70
Power amp: XTZ A2-400 for Front & Center - XTZ A2-300 for Surround & Height channels
Speakers: Arendal 1723 S Monitor for Front & Center, Linn Unik for Front Height, Rear Height, Surround & Surround back. Elipson Planet M for Top Middle.
Sub: Arendal 1723 1S

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14497
  • I won! I won!
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #523 on: June 20, 2021, 04:30:28 am »

On Most videos mediainfo.exe is quick (a few seconds), but some compound BD it takes much longer.... so it is hard to tell.

I just did a test, and on my system:
- 25 random MKV/AVI Files took about 20sec, so under 1 sec each
- 25 random BD took about 7min, so on average about 17 sec (though some were much faster and others very very slow).
Logged
JRiver CEO Elect

arcspin

  • Galactic Citizen
  • ****
  • Posts: 391
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #524 on: June 20, 2021, 04:39:10 am »

Alright!
Good info for sure.

I'm planning on dividing up running SOT on parts of my large movie (MKV) collection in order to keep some sense of structure.
I'm in no hurry so I can have this little project going for a while.

BTW, This is (actual Crop Info value ) an awesome addition to SOT!!!

//arcspin
Logged
Hardware: Intel Core i5-8600K 16GB RAM, ASUS GeForce RTX 2080 8GB DUAL OC
Software: Windows 10 Home 64-bit, version 2004, JRiver MC 29, MadVr 0.92.17 (Beta 113), NVIDIA driver 457.09
Projector: JVC DLA-I X5500 (RS420, X570R) -
Screen: DNP Supernova 08-85
Processor: Anthem AVM 70
Power amp: XTZ A2-400 for Front & Center - XTZ A2-300 for Surround & Height channels
Speakers: Arendal 1723 S Monitor for Front & Center, Linn Unik for Front Height, Rear Height, Surround & Surround back. Elipson Planet M for Top Middle.
Sub: Arendal 1723 1S

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14497
  • I won! I won!
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #525 on: June 20, 2021, 04:45:52 am »

Thanks!  I tend to only be able to work on SOT in-between real life... and I've found a few other (internal) changes I've made so I can look at adding the mediainfo.exe part optional as I bring these together.  The current version will log and stop if it hits an MCWS error, but I'm making it so it will just log the error and move on.  So you are best to do it in batches at present anyway.
Logged
JRiver CEO Elect

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2674
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #526 on: June 20, 2021, 05:00:42 am »

I've made the changes to SOT to create the "Aspect Ratio (Crop)" field and add the expression which works fine though all they are all prefixed with a ";" (see Pic).  To check I even copied and pasted the expression above directly into the MC Library Field and it looks as follows.

That's because you added (or MC added?) several ';' chars to the one-liner expression.
The 4-line expression ends each line with '/' to prevent MC from outputing a line break. On your one-liner, these were replaced with '/;' which outputs a semicolon. The fixed one liner is:
Code: [Select]
save(ifelse(not(isempty([crop])), Math(ListItem([Crop],0,:)//ListItem([Crop],1,:)),not(isempty([Aspect Ratio])), Math(Replace([Aspect Ratio],:,//)),1,Math(Replace([Dimensions],x,//))),v_ARCalculated)IfCase(Replace([v_ARCalculated],/,,.), 3, 0.30, unknown, 0.9, portrait, 1.17, 1.00, 1.5, 1.33, 1.72, 1.66, 1.82, 1.78, 1.93, 1.85, 2.1, 2.00, 2.28, 2.20, 2.37, 2.35, 2.47, 2.39, 2.6, 2.55, 2.71, 2.65, 2.99, 2.76, 20, wide)

I'm assuming you didn't do this on purpose. MC 28.0.24 had a bug preventing multiline expressions, fixed in 28.0.25 - was that the issue?
Logged

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14497
  • I won! I won!
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #527 on: June 20, 2021, 05:09:27 am »

Thanks - All I did was paste your multi line into MC to get the one liner, but that generated is leading ";"  (on MC28 anyway).  The new one liner works perfectly and I'll use that for SOT.
Logged
JRiver CEO Elect

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14497
  • I won! I won!
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #528 on: June 20, 2021, 05:11:09 am »

...and yes, I'm on MC28.0.24 when I was doing this :)
Logged
JRiver CEO Elect

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14497
  • I won! I won!
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #529 on: June 20, 2021, 05:43:01 am »

@arcspin - FWI, Another thought.  When SOT is running it does not "lock up" MC.  So you can run it in the background and still do other things.  At present I'm using SOT over 1,000 videos (in batches) while watching a video just fine.
Logged
JRiver CEO Elect

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14497
  • I won! I won!
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #530 on: June 21, 2021, 03:03:03 am »

Couple more changes

Test Version: 210621
- Added the ability to enter in the desired point in the video to start measuring the Crop Factor
- Simple check (and warning in the log) if the desired point in the video to start measuring the Crop Factor is greater than the duration of the video itself (and SOT will instead measure from 1 sec so processing over lots of files can continue)
- Your preferred value will be remembered between runs (stored in the INI file)
- If the value is blank or 0 then the Crop Factor will not run (so as to not slow down those who just want the Media Info meta data but don't want to check for the crop info)
- Changed the Language parsing to remove duplicates, padding + it will not call MCWS if there is nothing to change
- SOT will now create the Calculated "Aspect Ration (Crop)" field with zybex's equation
- SOT MediaInfo will no longer stop processing on a MCWS failure (but will continue to log them).
- Bug Fix:  If SOT dropped to 1sec due to a short file length when determining the Crop Factor it would not revert to the preferred settings for subsequent files


Note: SOT only creates the MC fields when you do the "Configuration --> Save Configuration".  So if you want to test this and you already have the "Aspect Ration (Crop)" field in MC then you will need to delete it first from MC.

As usual, let me know what I broke!

Logged
JRiver CEO Elect

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 566
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #531 on: June 21, 2021, 07:40:32 am »

Windows Defender blocks the download because it detects a virus ?
Logged

arcspin

  • Galactic Citizen
  • ****
  • Posts: 391
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #532 on: June 21, 2021, 11:29:19 am »

I have now tested the "Test Version: 210621".
It works as described.
I had no problem with SOT and Windows Defender didn't block the download.


Great work and thanx!

//arcspin

Logged
Hardware: Intel Core i5-8600K 16GB RAM, ASUS GeForce RTX 2080 8GB DUAL OC
Software: Windows 10 Home 64-bit, version 2004, JRiver MC 29, MadVr 0.92.17 (Beta 113), NVIDIA driver 457.09
Projector: JVC DLA-I X5500 (RS420, X570R) -
Screen: DNP Supernova 08-85
Processor: Anthem AVM 70
Power amp: XTZ A2-400 for Front & Center - XTZ A2-300 for Surround & Height channels
Speakers: Arendal 1723 S Monitor for Front & Center, Linn Unik for Front Height, Rear Height, Surround & Surround back. Elipson Planet M for Top Middle.
Sub: Arendal 1723 1S

arcspin

  • Galactic Citizen
  • ****
  • Posts: 391
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #533 on: July 03, 2021, 03:54:11 am »

Hi,
I'll share some info that might come in handy.

I went over all my movies with SOT and got Crop factor values.
A couple of movies came back unknown, wide, or another strange Crop factor.
I just redid those movies and increased time into video to measure Crop factor and that fixed that problem and I got back correct Crop values.

Thank you jmone for your time and effort in making SOT.

Have a great Summer or Winter  ;D ;D ;D
Logged
Hardware: Intel Core i5-8600K 16GB RAM, ASUS GeForce RTX 2080 8GB DUAL OC
Software: Windows 10 Home 64-bit, version 2004, JRiver MC 29, MadVr 0.92.17 (Beta 113), NVIDIA driver 457.09
Projector: JVC DLA-I X5500 (RS420, X570R) -
Screen: DNP Supernova 08-85
Processor: Anthem AVM 70
Power amp: XTZ A2-400 for Front & Center - XTZ A2-300 for Surround & Height channels
Speakers: Arendal 1723 S Monitor for Front & Center, Linn Unik for Front Height, Rear Height, Surround & Surround back. Elipson Planet M for Top Middle.
Sub: Arendal 1723 1S

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14497
  • I won! I won!
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #534 on: July 03, 2021, 04:22:24 am »

Glad it is working well.  I'll promote the build to a release this weekend.  FYI - Last I checked outside it is Winter!
Logged
JRiver CEO Elect

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2036
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #535 on: July 03, 2021, 04:28:55 am »

FYI - Last I checked outside it is Winter!
You're on the wrong side of this  ;D
Logged

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14497
  • I won! I won!
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #536 on: July 03, 2021, 04:32:24 am »

But we are always ahead of most of the world (+10 UTC) !!!
Logged
JRiver CEO Elect

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 566
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #537 on: July 03, 2021, 05:42:00 am »

I have distant relatives there, who knows that one day I won't be able to make a trip to them :D
Logged

lepa

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2036
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #538 on: July 03, 2021, 07:17:58 am »

But we are always ahead of most of the world (+10 UTC) !!!
No spoilers, please  ::)
Logged

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 566
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #539 on: July 19, 2021, 12:23:53 am »

I would have a small request, if it were feasible, otherwise it's not a problem.

I recently had a movie that has the first track in 2 channels and the second in 5.1 and so SoT detects the first: is there a way to choose which track to consider?
Logged

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14497
  • I won! I won!
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #540 on: July 19, 2021, 12:47:20 am »

Hi - what part of SOT is not working with the 2nd track (eg what is it you are doing and hoping to get) and I'll have a look.
Thanks
Nathan
Logged
JRiver CEO Elect

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 566
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #541 on: July 19, 2021, 12:15:36 pm »

In the movie tag, the audio> channels field is populated with 2 which corresponds to the channels of track 1 while track 2 has 6 channels.
Logged

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14497
  • I won! I won!
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #542 on: July 19, 2021, 04:24:08 pm »

When MC does its initial import, it reads the file and populates the "Channels" Field (as well as the other Audio Fields).  The only thing SOT does, is check for ATMOS, DTS-X and then add that to the back of the "Compression" field as that is one are MC can not currently determine.

From what I've seen MC does a really good job of populating the "best" audio track it finds.  The only time I see this issue, is on some BD disks where (as per the attached pic), MC selects the "default" Title as something that is not the main movie.  In my example, the default is a Commentary Version of the movie (00018.mpls) that only has a 2ch LPCM track.  To "fix" it I play the movie --> right click --> title --> select the correct MPLS (eg 0000.mpls).  You will now find under the "Playback Info" field those preferences are saved.  If you now --> right click --> library --> update Library from Tags, MC will now be populated with the correct Audio info (Compression, Channels etc) for the preferred MPLS.

Without knowing the file you are using, I'm just guessing this is the cause & fix. 

Logged
JRiver CEO Elect

zybex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2674
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #543 on: July 20, 2021, 03:10:13 am »

Isn't Lello talking about the MediaInfo import, ie, selecting which Audio section to import?
Logged

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14497
  • I won! I won!
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #544 on: July 20, 2021, 03:58:48 am »

I don't know .... just guessing, as SOT does not populate the Channels field automatically.
Logged
JRiver CEO Elect

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 566
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #545 on: July 20, 2021, 05:25:42 am »

In fact, I thought that the Channels field was also imported by SoT from the mediainfo data, because the mediainfo data of the file in question have as first track the 2 channels and then the 6 channels.

In the afternoon I try to import that movie again with JRiver and after seeing how it populated the channels field, I start SoT and we see any differences.

If it always appears 2 channels, I try to adjust it as per jmone's indications.
Logged

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 566
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #546 on: July 20, 2021, 09:40:37 am »

I cleaned everything up leaving just the plain file, and then redid the import. Then I started Zratings and finally SoT. In all these steps, there were always 2 channels in the Channels field.
In order to bring up 6 channels, I had to update Library from Tags after the fix.
For the record, the film is "Raiders of the Lost Ark" in 4k which has the first track with the original 2-channel Italian and the 5.1-channel re-dubbing.
Logged

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14497
  • I won! I won!
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #547 on: July 20, 2021, 04:21:23 pm »

Out of interest is it a BD Structure?  Normally MC will pick the longest playlist as the "main" one and then analyse that for Meta Data population (MC uses ffprobe) across all the fields it populates (Audio, Video etc).  SOT will use mediainfo to scan both the discs Meta Data AND the largest M2TS and then pull metadata out from that (eg scan to see it it is ATMOS / DTS-X).  So on discs like this you need to re-run SOT after doing an update Library from Tags else ATMOS / DTS-X will not be added to the Compression field.

Also... Interesting release of Raider of the Lost Ark with Italian as the main track, ... and I presume the English is not a dub, but the actual original actors?
Logged
JRiver CEO Elect

lello

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 566
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #548 on: August 21, 2021, 10:11:38 am »

It has often happened to me that, within a TV series, some episodes were not worked on by SoT and I never understood what the cause was. Today I found out: it is the apostrophe that is not used in English. For example "The Magic Hour" in Italian becomes "L'Ora Magica" and SoT does not understand it. In fact, by changing the language of the metadata from Italian to English, all the data have been processed correctly. Can it be corrected? Thanks
Logged

jmone

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 14497
  • I won! I won!
Re: "Swag of Tools" : Collection of Utilities for MC
« Reply #549 on: August 23, 2021, 06:59:22 pm »

Hi Lello, could you:
- "Turn on Verbose Logging of MCWS Calls"
- Run it over an example that fails
- Copy and paste the log here

...and I'll have a look.

Thanks
Nathan
Logged
JRiver CEO Elect
Pages: 1 ... 7 8 9 10 [11] 12 13 14   Go Up