Magic Lantern Forum

Using Magic Lantern => Post-processing Workflow => Topic started by: SteveScout on June 25, 2014, 02:32:55 PM

Title: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: SteveScout on June 25, 2014, 02:32:55 PM
Hi, community!

After reading along for a long time I can finally contribute with some software as well - a After Effects script which should make the lifes easier for everyone who converts ML raw via AFX that was written for my needs of converting MLV files to 10bit Quicktime files from the talented programmers in my company.

It starts with the "Smart Import" functionality from the original AFX script which goes through folders and imports file sequences, but adds some new interesting features.

It automatically syncs audio WAV files which are in the folders from a MLV file! It even considers the offset which is in the MLV files at the moment (might change in the future, that´s why it´s not hardcoded).

You can set the footage framerate for all the shots you want to import, you can set width and height of the comps (as you might´ve shot vertically cropped but need full-HD to transcode to ProRes or DNxHD), you can add several output modules for transcoding and set a folder for all the files. All you have to do is click OKAY for every ACR window that pops up and in the end you have to hit RENDER in the render queue - that´s it!
I use it together with CineLOG (http://www.magiclantern.fm/forum/index.php?topic=10151.0) to create flat LOG DNxHD 10bit quicktime files for further editing and grading.

Download it here:
www.alexandsteffen.com/smartimport2.zip

Just place the JSX file in your AFX/Scripts directory, go on FILE / SCRIPTS and execute it!

Happy encoding!

Steffen
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: 5DanielMIII on July 01, 2014, 05:55:29 PM
Hi @SteveScout

This "script-world" is all new to me, but thanks for sharing!
I´ll kindly ask you, how to use this? Please!  :)
I got the text-file and placed into the AE script folder, I can start the script and it imports whatever I have in that folder I select.

But..
Can I also set it to make comps?
Size of comps?
Framerate?
Include/add the cinelog?

So after all this, I can do whatever changes I want and render?

If possible, that is amazing!
If no, I still save time when importing so thanks again!  :)


Regards,
Daniel
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: pobox on July 02, 2014, 11:17:42 AM
Hi Steffen,

thanks for the script! this makes the workflow really easy!
it works perpect.

What about the audio offset? Is there a different offset regarding which camera one uses?
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: SteveScout on July 02, 2014, 02:27:55 PM
Hi, 5DDaniel!

Yes, absolutely, it does everything you´re asking for.

"Generate Compositions" is ticked automatically, so it will create a comp for every item you import. AND add it to the render queue with the output module(s) you selected on the bottom.
And you can set (comp AND footage) framerate, sizes and even any transform options (scaling etc.) for all image sequences within the comps. All pretty self-explanatory once you go through all selectable fields.
The Cinelog dialogue has nothing to do with that script, it is embedded in the ACR dialogue, if you set Cinelog as standard (explained in their well written doc file) then every DNG sequence automatically opens in CINELOG and you can basically hit okay for every shot and then check the comps later all after each other and make changes if necessary.

@pobox:
The audio offset is a value I came up with after testing MLV with sound on my 5DMK3. It might definitely be different for camera models or even for future builds, but I don´t have another camera to try. This is why I´d suggest you do a quick test with your camera (a clap with the hands), figure out the frame offset in AFX or an editing program and then edit the offset value in the script file.
To do this just open the script in Wordpad, search for "-0.08" and replace it with your new value, done in less than a minute! ;)

Happy batch encoding!
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: timbytheriver on July 02, 2014, 06:26:19 PM
@SteveScout

Thank-you for your time and effort – this is going to be very useful!

However, I get an error pop-up when I try to 'Run' the render:

'TypeError: null is not an object'

…and I get no further. Any help gladly received.

PS I'm on Mac 10.7.5 Adobe CC 2014 AE




Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: 5DanielMIII on July 02, 2014, 07:38:35 PM
Hi, 5DDaniel!

Yes, absolutely, it does everything you´re asking for.

"Generate Compositions" is ticked automatically, so it will create a comp for every item you import. AND add it to the render queue with the output module(s) you selected on the bottom.
And you can set (comp AND footage) framerate, sizes and even any transform options (scaling etc.) for all image sequences within the comps. All pretty self-explanatory once you go through all selectable fields.
The Cinelog dialogue has nothing to do with that script, it is embedded in the ACR dialogue, if you set Cinelog as standard (explained in their well written doc file) then every DNG sequence automatically opens in CINELOG and you can basically hit okay for every shot and then check the comps later all after each other and make changes if necessary.


Happy batch encoding!

Hi @SteveScout ,

I got it working  :)
Can I save a preset of my setup?
So when I run the script, some info is already filled in?
Because I always shoot in 25p 1920x1080


Regards,
Daniel
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: jimmyD30 on July 02, 2014, 11:27:59 PM
@SteveScout

Nice! Will it work with VisionLog?
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: SteveScout on July 03, 2014, 08:43:38 AM
Yes, it´s working flawlessly with VisionLog, as VisionLog works "under the hood" in ACR and delivers you the flat "visionlogged" video sequence right in AFX, so the script just batches these, no matter what curve/settings you use in ACR.

@timbytheriver: Do you have any other files in the directory (besides WAV files) and ALL its subdirectories? Like a folder-preview-jpeg? Those can cause such an error. If there are only DNG file sequences and maybe a WAV it should be fine .. are all file names okay? No special characters?

@5DDaniel: Yes, you can easily create your own template version. For example, search for "framerate: undefined" in the script, it´s towards the end where the audioOffset is also defined. Here you can pre-set all your variables, "undefined" means the field is empty, but if you set it to a hardcoded value right here (just change "undefined" to your desired value) you have created your own template which you can still change on runtime if you need to.
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: pc_bel on July 03, 2014, 10:44:12 AM
Hi SteveScout,

