How to copy folder names with transcoded files?

Questions and answers on how to get the most out of FFAStrans
Post Reply
Koati
Posts: 9
Joined: Tue Jun 06, 2017 7:05 am
Location: Kirkkonummi-Finland

How to copy folder names with transcoded files?

Post 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?
momocampo
Posts: 592
Joined: Thu Jun 08, 2017 12:36 pm
Location: France-Paris

Re: How to copy folder names with transcoded files?

Post 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
Koati
Posts: 9
Joined: Tue Jun 06, 2017 7:05 am
Location: Kirkkonummi-Finland

Re: How to copy folder names with transcoded files?

Post by Koati »

Thanks for your help momocampo!
This is just what I was looking for.
momocampo
Posts: 592
Joined: Thu Jun 08, 2017 12:36 pm
Location: France-Paris

Re: How to copy folder names with transcoded files?

Post by momocampo »

You're welcome!
Happy it works ;)
Post Reply