Author Topic: Lightroom plugin cr2hdr v3.0 DEV (WIP)  (Read 670532 times)

Danne

  • Developer
  • Hero Member
  • *****
  • Posts: 7297
Re: Lightroom plugin cr2hdr v3.0 DEV (WIP)
« Reply #1175 on: March 10, 2017, 08:27:09 AM »
Subfolder default is good.
Quote
Hmm why not! A checkbox to convert every MLV files with same settings. Is it useful for you?
Yes, mostly you just run mlv_dump with defaults so this will speed up the process. Not sure how dng import in lightroom will behave but it seemed pretty fast when I tested yesterday.

In cr2hdr.app I do some funky bashing around fps wav metadata.
Code: [Select]
#adding fps to wav metadata
    fps_au=$(exiftool "$O2""${BASE}"_1_"$date"_000000.dng | awk '/Frame Rate/ { print $4; }' | tr -d . )
#adding zeros
    num="$fps_au"
    len=`echo ${#num}`
    while [ $len -lt 5 ];
    do
        num=$num"0"
        let len=len+1
    done

Also probably a good idea to have the MLV files outside the subfolder after processing. Sort of keeping the original MLV on a safe distance.

kichetof

  • Contributor
  • Senior
  • *****
  • Posts: 469
  • Take a beer and enjoy it!
Re: Lightroom plugin cr2hdr v3.0 DEV (WIP)
« Reply #1176 on: March 10, 2017, 08:41:05 AM »
Are you sure that FPS should be 5 digits? If you film @ 5fps it will be 50000 and in iXML it's FPS/1000 --> 50 or @120fps it will be 12000/1000 --> 12

It seems to be frames per milliseconds.

I'll see how to process with every MLV but I like the idea!

Danne

  • Developer
  • Hero Member
  • *****
  • Posts: 7297
Re: Lightroom plugin cr2hdr v3.0 DEV (WIP)
« Reply #1177 on: March 10, 2017, 08:55:38 AM »
e.g
24fps=24000
23.97=23970
25=25000
That,s what is working over here at least. Correct or not :D

I never opened up a 5fps file in DaVinci resolve anyway but then again I don,t know if audio is that crucial in 5fps.
120fps ML footage? Your friday wish ;)

kichetof

  • Contributor
  • Senior
  • *****
  • Posts: 469
  • Take a beer and enjoy it!
Re: Lightroom plugin cr2hdr v3.0 DEV (WIP)
« Reply #1178 on: March 10, 2017, 09:01:00 AM »
120fps ML footage? Your friday wish ;)

I have a dream [emoji41]

Ok so I can stay in my way: FPS * 1000 :)

Danne

  • Developer
  • Hero Member
  • *****
  • Posts: 7297
Re: Lightroom plugin cr2hdr v3.0 DEV (WIP)
« Reply #1179 on: March 10, 2017, 09:02:21 AM »
As long as you do
Code: [Select]
| tr -d .

kichetof

  • Contributor
  • Senior
  • *****
  • Posts: 469
  • Take a beer and enjoy it!
Re: Lightroom plugin cr2hdr v3.0 DEV (WIP)
« Reply #1180 on: March 10, 2017, 09:04:32 AM »
No need! 23.97 * 1000 = 23970; no dot :)



FPS * 1000 do the job with bwfmetaedit !

Danne

  • Developer
  • Hero Member
  • *****
  • Posts: 7297
Re: Lightroom plugin cr2hdr v3.0 DEV (WIP)
« Reply #1181 on: March 10, 2017, 09:34:47 AM »
True. Much easier than my zero patching :)

Audionut

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3657
  • Blunt and to the point
Re: Lightroom plugin cr2hdr v3.0 DEV (WIP)
« Reply #1182 on: March 10, 2017, 11:57:58 AM »
I'm pretty sure the exact frame rate for film is 24000/1001.

(24×1000÷1001 to be exact)

kichetof

  • Contributor
  • Senior
  • *****
  • Posts: 469
  • Take a beer and enjoy it!
