Author Topic: (Linux/Mac) convmlv: Featureful MLV Developer  (Read 28743 times)

so-rose

  • New to the forum
  • *
  • Posts: 36
Re: convmlv: MLV/RAW to Sequence/Prores with Proxy (Linux/Mac)
« Reply #50 on: April 14, 2016, 08:57:51 PM »
Quote
Wasn,t aware you could change black level with dcraw.

DCraw isn't seeing the BlackLevel tag in the DNG at all, at least on my build of it. The level is correct in the DNG, usually around 2048, but DCraw doesn't automatically integrate it (a bug I expect). However, I'm able to specify the -k option, to manually override the black level that DCraw tries to develop with with the black level I read from the DNG.

Tl;dr I avoid a dcraw bug using exiftool.
convmlv - feed it your footage, it's safe I swear  -   http://www.magiclantern.fm/forum/index.php?topic=16799.0

openlut - recoloring your day, lut by lut  -  http://www.magiclantern.fm/forum/index.php?topic=17820.0

so-rose

  • New to the forum
  • *
  • Posts: 36
Re: convmlv: MLV/RAW to Sequence/Prores with Proxy (Linux/Mac)
« Reply #51 on: May 19, 2016, 12:04:21 AM »
Just updated; I ran into an interesting issue: How to transform a relative path into an absolute one.

On Linux, this is easy; readlink -f "relpath" does the job. Does anyone know if something similar exists on Mac?
convmlv - feed it your footage, it's safe I swear  -   http://www.magiclantern.fm/forum/index.php?topic=16799.0

openlut - recoloring your day, lut by lut  -  http://www.magiclantern.fm/forum/index.php?topic=17820.0

Danne

  • Hero Member
  • *****
  • Posts: 4271
Re: convmlv: MLV/RAW to Sequence/Prores with Proxy (Linux/Mac)
« Reply #52 on: May 29, 2016, 11:12:21 AM »
Hi so-rose. ffplay seems to respond well to a slight framerate decrease. For better previewing purposes.
Frames
Code: [Select]
-r $(echo $fps / 1.3 | bc -l)Audio
Code: [Select]
-filter:a "atempo=$(echo $fps / 1.3 | bc -l)/$fps"

nicholas_carroll

  • New to the forum
  • *
  • Posts: 3
Re: convmlv: MLV/RAW to Sequence/Prores with Proxy (Linux/Mac)
« Reply #53 on: June 09, 2016, 06:50:26 AM »
Hey so-rose, I am also using Blender and wondering whether you find limitations when using image sequences? For example, I found that the bundled Import Images as Planes takes movie formats but not image sequences.

nicholas_carroll

  • New to the forum
  • *
  • Posts: 3
Re: convmlv: MLV/RAW to Sequence/Prores with Proxy (Linux/Mac)
« Reply #54 on: June 12, 2016, 04:25:58 AM »
Tried using convmlv to convert a directory of CinemaDNG files to Prores. Didn't work - am I doing it right?

[email protected]:~/convmlv-dev$ ls testdng | head -1
BMPC4KNC_1_2016-05-23_0248_C0000_000000.dng
[email protected]:~/convmlv-dev$ ls
7D_badpixels.txt  convmlv.sh  licence   README.md  testdng
balance.py        docs        mlv_dump  sRange.py
[email protected]:~/convmlv-dev$ ./convmlv.sh -m testdng
./convmlv.sh: line 310: /home/nick/convmlv.conf: No such file or directory
./raw2dng not found! Execution will continue without .RAW processing capability.
   Get it here: http://www.magiclantern.fm/forum/index.php?topic=5404.0

./mlv2badpixels.sh not found! Execution will continue without badpixel removal capability.
   Get it here: https://bitbucket.org/daniel_fort/ml-focus-pixels/src

./cr2hdr not found! Execution will continue without Dual ISO processing capability.
   Get it here: http://www.magiclantern.fm/forum/index.php?topic=7139.0


1 File Left to Process: testdng

testdng: Using specified folder of RAW sequences...

testdng: Dumping to DNG Sequence...