Thanks so much for such tool!!!!!... It's a big big help. How I would like to know programming to do things like this...

I need your help.

I'm stuck at this point. When I run the script a message like this appears to me:

"Unable to execute script at line 1299. Undefined is not an object"

AE imports dng and audio to the project, but does not create timelines or render cue. If I uncheck the box "import audio files", do not appear message but then only import dng's and still doesn't create timelines or render cues. In the folder there are only dng's and a wav file. No special characters...

What I'm doing wrong?

Thank you very much.
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: timbytheriver on July 03, 2014, 10:56:01 AM

@timbytheriver: Do you have any other files in the directory (besides WAV files) and ALL its subdirectories? Like a folder-preview-jpeg? Those can cause such an error. If there are only DNG file sequences and maybe a WAV it should be fine .. are all file names okay? No special characters?

Thanks @SteveScout; checked all those things! (also: taken WAV out, renamed files without any spaces etc., checked file permissions, imported DNGs normally without the script …) still same warning!

Any other ideas? :-\

Many thanks.
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: SteveScout on July 03, 2014, 11:46:41 AM
Hm .. sometimes I have the script not creating the comps automatically and don´t know why yet, but THIS problem occuring so persistent is new to me.

Three more ideas to check:
- Which language version of AFX are you running? Something other than English?
- In EDIT / PREFERENCES / GENERAL, is "Allow Scripts to Write Files And Access Network" ticked on?
- Do you have full user rights on the folder you´re reading from AND outputting to?

Steffen
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: timbytheriver on July 03, 2014, 12:20:36 PM
Hi Steffen

Thanks, but still no luck. :(

– English language AE
– Checked!
– Full Read & Write for (me)

Will keep an eye out for a fix, because this could be so useful.

Tim
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: SteveScout on July 03, 2014, 02:25:20 PM
Did you also test it with another directory structure with other DNGs? Can you test the SAME files/dir structure on another AFX computer? Can you send a list of the files? in a DOS BOX, enter  DIR *.* /S >filenames.txt    which creates a textfile with the filestructure and the filenames, maybe I can find something.
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: timbytheriver on July 03, 2014, 03:22:53 PM
@SteveScout

I have it working now! Thanks for your suggestions. :)

It looks like maybe the script is choosy about what cdngs it gets offered! These sets both worked:

mlv to 16b or 12b cdngs from Raw Magic 1.1.2 by Thomas Worth
mlv to 16b cdngs from MLV Raw Viewer by Andrew Baldwin

These sets generated my original error (and were the first I tested):

mlv to 16b cdngs from Raw Magic 1.1.1

Thanks again for sharing your script and your help.

Tim
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: SteveScout on July 04, 2014, 10:37:31 AM
Whew .. crazy .. the script can´t really care about the content of the files BUUT - is the naming of the files much different? This could explain it! But very cool it works for you now!!
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: pobox on July 06, 2014, 10:57:23 AM
@pobox:
The audio offset is a value I came up with after testing MLV with sound on my 5DMK3. It might definitely be different for camera models or even for future builds, but I don´t have another camera to try. This is why I´d suggest you do a quick test with your camera (a clap with the hands), figure out the frame offset in AFX or an editing program and then edit the offset value in the script file.
To do this just open the script in Wordpad, search for "-0.08" and replace it with your new value, done in less than a minute! ;)

Happy batch encoding!

Did you measure the audio offset for the 5d3 with diffrent builds?
The offset can also be produced by your computer monitor as they al have a difrent delay. I will record a timecode signal to the audio track while filming the slate to compare it in avid next week. In avid you can read timecode from the aux audio track, then I know for sure if there is an offset.
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: dpjpandone on July 07, 2014, 09:15:16 AM
This such an awesome script. Thanks so much!!
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: SteveScout on July 07, 2014, 12:50:25 PM
@pobox: You are right, of course a sound system etc. can have a delay. That´s why you have to measure this on the timeline - clap a slate and compare visual and audio track, that´s it. I compared several builds for 1.1.3, not tested the new firmware update and its builds yet. If you are using this feature you can quickly clap a slate or something similar and figure out the offset for your camera and your build, takes five minutes. And AVID-timecode-whatever-approach definitely works as well, but the oldschool-way I used can be done with any editing software that shows a waveform and a video image together.

Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: Danne on July 08, 2014, 12:06:07 PM
Hi Stevescout and thanks for this effort. I,m trying to get this script to work on my macbook pro 13 inch mavericks 10.3 I,m on AFX CS6. Don,t know if I do this right but I,m getting the null is not an object message. I,ll provide som pictures, maybe anyone can see whats is going on.