Re: Lightroom plugin cr2hdr v3.0 DEV (WIP)
« Reply #1183 on: March 10, 2017, 02:56:10 PM »
Little update (not released)
  • MLV file kept in original folder
  • fix bwfmetaedit bug
  • Added cold pixel default option
  • Applies iXML to any options

To do: add an option to process all MLV files in the same folder with same settings

kichetof

  • Contributor
  • Senior
  • *****
  • Posts: 469
  • Take a beer and enjoy it!
Lightroom plugin cr2hdr v3.0 DEV (WIP)
« Reply #1184 on: March 13, 2017, 04:31:30 PM »
Maybe I'll rewrite the entire plugin...  8)

Actually, we don't export anything, so, why do you use export menu ?!

I think I'll use the Library -> Plug-in Extras to store all the actions.

What do you think about this GUI for the plugin ? (there are no options, no optimisation, only a copy paste to see the result; removed troubleshooting tabs, do you use it ?)



The gain with this method, is to be able to load cr2hdr options in MLV importation to chain the operations.

The only thing that we'll loose is the shortcut CMD+SHIFT+E to quickly access to export menu.

Any suggestions ?

Danne

  • Developer
  • Hero Member
  • *****
  • Posts: 7297
Re: Lightroom plugin cr2hdr v3.0 DEV (WIP)
« Reply #1185 on: March 13, 2017, 06:44:58 PM »
On the roll I see :). I,m out of town, will check into this as soon as I can.

Danne

  • Developer
  • Hero Member
  • *****
  • Posts: 7297
Re: Lightroom plugin cr2hdr v3.0 DEV (WIP)
« Reply #1186 on: March 14, 2017, 09:07:03 AM »
I think I let someone else report their opinions on this one. Was a while since I actually shot some dualiso tbh. How,s the MLV processor developing?

kichetof

  • Contributor
  • Senior
  • *****
  • Posts: 469
  • Take a beer and enjoy it!
Re: Lightroom plugin cr2hdr v3.0 DEV (WIP)
« Reply #1187 on: March 14, 2017, 09:10:26 AM »
MLV process is on the way to be released this evening :) (it's already done, but I don't have my MacBook with me)

You'll be able to process all MLV in the same time  8)

Danne

  • Developer
  • Hero Member
  • *****
  • Posts: 7297
Re: Lightroom plugin cr2hdr v3.0 DEV (WIP)
« Reply #1188 on: March 14, 2017, 09:38:50 AM »
How is wildcard working with the plugin? Is LUA calling bash? Now I just tested a however unlikely scenario but I manage to break the argument list.
Code: [Select]
cr2hdr *.dngResulting in Argument list too long
About 7000 files were called with the wildcard.
I think sweet spot is 5000 files.

I posted about this long ago going through find something like following which also speeds up processing.
Code: [Select]
find . -maxdepth 1 -mindepth 1 -name '*.dng' -print0 | xargs -0 -P 4 -n 1 cr2hdr

kichetof

  • Contributor
  • Senior
  • *****
  • Posts: 469
  • Take a beer and enjoy it!
Re: Lightroom plugin cr2hdr v3.0 DEV (WIP)
« Reply #1189 on: March 14, 2017, 10:33:06 AM »
Maybe it's a good solution but it's not portable on Windows without many tricks... It's why I added same levels on entire path to fix this bug (on Mac for the moment and I hope in Win soon with the gcc patch).

To summarize:

To process some Dual ISO (20-30 files):
    Use normal settings
    It will run cr2hdr file1.cr2 file2.cr2 file3.cr2 file4.cr2 file5.cr2 etc.

To process a lot of Dual ISO:
    Move all Dual ISO files in a folder without anything else (like MLV import) or use a folder where all images will be process with cr2hdr
    Select all files (CMD+A)
    Run plugin with same levels on entire path option
    It will run cr2hdr *.dng/cr2

But now, if you want to run cr2hdr *.dng/cr2 without same-levels, you can't.

kichetof

  • Contributor
  • Senior
  • *****
  • Posts: 469
  • Take a beer and enjoy it!
