Page 1 of 1

How to copy folder names with transcoded files?

Posted: Wed Nov 18, 2020 7:42 pm
by Koati
Hello!

I have some Sony FS5 footage shot on different days and clips are located in different folders ie. 220919 airport, 230919 harbour and so on.

I'm trying batch transcode those clips to ProRes HQ for easier editing in Resolve but I can't figure out how to keep the same folder names.

So I would like those new ProRes clips to have the same folder names (without \PRIVATE\XDROOT\Clip) as the originals for example read from 220919 airport FS5\PRIVATE\XDROOT\Clip\xxxx.MXF and it would write to 240919 airport FS5\new_clip_name.mov.

So I would be very pleased if someone could show me the way to this?

Re: How to copy folder names with transcoded files?

Posted: Thu Nov 19, 2020 9:48 am
by momocampo
Hello Koati,
It is really simple, you have to use the %s_original_path~n% variable. How it works? You can look here :
https://www.ffastrans.com/wiki/doku.php ... _variables

The folder that you want is 3-steps backwards so in your delivery node write this:
"C:\OUTPUT\%s_original_path~3%" (replace "C:\OUTPUT\" by your real destination path.
So you will have original files names into your "220919 airport FS5" folder.

Hope it helps ;)

Benjamin

Re: How to copy folder names with transcoded files?

Posted: Thu Nov 19, 2020 3:06 pm
by Koati
Thanks for your help momocampo!
This is just what I was looking for.

Re: How to copy folder names with transcoded files?

Posted: Thu Nov 19, 2020 8:14 pm
by momocampo
You're welcome!
Happy it works ;)