Author Topic: ML RAW pipeline in Linux  (Read 8684 times)

christaylor

  • New to the forum
  • *
  • Posts: 6
ML RAW pipeline in Linux
« on: June 02, 2013, 12:34:31 PM »
Hello all,

I'm trying to set up a ML RAW pipeline in linux. I work for a small company which works with video, 3D and vfx exclusively in Linux, but I've only been using Linux for a bit more than a year with them, and mostly as an end-user artist, not as an experienced programmer. They're OK with me testing out ML RAW on a 600D, not on one of their 5D III's yet because they're a little scared off by all the warnings. This isn't for commercial projects yet, just to explore some of the potential, they like to play with this sort of thing before it hits a stable release to keep as up to date as possible (and so do I!).

Only issue is I'm hitting a bottleneck: I installed ML and RAW no problem, I have a few pipeline tests laid out after this stage, but I can't seem to get raw2dng working in Linux! (I'm using Mint)... I saw raw2avi in linux but that doesn't really interest me, I really want the DNG's..

If anyone could outline the process I need to follow to convert my RAW to DNG in a linux OS I'll be really grateful...

scrax

  • Contributor
  • Hero Member
  • *****
  • Posts: 1543
  • Code monkey
Re: ML RAW pipeline in Linux
« Reply #1 on: June 04, 2013, 08:21:57 AM »
raw2dng [raw file to convert]
I'm using ML2.3 for photography with:
EOS 600DML | EOS 400Dplus | EOS 5D MLbeta5- EF 100mm f/2.8 USM Macro  - EF-S 17-85mm f4-5.6 IS USM - EF 70-200mm f/4 L USM - 580EXII - OsX, PS, LR, RawTherapee, LightZone -no video experience-

christaylor

  • New to the forum
  • *
  • Posts: 6
Re: ML RAW pipeline in Linux
« Reply #2 on: June 04, 2013, 07:53:53 PM »
that's sort of my problem, it isn't working :(

scrax

  • Contributor
  • Hero Member
  • *****
  • Posts: 1543
  • Code monkey
Re: ML RAW pipeline in Linux
« Reply #3 on: June 05, 2013, 12:23:03 AM »
that's sort of my problem, it isn't working :(

did you get any error?
I'm using ML2.3 for photography with:
EOS 600DML | EOS 400Dplus | EOS 5D MLbeta5- EF 100mm f/2.8 USM Macro  - EF-S 17-85mm f4-5.6 IS USM - EF 70-200mm f/4 L USM - 580EXII - OsX, PS, LR, RawTherapee, LightZone -no video experience-

Murphy

  • New to the forum
  • *
  • Posts: 10
Re: ML RAW pipeline in Linux
« Reply #4 on: June 05, 2013, 01:12:22 AM »
What about using the windows exe version under wine? Not ideal, but it could work.

christaylor

  • New to the forum
  • *
  • Posts: 6
Re: ML RAW pipeline in Linux
« Reply #5 on: June 05, 2013, 01:33:39 PM »
scrax: yes I did, it just  says "command not found"... I compiled using the compile instructions, and didn't get any unexpected errors.

and I used a windows machine to  convert them in the time being, I have the rest of my pipeline sorted out fine, I just can't seem to get the RAW2DNG part working...

deleted.account

  • Member
  • ***
  • Posts: 154
Re: ML RAW pipeline in Linux
« Reply #6 on: June 05, 2013, 02:33:57 PM »
Windows exe of raw2dng works fine with Wine.

You don't explain how you're trying to use it but here's a test:

If you put a copy of the raw2dng.exe into the same folder as the RAW files, then open a terminal, change directory, ie: cd to the folder with the RAWs and then type wine ./raw2dng.exe M000001.RAW or whatever your RAW's called then it should work for you.

If not post your error message.

christaylor

  • New to the forum
  • *
  • Posts: 6
Re: ML RAW pipeline in Linux
« Reply #7 on: June 05, 2013, 05:39:46 PM »
yup, works fine in wine... if I can't find a way of making it work without, will just go through wine then..

scrax

  • Contributor
  • Hero Member
  • *****
  • Posts: 1543
  • Code monkey
Re: ML RAW pipeline in Linux
« Reply #8 on: June 05, 2013, 10:00:02 PM »
I don't know how much you are familiar with terminal, be sure of the positions. use
Code: [Select]
pwdor
Code: [Select]
ls to check that you are in the same dir were you have raw2dng. then first try:
Code: [Select]
./raw2dngif it gives you same error, post what you get from "ls"
if it load and puts the usage message then you can just add the file after it and should work
I'm using ML2.3 for photography with:
EOS 600DML | EOS 400Dplus | EOS 5D MLbeta5- EF 100mm f/2.8 USM Macro  - EF-S 17-85mm f4-5.6 IS USM - EF 70-200mm f/4 L USM - 580EXII - OsX, PS, LR, RawTherapee, LightZone -no video experience-

christaylor

  • New to the forum
  • *
  • Posts: 6
Re: ML RAW pipeline in Linux
« Reply #9 on: June 07, 2013, 03:53:21 PM »
I just recompiled- for a third time, and now it works... I don't think I did anything differently this time- it's a little odd..

problem solved, although strangely so!

revast

  • New to the forum
  • *
  • Posts: 24
Re: ML RAW pipeline in Linux
« Reply #10 on: June 23, 2013, 09:49:10 PM »
wtf?
Normally I would get the sources and compile myself, but I failed so far... What do I have to do to get the raw2dng tool sources? I mean, the .c files are not enough. and when I download the whole ml mercurial tree as a zip folder, the makefile says it does not find the .mercurial folder, and when I hg clone the ml, it does not get the whole folder structure??? :o

darethehair

  • New to the forum
  • *
  • Posts: 13
Re: ML RAW pipeline in Linux
« Reply #11 on: July 11, 2013, 05:08:12 PM »
I just recompiled- for a third time, and now it works... I don't think I did anything differently this time- it's a little odd..

christaylor, can you elaborate on how you successfully compiled 'raw2dng' for Linux, or point to where the compile instructions are located?  I have done some searching and not (yet) found anything...

Thanks!

EDIT: From a more-convoluted-solution-than-I-thought-it-would-be, I think I managed to figure this out (though I am looking for a simpler solution, since my own seems unnecessarily complex):

http://www.magiclantern.fm/forum/index.php?topic=6457.msg58739#msg58739