Re: Lightroom plugin cr2hdr v3.0 DEV (WIP)
« Reply #1190 on: March 14, 2017, 08:27:50 PM »
MLV importation to every MLV files in the same folder

Download v3.0-170314-01-MLV-DEV

Go to Library --> Plug-in Extras --> Import MLV file

If you already installed MLV plugin branch, please click button Reset settings to default to be sure that every options is reseted.


kichetof

  • Contributor
  • Senior
  • *****
  • Posts: 469
  • Take a beer and enjoy it!
Re: Lightroom plugin cr2hdr v3.0 DEV (WIP)
« Reply #1191 on: March 15, 2017, 03:51:55 PM »
DNG Users
Do you have any issue with the plugin ? (about 200 downloads, no news, good news ?  8))

MLV users
Do you have any issue with this new feature ?



All Users
What do you think about my idea to move Export plugin to Library Plug-In extras ? more info here

arboldeconfianza

  • New to the forum
  • *
  • Posts: 17
Re: Lightroom plugin cr2hdr v3.0 DEV (WIP)
« Reply #1192 on: March 15, 2017, 04:02:58 PM »
sorry, recently im see this, i can use MLV HDR to DNG????

Danne

  • Developer
  • Hero Member
  • *****
  • Posts: 7297
Re: Lightroom plugin cr2hdr v3.0 DEV (WIP)
« Reply #1193 on: March 15, 2017, 04:05:47 PM »
MLV to dng exporting work nicely. And they are indexed on the fly in lightroom. This is a good alternative if working silent dng in mlv containers for instance. The recursive option worked fine.
The wav file still doesn,t contain the DaVinci resolve needed ixml info so not sure what,s up with that.

kichetof

  • Contributor
  • Senior
  • *****
  • Posts: 469
  • Take a beer and enjoy it!
Re: Lightroom plugin cr2hdr v3.0 DEV (WIP)
« Reply #1194 on: March 15, 2017, 04:11:16 PM »
@arboldeconfianza You can now import MLV files in LR :)

@Danne thanks for the feed back. Which settings do you use ? I'll try to reproduce it tonight
In Windows everything works fine


Danne

  • Developer
  • Hero Member
  • *****
  • Posts: 7297
Re: Lightroom plugin cr2hdr v3.0 DEV (WIP)
« Reply #1195 on: March 15, 2017, 04:14:25 PM »
Settings

kichetof

  • Contributor
  • Senior
  • *****
  • Posts: 469
  • Take a beer and enjoy it!
Re: Lightroom plugin cr2hdr v3.0 DEV (WIP)
« Reply #1196 on: March 15, 2017, 04:17:03 PM »
Okay in Windows everything is OK (subfolder or Davinci compliance), maybe it's a bug with the Mac command. I'll try tonight with my Mac

Stay tuned!

Danne

  • Developer
  • Hero Member
  • *****
  • Posts: 7297
Re: Lightroom plugin cr2hdr v3.0 DEV (WIP)
« Reply #1197 on: March 15, 2017, 04:18:34 PM »
Ok, I found the issue. Permission denied. Went into the plugin folder and did
Code: [Select]
chmod u=rwx bwfmetaeditenter

and working...

kichetof

  • Contributor
  • Senior
  • *****
  • Posts: 469
  • Take a beer and enjoy it!
Re: Lightroom plugin cr2hdr v3.0 DEV (WIP)
« Reply #1198 on: March 15, 2017, 04:20:00 PM »
great thanks @Danne ! I'll apply the fix in the repo

arboldeconfianza

  • New to the forum
  • *
  • Posts: 17
Re: Lightroom plugin cr2hdr v3.0 DEV (WIP)
« Reply #1199 on: March 15, 2017, 08:48:05 PM »
@kichetof MLV to DNG is AMAZING !! but i cant convert DNG to DUAL ISO, i have 2 ISO, what i make bad?, i have de conversion with the name DUALISO, is the same only with different name, i am in WINDOWS