File not found: /home/nick/convmlv-dev/raw_conv/testdng/tmp_testdng/testdng_000001.dng
File not found: /home/nick/convmlv-dev/raw_conv/testdng/tmp_testdng/testdng_000001.dng
testdng: Retrieving Camera White Balance...
Correction Factor (RGBG): 0.724658 0.551900 1.000000  0.551900

*Not moving .wav, because it doesn't exist.

testdng: Encoding to ProRes...
Non-numeric argument to "-k"

Cleaning Up.


[email protected]:~/convmlv-dev$ ls raw_conv
testdng
[email protected]:~/convmlv-dev$ ls raw_conv/testdng/
settings.txt
[email protected]:~/convmlv-dev$



so-rose

  • New to the forum
  • *
  • Posts: 36
Re: convmlv: MLV/RAW to Sequence/Prores with Proxy (Linux/Mac)
« Reply #55 on: June 24, 2016, 06:40:59 PM »
Ah, been away for a while; apologies!

Quote
Hey so-rose, I am also using Blender and wondering whether you find limitations when using image sequences? For example, I found that the bundled Import Images as Planes takes movie formats but not image sequences.

First of all, vanilla Blender seems (in my experience) designed to work extremely well with image sequences over movie files. Especially exr sequences are very fast; the decoder for mov files isn't so great, on the other hand.

Second, it seems you've found a bug with DNG input (you're doing it 100% right)! I'm on it  ;)
convmlv - feed it your footage, it's safe I swear  -   http://www.magiclantern.fm/forum/index.php?topic=16799.0

openlut - recoloring your day, lut by lut  -  http://www.magiclantern.fm/forum/index.php?topic=17820.0

DeafEyeJedi

  • Hero Member
  • *****
  • Posts: 3081
  • 5D3 / M1 / 7D / 70D / SL1
Re: convmlv: MLV/RAW to Sequence/Prores with Proxy (Linux/Mac)
« Reply #56 on: June 24, 2016, 07:27:30 PM »
Ah, been away for a while; apologies!

Second, it seems you've found a bug with DNG input (you're doing it 100% right)! I'm on it  ;)

Nice catch @nicholas_carroll and welcome back @so-rose!
5D3.113 • 5D3.123 • EOSM.203 • 7D.203 • 70D.112 • 100D.101

so-rose

  • New to the forum
  • *
  • Posts: 36
Re: convmlv: MLV/RAW to Sequence/Prores with Proxy (Linux/Mac)
« Reply #57 on: June 25, 2016, 02:31:57 AM »
All right, @nicholas_carroll, I fixed your bug! In fact, I fixed some other related bugs too, as well as some gotchas with DNG sequences. Let me know if you have any problems!

Quote
welcome back @so-rose!

Thanks! I bring features :) . Probably just made more bugs, though... This is really becoming a beast of a program at 1500 lines!  :-\
convmlv - feed it your footage, it's safe I swear  -   http://www.magiclantern.fm/forum/index.php?topic=16799.0

openlut - recoloring your day, lut by lut  -  http://www.magiclantern.fm/forum/index.php?topic=17820.0

arboldeconfianza

  • New to the forum
  • *
  • Posts: 17
Re: convmlv: MLV/RAW to Sequence/Prores (Linux!!)
« Reply #58 on: March 03, 2017, 08:24:31 PM »
HI!, thank youu for this amazing tool! have really good funcionality in LINUX, but i cant not add LUT VISION LOG!, i have to much problems with the result!, what you think is the way for setting LUT with CONVMLV! and make preview before to process, thank youu!

so-rose

  • New to the forum
  • *
  • Posts: 36
Re: convmlv: MLV/RAW to Sequence/Prores (Linux/Mac)
« Reply #59 on: March 04, 2017, 11:55:18 PM »
Hey @arboldeconfianza ,

You're very welcome :) Glad it can be of use! Adding a LUT is quite simple - just specify -l and the path to the LUT. It can also be done in a config file (see the documentation here: https://github.com/so-rose/convmlv/releases).

To develop an MLV into an MOV while applying a LUT:

Code: [Select]
convmlv -m -l <path to lut> <path to MLV>
The only way to preview it is to develop a single frame (the 1st for example) of the file. The command below will give you a PNG with the LUT applied:

