conditional by filename

Questions and answers on how to get the most out of FFAStrans
Post Reply
luzimarsorgi
Posts: 13
Joined: Thu Dec 09, 2021 9:06 pm

conditional by filename

Post by luzimarsorgi »

Hello friends, I can't create a conditional that checks the file that will be converted by name. I've tried everything and I couldn't. I need the conditional to check the OFF_ and IMG_ name in a single folder and direct the file to the corresponding stream. One that extracts the audio and the other keeps audio and video. Basically like the photo I sent. Could someone help me please? Just like de attachment. TKS for your help.

Luzimar Sorgi
momocampo
Posts: 592
Joined: Thu Jun 08, 2017 12:36 pm
Location: France-Paris

Re: conditional by filename

Post by momocampo »

Hi Luzimar, welcome here and thanks for using FFAStrans.

If I understand well you want a different branch by name. So, you can create 2 watchfolders and in the first accept only off_* and deny IMG_*. In the second, the opposite.
Or only 1 watchfolder with a conditional behind. Then, if %s_original_name% egual to off_* then do something. If not (that means it's egual to img_) then do something else.
I give you workflow to see what you can do.
;)
Attachments
LUZIMAR.json
(6.52 KiB) Downloaded 151 times
luzimarsorgi
Posts: 13
Joined: Thu Dec 09, 2021 9:06 pm

Re: conditional by filename

Post by luzimarsorgi »

I want to thank everyone for their help. I got it as follows
folder input - conditional %s_source% is equal (=), regex - OFF_
the other equal conditional changing only to IMG_
Audio Extraction
XDCAM-HD > Outgoing Folder

I hope I can help someone too

Luzimar Sorgi
momocampo
Posts: 592
Joined: Thu Jun 08, 2017 12:36 pm
Location: France-Paris

Re: conditional by filename

Post by momocampo »

Ok glad to hear it's ok.
;)
Post Reply