Page 1 of 1

conditional by filename

Posted: Thu Dec 09, 2021 9:25 pm
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

Re: conditional by filename

Posted: Fri Dec 10, 2021 7:48 am
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.
;)

Re: conditional by filename

Posted: Fri Dec 10, 2021 8:35 pm
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

Re: conditional by filename

Posted: Sun Dec 12, 2021 5:44 pm
by momocampo
Ok glad to hear it's ok.
;)