(https://www.magiclantern.fm/forum/proxy.php?request=http%3A%2F%2Fs3.postimg.org%2F8sqrxcg7n%2Fimage.png&hash=6986d7fa91784096b9e44887dc795ffd)

(https://www.magiclantern.fm/forum/proxy.php?request=http%3A%2F%2Fs3.postimg.org%2Fvsxf9oe1f%2Fimage.png&hash=c798dae4e87e7da1032658a5cd07b559)

(https://www.magiclantern.fm/forum/proxy.php?request=http%3A%2F%2Fs3.postimg.org%2Fdouep1gcz%2Fimage.png&hash=378b3e0c2cb82a42749d0e73d2220328)







Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: 5DanielMIII on July 08, 2014, 03:28:02 PM
Hi Stevescout and thanks for this effort. I,m trying to get this script to work on my macbook pro 13 inch mavericks 10.3 I,m on AFX CS6. Don,t know if I do this right but I,m getting the null is not an object message. I,ll provide som pictures, maybe anyone can see whats is going on.

(https://www.magiclantern.fm/forum/proxy.php?request=http%3A%2F%2Fs3.postimg.org%2F8sqrxcg7n%2Fimage.png&hash=6986d7fa91784096b9e44887dc795ffd)

(https://www.magiclantern.fm/forum/proxy.php?request=http%3A%2F%2Fs3.postimg.org%2Fvsxf9oe1f%2Fimage.png&hash=c798dae4e87e7da1032658a5cd07b559)

(https://www.magiclantern.fm/forum/proxy.php?request=http%3A%2F%2Fs3.postimg.org%2Fdouep1gcz%2Fimage.png&hash=378b3e0c2cb82a42749d0e73d2220328)

I had this script working for a few days and all of a sudden it stopped. I get the same message as you.
Maybe it has something to do with the newer builds? Because as I said it did work a few  days back, and I used Mirawviewer then too for converting mlv files.
I have not tried to use an older build to see if this is the actual case.

I did try to download the script again, to "reset it" just in case I messed up some settings..but still the same problem.
Anyone got a clue?

Regards,
Daniel
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: SteveScout on July 09, 2014, 11:58:50 AM
Hm .. could this be the CC2014 release they were rolling out? Haven´t used mine since I updated, I´ll test it later today to see if it still works on my CC 2014 version.
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: Danne on July 09, 2014, 12:29:09 PM
I,m still on after effects cs6 though :)
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: pobox on July 09, 2014, 12:48:54 PM
I had this script working for a few days and all of a sudden it stopped. I get the same message as you.
Maybe it has something to do with the newer builds? Because as I said it did work a few  days back, and I used Mirawviewer then too for converting mlv files.
I have not tried to use an older build to see if this is the actual case.

I did try to download the script again, to "reset it" just in case I messed up some settings..but still the same problem.
Anyone got a clue?

Regards,
Daniel

You didn't select either stills or audio files
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: Danne on July 09, 2014, 01:06:26 PM
It doesn, t matter if I fill video or audio. Tried. Still get the error.
Thanks
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: SteveScout on July 11, 2014, 06:06:59 PM
Looking into this with my programmer over here. Hopfully we have an updated fixed version of the script beginning of next week!
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: Danne on July 11, 2014, 08:29:14 PM
:)
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: 5DanielMIII on July 12, 2014, 01:55:02 AM
Hi @stevescout

That sounds good!  :D
I have tried to make mlv files with older builds, but still same error when using the script.
I have tried to convert mlv with Mirawviewer and Mystic, but still same error.
I have tried to put less dng folders in the source folder to see if that affects import, same error.

But when I click the actual dng folder as the source, the script imports.
So if I import one folder at a time it works ;)

Anyways, thanks for looking into it!!
I did get to try this script before it acted up on me, and it was such a joy to import Magic Lantern files!
So fast  8)

And I could sure need it as I am in the middle of the jungle in Papua New Guinea, shooting massive amounts of MLV`s.
I am editing on a boat floating in the river outside the village, and I have a tight schedule.
The script would be a lifesaver if working.

Thanks for giving it another go, looking forward to make good use of it!

Regards,
Daniel
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: The Director on July 12, 2014, 02:53:03 PM
will be cool if somebody write script for AE to fast replace all mov-footage on dng-seqence...
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: SteveScout on July 31, 2014, 05:21:51 PM
Hi, everyone!

The new version of the script is ready! Please try it out, hopefully every error you encounteres is adressed now!!

http://www.alexandsteffen.com/smartimport2.zip

Steffen

Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: Danne on July 31, 2014, 06:42:19 PM
 Will test soon. Most grateful.
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: Danne on August 01, 2014, 01:37:19 PM
Hi! Some feedback. I,m working on adobes CS 6, OSX Mavericks 10.9.3

So, importing files into AE works. This also works also if I drag and drop several files directly to AE without the script(I have to click ok in ACR but it,s quicker not having to reopen file etc.)

I could not get the rest to follow. No compositions are made and no render queues are started. Not on my computer at least.
I,ll include some pictures.
Thanks you.

(https://www.magiclantern.fm/forum/proxy.php?request=http%3A%2F%2Fs30.postimg.org%2Fdsndpj60x%2Fimage.png&hash=1f6c352853e3a4f4e7e89be1183be17b)

(https://www.magiclantern.fm/forum/proxy.php?request=http%3A%2F%2Fs30.postimg.org%2Fdu1wwox8h%2Fimage.png&hash=10281d0acc1f955708b06337b6c9dc2c)
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: SteveScout on August 05, 2014, 10:15:50 AM
I´ve seen this behaviour on my machine before as well and I can´t reproduce it. Don´t know if it´s filestructure, names etc. - sometimes it just doesn´t create the comps.

One workaround for the moment would be the use of the Batchprocessor - http://aescripts.com/batchprocessor/

It takes already imported files and creates the comps and output modules, just check if the output filenames are made properly, sometimes, it seems the script counts numbers up etc., so the output file does not match the MLV file name.
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: Danne on August 05, 2014, 11:23:45 AM
Thanks, will try some more. Tried moving files to different location too se if it had to do with file naming structure and so on but couldn,t get the comps created wherevever i, d put them.
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: ericjolley on August 21, 2014, 08:57:34 PM
Just a quick bug report and fix (maybe this has already been fixed). 

I need to constantly scale up 111% to fit 1920x1080 (I have a 7D).  X would scale but Y would always stay 100%.  I found out why.

Line 577 is :

Code: [Select]
if (uiContainer.etScaleX.text !== '') smartImport.getOptions().compositionOptions.transform.scale.x = parseFloat(uiContainer.etScaleX.text);

But should be:

Code: [Select]
if (uiContainer.etScaleY.text !== '') smartImport.getOptions().compositionOptions.transform.scale.y = parseFloat(uiContainer.etScaleY.text);


Again, please ignore if this has already been fixed.  Love the script BTW, saved me a lot of monotony on a commercial edit.
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: SteveScout on September 02, 2014, 11:50:18 AM
Hey, everyone!

Try to download the newest version, just updated the link: www.alexandsteffen.com/smartimport2.zip

Now there´s a feature to create comps and output modules from already imported material, i.e. if the script failed to generate it automatically you can do it manually now.

cheers,
Steffen

P.S.: thanks, Eric, for the bug report!!
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: Frank7D on September 03, 2014, 06:20:46 PM
This is going to save me a lot of time (previously was using smartimport + batchprocessor).
Is it possible to change the default output module (currently is flv)?
Do I need to edit the script?
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: 5DanielMIII on September 03, 2014, 11:31:10 PM
@stevescout

Thanks for helping the community with this! GREAT! =)
I tried the script and I had some issues with importing folders with some dng`s missing frames.

I got an error and no import happened, just a warning about the missing frames.
This was MLV`s converted with raw2cdng.

Then I tried importing again with dng`s made with Mirawviewer, no problem.

I know there are some missing frames because when I recorded the MLV i got skipped frames.
Just a little strange that one import did not work..

I will test a little more.
Anyways, thanks! =)

Daniel
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: SteveScout on September 04, 2014, 09:32:09 AM
Yep, this is a behaviour the script can´t correctly deal with as the AFX import routine together with ACR does not allow to "skip" missing frames - a missing frame for AFX tells Adobe Camera Raw  "this is a new sequence". And that´s the only feedback that AFX sends back to the script routines.

That´s why we implemented the warning (earlier versions I was trying out along the way to this one would not even have those, THAT was painful!) so you can manually go into these folders and just duplicate the missing frames. If someone with tons of AFX scripting knowledge knows a workaround we´re more than happy to modify and add those routines, but so far that´s the only chance to import sequences together with ACR.

Steffen
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: SteveScout on September 04, 2014, 09:35:19 AM
@FrankD: Good question. On my machine it´s always the output module as standard that I created last, so definitely never the FLV one. The standard one (fixed setting) can surely be implemented, but for the moment I can´t get hold of "my" programmer anymore, so this is something you´d have to figure out by going through the script.
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: Frank7D on September 28, 2014, 04:45:20 PM
Steve, I am using your script as part of my workflow which also uses MLVFS (http://www.magiclantern.fm/forum/index.php?topic=13354.0 (http://www.magiclantern.fm/forum/index.php?topic=13354.0)) but I am running into an issue with spanned files. The script thinks they are a sequence and tries to import them and, since it can't, it just stops. Is it possible to define a list of valid file types to be imported as sequences and have the script ignore anything else?
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: Kharak on September 28, 2014, 10:49:57 PM
Trying to use your script.

I think this could be exactly what I look for when creating proxies if I got it to work.

The very first time I used it, I got it to make a composition and render one dng sequence to a h264 file. But now it only imports the sequences and thats it.

Now there´s a feature to create comps and output modules from already imported material, i.e. if the script failed to generate it automatically you can do it manually now.


How ? you mean manually make a composition for every imported dng sequence in after effects and add it to render queue? I guess you don't mean this, cause that ain't nothing new :)

Other than that, I found out that if I had played the DNG sequence in MLrawviewer, the script will state that there is a missing file. But this is because MLrawviever makes a .mrx file which the script somehow interprets as a missing frame or obstructing its count of frames.

.idx files created by mlrawviever and in camera mlv_play will interfer with the script aswell and make it not import.

So best thing is to have a folder with DNG folders that contain nothing else but DNG's and WAV files, then the import works.

Please let me know how to make compositions and render from already imported sequences.

Thank you.



EDIT: like seriously, 10 seconds after I posted this and looked at the "Selected material" I found out how to use it.. I thought it wasn't working before as I was trying to specify the location of source files of the already imported sequences.

So yeah, just selecting the material in project manager and clicking Run under "Selected Material" worked.

Awesome script! Thank you so much! even though it doens't work on first import, its still so fast to import then select the material in project manager and make the proxies! Exactly what i was looking for!

Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: Frank7D on September 29, 2014, 09:40:43 AM
Hi Steve,

I found a simple change that allows your script to work with spanned files in conjunction with MLVFS.
Would it be possible for you to edit your script so that people who download it don't have to?
The change is:
Line 15 changes from THIS:
Code: [Select]
var videoFileRegExp = /(mov|avi|mpg|m4a|mp4|flv)$/i;to THIS:
Code: [Select]
var videoFileRegExp = /(mov|avi|mpg|m4a|mp4|flv|idx|m00|m01|m02|m03|m04|m05|m06|m07|m08)$/i;
I don't believe this will affect its functionality in any other way.
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: dmilligan on September 29, 2014, 02:22:16 PM
just incase there are ever more than .m08 spanned files, use this regex instead (it's also shorter):
Code: [Select]
(mov|avi|mpg|m4a|mp4|flv|idx|m\d{2})$
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: Frank7D on September 29, 2014, 09:34:01 PM
Thanks dmilligan, that certainly seems more robust.

Also, there are a couple of more file types that should probably be added to accomodate MLVFS with Pismo: .XMPs and .INIs

So the new modified line would be:
Code: [Select]
var videoFileRegExp = /(mov|avi|mpg|m4a|mp4|flv|mlv|idx|xmp|ini|m\d{2})$/i;
Edit: Added .MLVs in there as well.
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: SteveScout on October 01, 2014, 01:38:29 PM
Thanks for the contribution, guys! The file is updated, so everyony downloading it will have the latest line (From Frank7D) in.
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: Frank7D on October 01, 2014, 05:46:24 PM
Thanks Steve!
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: kaco on October 07, 2014, 06:22:53 PM
It seems not to be working with the 2014.1 version. No dialog is beaing opened.
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: SteveScout on October 11, 2014, 12:57:22 AM
Really? Since I´m on 14.1 I have problems with the autogeneration of comps, but at least the import works. Unfortunately my programmer left our company, and I´m very bad at scripting, so we need the help of others to keep this script updated.
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: DeafEyeJedi on October 14, 2014, 12:00:37 AM
*feedbacks*

2006 Macbook Pro running Mavricks 10.9.5 using AE CS6 11.0.4 and this is what I'm seeing... I doubt this is the same error you guys were referring to from earlier?

(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Ffarm6.staticflickr.com%2F5605%2F14909037034_00bcffb8a7_b.jpg&hash=feba4cd7ee2895cd2c9702607fcd7e78) (https://flic.kr/p/oHsHhE)

thoughts?
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: Danne on October 14, 2014, 12:34:20 AM
It says missing frame. Look at the sequence and see if that is the case. You could try renaming the whole sequence with adobe bridge or some other batch renaming program so they end up as a intact seqeunce .
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: SteveScout on October 14, 2014, 12:11:20 PM
That´s a build in feature - because once a sequence misses a frame ACR (Adobe Camera Raw) will stop importing at that frame and from then on does NOT recognize the sequence anymore - so you are basically importing every frame as a single frame afterwards, which is painful. So the script rathers tells you to manually check the file sequence (doubling a missing frame by just copying and renaming for example) before you run into the situation where you basically have to stop importing because of skipped frames when recording was done.
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: kaco on October 15, 2014, 05:23:15 PM
This happens if you fill the card completely, the last shot can miss few frames. You can disable this warning in the AE settings, can't you?
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: DeafEyeJedi on November 04, 2014, 09:31:17 AM
guys --

I know this is a long shot (at least for me) but couldn't figure out how to duplicate the issue when sometimes when I use 'SmartImport2' with AE and once the ACR pops up and I do the settings as I please then click on RUN. ACR pops up again with the next DNG and so on...

when sometimes the actual script would run through after adjusting in ACR just ONCE... I'm trying to troubleshoot this down to the point where it could be related to conversions within apps or perhaps I thought I may have been using a corrupted script so I did Reinstall this script again just to be sure that it wasn't the issue...

Perhaps one of you could point me to the correct direction regarding this script?

AE CS6 11.0.4

Thanks all!
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: SteveScout on November 05, 2014, 04:57:06 PM
This happens normally only when you have a missing frame in your sequence. Then After Effects can´t recognize the folder as one image sequence and presents you every DNG individually within ACR. Check the folder for the overall number of file and the last filename (don´t forget to count the "0") and then check if it matches!
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: DeafEyeJedi on December 02, 2014, 09:10:45 AM
@kaco -- how would you disable this warning in AE?

I'm asking because it works fine with certain converters and sometimes w few others which shows missing frames error pop up window but I know I'm not missing a frame. Annoying at times!
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: DeafEyeJedi on December 07, 2014, 01:32:06 AM
SmartScript2 has been treating me very well lately... Thanks @SteveScout -- However, now I am curious what would be the best solution to get audio synced up properly for 50/60fps MLV files? It's literally almost half the size (although Audio sounds normal but it may be in 24/25fps length as oppose to the length of a 50/60) because stretching out the Audio file in the timeline doesn't help.

Thoughts?
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: anderSF on March 13, 2015, 09:03:54 PM
Hi all! Is this the go-to-script for someone looking to for a way to batch process DNGs and ending up with Cinelog-C ProRes-files, or has something new come up since december? How would I add the Cinelog V3.0 -> Cinelog-C conversion into the mix?
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: komunakavra on March 24, 2015, 02:22:10 AM
Hi, can you tell me if it works with AE CS3????

Thanx!!
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: Frank7D on March 24, 2015, 05:00:20 AM
Not sure. Wouldn't be too hard to try it and see though.
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: anderSF on March 26, 2015, 05:27:21 PM
This script is one function short of being perfect: an "Apply presets" tab, like you get with Batch Processor.

If only it had that, it could take care of all the processes one needs to go through in AE in order to end up with Cinelog-C ProRes-files w/ synced audio.

Anyway, thought I'd share my workflow for going from MLVs to ProRes 4444 XQs in Cinelog-C color space, in case anyone out there might be trying to figure out the same thing I was trying to figure out up until now (this is a Mac + MLVFS + AE-workflow, for non-Davinci-users):

>Mount folder containing MLVs with MLVFS
>In AE, use Smart Import 2 to import DNGs + WAVs and make sequences (but uncheck output modules)
>Adjust WB/exposure in ACR for each shot + set camera profile to Cinelog V3.0 (I've set this to be my standard for DNGs)
>Select all sequences created by Smart Import 2 (or the ones you wish to export, anyway), run Batch Processor
>Under the "Apply preset"-tab in Batch Processor, select a preset (that you have to make yourself, obviously) for going from Cinelog V3.0 to Cinelog-C using OpenColorIO
>Select custom output module (that you once again have to have created yourself) for ProRes 4444 XQ (that you can "steal" from a free FCP-trial and use with AE by following the steps that @RedDeerCity outlines in this tut: >Enjoy super-HQ, easy editible ProRes 4444 XQ-files (that haven't lost a single bit) in delicious Cinelog-C colorspace

Pretty standard, I know, but for a noob it took quite a while to puzzle all the pieces together, so I thought someone out there might enjoy finding a simple, straight-forward recipe.
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: DeafEyeJedi on March 30, 2015, 11:26:11 PM
Thanks @Frank7D for pointing me back to this thread regarding SmartImport2's incapability questions that I have...

I'm trying to use MLVFS + AE workflow ( I love using ACR ) and unfortunately DR 11 doesn't work for me on this Mac-Mini...

Thanks @anderSF for posting your experience and workflow ( I have installed and followed directions to gert OpenColorIO up to speed ) but some some reasons I can't get Cinelog v3.0 to Cinelog_C using AE be enlisted even after placing them in their respective folder...

Also how do I get the batch processor to work properly because as of lately I have to scroll down and select SmartImport2 after each MLV file I took from MLVFS mount... Is there a quicker way of doing this?

Especially when I have a preset setting saved in .XMP file that I can just apply to all within ACR which works well. Curious how much more I can get out of by using Cinelog though!!!

When I select custom output module I try to recreate for myself when using Lossless with Alpha but seems to be a no brainer to use ProRes 4444 XQ (I have both FCP7 and FCPX but not sure where I can 'steal' ProRes 4444 XQ from?

Thanks again guys for your help on this...
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: Frank7D on March 30, 2015, 11:36:54 PM
DeafEyeJedi,

Question: Do you have your MLVs in their own special folder? If not, you probably should.
If you do, when you are running smartimport2 and you select your import folder, are you selecting the folder one up from the (virtual) MLV "folders"? For example, assuming your MLVs are stored in a folder named "My MLVs" you would select "My MLVs" as your import folder, NOT an individual MLV. That's the way you should do it.
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: DeafEyeJedi on March 30, 2015, 11:46:01 PM
Meaning I shouldn't use the Mount folder from MLVFS? Instead I should copy these files into a new folder and rename it -- is that what you mean?
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: Frank7D on March 30, 2015, 11:51:14 PM
No, you do need to mount the MLVs so they become virtual "folders," but you shouldn't choose these "folders" as the import folder in the script. You should choose the folder that all your MLVs are stored in as the import folder. So, don't choose the folder that the DNGs are in, choose the folder one up from that.
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: DeafEyeJedi on March 30, 2015, 11:59:34 PM
Okay didn't know I can create new folder inside MLVFS mount and simply put these virtual folders inside the newly created folder and that should do the trick with SmartImport2 -- correct?

(wouldn't this affect the way MLVFS work properly, though?)
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: Frank7D on March 31, 2015, 12:09:54 AM
No, sorry, I'm not being clear.

Let's say you have a folder named "My Project subfolder"

1. Put your MLVs for the current project in "My Project subfolder"
2. Mount the MLVs using MLVFS (they become virtual folders containing virtual DNGs)
3. When you run the script, choose "My Project subfolder" as the import folder.

Now, every MLV should import sequentially without your having to run the script again.

Make sure you don't put anything else in the folder "My Project subfolder" or the script might have problems (the stuff that MLVFS and AE create in the folder is okay, though)

Edit: I'm on Windows, not mac, so I don't know if things work differently there.
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: reddeercity on March 31, 2015, 01:34:14 AM
but seems to be a no brainer to use ProRes 4444 XQ (I have both FCP7 and FCPX but not sure where I can 'steal' ProRes 4444 XQ from?
Unless you have been under a Rock for a while  :P
Look at The ProRes4444 XQ Thread !
http://www.magiclantern.fm/forum/index.php?topic=12455.msg142987#msg142987 Reply#62
I have been telling/Showing people on to do this every since July/2014
Here the Proof it works
It's a little long I ramble on , Sorry
Please **Note** the export to prores4444 XQ in After Effect only works in CC, not CC 2014
and the file from MLVFS work in the workflow.
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: DeafEyeJedi on March 31, 2015, 01:38:38 AM
@reddeercity:

Indeed, I have been under this rock for quite some time...  :P

I did read that particular thread awhile ago and I guess I just let it slip under my radar. Thanks for pointing this back to me!

However, regarding AE CC that I use is 12.1.0.168 (Not the 2014 version -- so I hope I have the right one?)

Thanks again!

Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: DeafEyeJedi on March 31, 2015, 01:49:02 AM
@Frank7D:

Tried your method (although I have a feeling I didn't do this correctly)...

https://vimeo.com/123684646 (https://vimeo.com/123684646)
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: reddeercity on March 31, 2015, 02:13:28 AM
@ DeafEyeJedi: Yes that the one , good luck
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: DeafEyeJedi on March 31, 2015, 02:25:56 AM
well I'm sorry but as the video shows that it isn't really working...

Here's Part II:

https://vimeo.com/123685329 (https://vimeo.com/123685329)
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: DeafEyeJedi on March 31, 2015, 03:05:16 AM
@reddeercity:

After thoroughly reading through your previous post per your suggestion. I did the following:

(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Ffarm9.staticflickr.com%2F8708%2F16983446691_2efa54ea3e_n.jpg&hash=da1ded23cb3f5adf269ee53a0cfd5257) (https://flic.kr/p/rSLB1p)
Creating a quicktime folder and placing the proper files in their respective spots.

My question is... is it a good idea to enable this XMP Metadata on in here?
(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Ffarm8.staticflickr.com%2F7627%2F16361980754_125a1a35c4_n.jpg&hash=1e5bc4b69d22ad77aab0eb3966397c36) (https://flic.kr/p/qVRqQs)
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: DeafEyeJedi on March 31, 2015, 03:48:00 AM
Got it to work finally... Thanks @Frank7D!

https://vimeo.com/123691706 (https://vimeo.com/123691706)

However, for some reason after succesfully exporting few projects earlier today and so many years of no problems -- until now I ran into an error where it says disk space unavailable thus unable to render out into ProRes. Also ran delete disk cache files as well as media cache files. Restarted Mac Mini.

Still to no avail -- Strange?

(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Ffarm8.staticflickr.com%2F7586%2F16798527599_eeec5cc5b9_n.jpg&hash=c870131c0b4c9488623c7afbdb0c5471) (https://flic.kr/p/rAqR1c)

Error still persist and I am unable to render out my files until one of you guys can tell me another way of getting around this?

AE CC version:
(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Ffarm8.staticflickr.com%2F7621%2F16984747665_017d2d5883_n.jpg&hash=57603db6d586c983d9eeca671cc60b39) (https://flic.kr/p/rSTgJZ)

Thanks.

*EDIT*

I decided to give it a try with AME CC and seems to be rendering... hope the results are okay. I still would like to get AE back in rotation though... any hints?
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: reddeercity on March 31, 2015, 05:41:23 AM
Can you Render just one File ? Strange thou you are only using 1% of your Ram
when I render I use at least 70% of my ram,  but I don't use the importer . My be check all your setting in the property tab
How big is your disk cache ? is multiprocessing enabled ? I know on my MBP it cause big problems won't render and other things.
Just some thoughts . 
Got your PM get back to you asap, in the middle of some green screen & rotoscoping .
Title: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: DeafEyeJedi on March 31, 2015, 06:01:13 AM
Just tried with one file to no avail.

I set my disk cache @ 50GB I believe and No Multiprocessing is NOT enabled (I was instructed not to).

Thanks!
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: reddeercity on April 01, 2015, 02:20:13 AM
@DeafEyeJedi , Ok just had time to check it out on my MacPro On Maverick 10.9.3 (It's Works so I never upgraded)
So it works , I can export ProRes4444 XQ . I Tried it with 3 MLV file though MLVFS in A.E. CC ver. 12xxxx something
I enable Multiprocessing and give it 13GB of ram to work with, away it when.
Just a little benchmark: 3 clips 2@ 30seconds and 1 @ 50second mlv
Frame size 1856x928 23.976 + audio under 9 minute , Check prores xq file ,audio was sync .
I'll Post some screen shots shortly with my setting .
Later i'll also check my MBP .
The only differents I guess is I render to a SAS 6TB raid5 box , but that should not make any differents I don't think.
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: reddeercity on April 01, 2015, 07:29:08 AM
Ok here are my Screen Shots from the Smart Importer2 With After Effect CC Ver. 12.2
Sorry for the format , I can't arrange them to take up less Space .

The mounted MLV from MLVFS
(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Ffarm9.staticflickr.com%2F8724%2F16995046952_30c2277946_n.jpg&hash=0866eb277412c82ed0cdaa79c0fbeb48) (https://flic.kr/p/rTN4mU)
Screen Shot 2015-03-31 at 7.31.24 PM (https://flic.kr/p/rTN4mU) by RedDeerCityTV (https://www.flickr.com/people/67942440@N06/), on Flickr

The Mounted File Folder on my Desktop
(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Ffarm8.staticflickr.com%2F7610%2F16374068924_1e14d0ae4b_n.jpg&hash=5918debda586cf2fde982031dbc8c416) (https://flic.kr/p/qWVoeb)
Screen Shot 2015-03-31 at 7.27.44 PM (https://flic.kr/p/qWVoeb) by RedDeerCityTV (https://www.flickr.com/people/67942440@N06/), on Flickr

My Configuration For A.E. CC 
(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Ffarm9.staticflickr.com%2F8747%2F16374068834_5e32610ea7_n.jpg&hash=3263a52ba55f68504d97a738d8ebd122) (https://flic.kr/p/qWVocC)
Screen Shot 2015-03-31 at 7.23.39 PM (https://flic.kr/p/qWVocC) by RedDeerCityTV (https://www.flickr.com/people/67942440@N06/), on Flickr

More Configuration Setting with Multiprocessing Enabled
(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Ffarm9.staticflickr.com%2F8746%2F16808713398_3deaca5ff5_n.jpg&hash=619c7bba5c875a60af772aa643cfcf6b) (https://flic.kr/p/rBk3Tq)
Screen Shot 2015-03-31 at 7.25.09 PM (https://flic.kr/p/rBk3Tq) by RedDeerCityTV (https://www.flickr.com/people/67942440@N06/), on Flickr

GPU Setting
(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Ffarm9.staticflickr.com%2F8721%2F16374068814_396bf4b891_n.jpg&hash=7e24dc1ec5d6ce2476dc3054f9f037cc) (https://flic.kr/p/qWVoch)
Screen Shot 2015-03-31 at 7.22.31 PM (https://flic.kr/p/qWVoch) by RedDeerCityTV (https://www.flickr.com/people/67942440@N06/), on Flickr

This is  Why I only use CC  as cc2014 dose not access my AJA card for monitoring
(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Ffarm8.staticflickr.com%2F7587%2F16995046832_ccd497992d_n.jpg&hash=328fa77fe11aeb2c234504423addd6d7) (https://flic.kr/p/rTN4jQ)
Screen Shot 2015-03-31 at 7.24.18 PM (https://flic.kr/p/rTN4jQ) by RedDeerCityTV (https://www.flickr.com/people/67942440@N06/), on Flickr

Smart Importer2 Setting with my Custom Output Module "ProRes4444XQ"
(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Ffarm8.staticflickr.com%2F7620%2F16970488826_e70207daab_n.jpg&hash=891328fc7c55cfcecce6e823ff95e8f8) (https://flic.kr/p/rRCc5W)
Screen Shot 2015-03-31 at 7.30.12 PM (https://flic.kr/p/rRCc5W) by RedDeerCityTV (https://www.flickr.com/people/67942440@N06/), on Flickr

File Waiting to Render
(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Ffarm8.staticflickr.com%2F7587%2F16995560511_53511389a3_n.jpg&hash=b7da3d16d6cfe6b70b544a7bfb65911c) (https://flic.kr/p/rTQG2n)
Screen Shot 2015-03-31 at 10.24.22 PM (https://flic.kr/p/rTQG2n) by RedDeerCityTV (https://www.flickr.com/people/67942440@N06/), on Flickr

Finally The Files are Rendering
(https://www.magiclantern.fm/forum/proxy.php?request=https%3A%2F%2Ffarm8.staticflickr.com%2F7643%2F16970488966_f430368e45_n.jpg&hash=460b852bab94cc707ab2a86b931111b3) (https://flic.kr/p/rRCc8m)
Screen Shot 2015-03-31 at 10.24.50 PM (https://flic.kr/p/rRCc8m) by RedDeerCityTV (https://www.flickr.com/people/67942440@N06/), on Flickr


Note to the Moderator:
If you like you can reformat how the picture are display so it doesn't take up so much Space. :)







Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: johannsebastianbach on April 10, 2015, 03:18:49 AM
@Danne

Did you figure it out so far why no comps were made?

I just had the same problem and were almost desperate because I oversaw the unchecked "include Sequences Missing Audio". My footage were without audio, so after checking it out, the script started to make the comps perfectly. So maybe your footage were missing audio too? Is there any reason to not to check it in by default? :)

By the way, thanks a lot. It is now my final workflow. Squeezed slomo MLV's -> MLVFS (so no need to waste double space) -> ACR + AE + your script unsqueeze. render to ProRes444XQ (with AE CC, not AE CC 2014) -> cutting -> color grading

You guys are great!
Title: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: DeafEyeJedi on June 16, 2015, 05:51:00 AM
@SteveScout:

As of Lately I've been wanting to ask on a possible solution how to get this workflow to work with sequence files converted from @Danne's cr2hdr-r app (which uses the same 16-bit dng's that spits out from MLVFS according to exiftool) so I'm not sure why sequence files from MLVFS work perfectly fine with 'Smart Import 2' as usual but if I use sequence files from cr2hdr-r then I have to only use one DNG folder at a time (if I try to do the batch way like how I do with MLVFS) then it doesn't work... any thoughts on that?

I suspect it may have something to do with meta tags coming from cr2hdr-r (any ideas how can we make this app spit out similar meta tags that's being used in MLVFS?) since I'm trying to narrow down this so called bug for @Danne as we speak.

If unable to understand what I'm saying then here's the clip below for your own convenience.


Also is it possible to save a pre-set saved that I like for each time I use this script rather than having to modify the settings manually constantly?

Thanks for your time, Steve and I love using your incredible script in Smart Import 2!
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: DeafEyeJedi on June 16, 2015, 09:02:05 PM
*UPDATE*

@SteveScout:

Please disregard my previous post as @Danne was able to make a fix in cr2hdr-r (by using Calibration illuminant 1 & 2 tags) to make them work properly with your script in AE.

Smart Import 2 works like a charm now with sequence folders spitted out:


Thanks again for your remarkable script, Steve!

p.s. Special Thanks to @reddeercity for getting me addicted to this workflow with SI2 in AE and couldn't be done w/o you!  8)
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: mothaibaphoto on July 05, 2015, 09:54:23 AM
My notes on this excellent tool(Windows 8.1, AE CC 2014.2):
1. It don't likes hyphens in file and folder names. For example, raw2cdng produces folders like M23-1045, M23-1045 and so on. When I import these folders with this script, i get every image sequence imported with the same name - M23, and NO ONE composition created. After renaming folders like M23_1045_ and files inside like M23_1045_00000.dng everything works just fine.
2. Sometimes short (about 10 sec) sequences WITH SOUND don't get compositions created when imported with default Audio Threshhold value (1). Setting Audio Threshhold to 0 fixes this.
Otherwise this script works perfect and saves a lot of time, great thanks to developers.
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: SteveScout on September 20, 2015, 11:54:53 AM
Hi, guys!

Sorry I haven´t been part of the conversation lately .. was away Shooting. mothaibaphoto, These are great notes, did not know about the Hyphens and the Sound issue. Since it´s just a script that uses the AFX Scripting engine we can´t go that deep into program functions (to correct Errors etc.) as we could if it was programmed from the ground up as a standalone app. But if we know These little quirks we should all be happy with it. Still use it as my #1 workflow.
Title: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: DeafEyeJedi on October 21, 2015, 06:27:43 AM
Good to hear from you, @SteveScout!

Love your script so much and it stills manages to keep my love for AE despite how nice & handy DR 12 can be for MLV.

I Thank You for for keeping Adobe alive for the most part!

However, I wish Adobe could allow us to export PR4444XQ in their newer CC versions since I am still using 12.2.
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: Ajay_ya on November 16, 2019, 08:45:25 PM
Hi, @steveScout,

I know this is an old thread, and that not many people are still active on here, but I am trying to use your Adobe AE, script, but I can get it to work. I added it to AE, and I clicked all the things I wanted, and then ran it- nothing? Do I need to do something else? Is there a walkthrough that I am missing? I also don't see any settings for resolution- like 4k, or 2.5k? And I don't see anything that says ProRes, 444, or anything like that.

please help!
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: vastunghia on March 22, 2020, 09:46:32 AM
What does "Audio Threshold" stand for? Is this a multiplier for amplifying audio?

thx
Title: Re: FREE FOR DOWNLOAD: AFX Script for mass converting MLraw DNG files to Video files
Post by: yourboylloyd on March 23, 2020, 09:41:20 AM
What does "Audio Threshold" stand for? Is this a multiplier for amplifying audio?



Yes. Leave that at 1