Code: [Select]
convmlv -i -t 2 -l <path to lut> -r 1 <path to MLV>

Caveats:
  • Only 3D LUTs under (NOT INCLUDING) 65x65x65 size work, currently - this is ffmpeg's fault.
  • I haven't found any other tool to work with LUTs, but have instead been developing my own - openlut (https://github.com/so-rose/openlut) - to work with 1D LUTs, 3D LUTs, pure gamma formulas, color matrices, etc. . It's not mature enough yet to integrate, but hopefully soon (It recently got 50x faster, so progress :) ).
  • Before openlut is integrated, this limitation won't disappear.
convmlv - feed it your footage, it's safe I swear  -   http://www.magiclantern.fm/forum/index.php?topic=16799.0

openlut - recoloring your day, lut by lut  -  http://www.magiclantern.fm/forum/index.php?topic=17820.0

michael08

  • New to the forum
  • *
  • Posts: 3
Re: convmlv: MLV/RAW to Sequence/Prores (Linux/Mac)
« Reply #60 on: October 02, 2017, 04:18:19 PM »
please help!!!


pl

Danne

  • Hero Member
  • *****
  • Posts: 4271
Re: convmlv: MLV/RAW to Sequence/Prores (Linux/Mac)
« Reply #61 on: October 02, 2017, 09:33:45 PM »
What are you heading for? EXR, ProRes?

michael08

  • New to the forum
  • *
  • Posts: 3
Re: convmlv: MLV/RAW to Sequence/Prores (Linux/Mac)
« Reply #62 on: October 02, 2017, 10:43:58 PM »
EXR

michael08

  • New to the forum
  • *
  • Posts: 3
Re: convmlv: MLV/RAW to Sequence/Prores (Linux/Mac)
« Reply #63 on: October 03, 2017, 06:14:24 PM »
What are you heading for? EXR, ProRes?

how do you think the problem is? on which particular Linux system do you work? I have an ubuntu installed

so-rose

  • New to the forum
  • *
  • Posts: 36
Re: convmlv: MLV/RAW to Sequence/Prores (Linux/Mac)
« Reply #64 on: October 31, 2017, 10:22:44 PM »
how do you think the problem is? on which particular Linux system do you work? I have an ubuntu installed
You messaged me about this, but I'll respond here.

You're trying to install convmlv's dependencies with:

sudo apt-get install $(convmlv -K 0)

That's only valid for the Debian dependencies, however, which won't be found on your Ubuntu system. You're on Ubuntu, and should try running:

sudo apt-get install $(convmlv -K 1)

I admit, this nuance could be much more clear in the docs. 0 gives you Debian deps, 1 gives you ubuntu deps, 2 gives you Fedora deps, 3 gives you Mac deps. I'll see about updating the PDF.

Sent from my SM-G930T using Tapatalk

convmlv - feed it your footage, it's safe I swear  -   http://www.magiclantern.fm/forum/index.php?topic=16799.0

openlut - recoloring your day, lut by lut  -  http://www.magiclantern.fm/forum/index.php?topic=17820.0

so-rose

  • New to the forum
  • *
  • Posts: 36
Re: convmlv: MLV/RAW to Sequence/Prores (Linux/Mac)
« Reply #65 on: November 02, 2017, 07:09:31 PM »
@michael08 I ended up fixing a pretty niche issue that was affecting you. Basically, globbing was turned off in your shell! So running something like:

Code: [Select]
for f in *.dng; do echo $f; done

Simply doesn't work when globbing is off - it never expands the "*.dng" into all the DNG files. Which is a big issue, not just for convmlv.sh, but probably for any kind of shell script you try to run.

The solution is simple. In your shell, before running convmlv.sh, run:

Code: [Select]
set +f

That turns globbing back on - as it should be. I pushed a new commit to the repo, where I run 'set +f' at the beginning of convmlv.sh.

If one were to want to turn it off (as was probably done in your case), that'd be 'set -f'. But don't do that, please!
convmlv - feed it your footage, it's safe I swear  -   http://www.magiclantern.fm/forum/index.php?topic=16799.0

openlut - recoloring your day, lut by lut  -  http://www.magiclantern.fm/forum/index.php?topic=17820.0