Page 1 of 1

Conditional: audio file without video?

Posted: Thu Nov 08, 2018 10:40 pm
by FranceBB
Hi,
I'm trying to differentiate a workflow I have in place by setting a conditional that checks whether a file has video and audio or if it's audio only and use a different node.
I know that there's a conditional for videos without audio, but what about audio files without video?

Thank you in advance,
Frank.

Re: Conditional: audio file without video?

Posted: Fri Nov 09, 2018 11:36 am
by momocampo
Hello Franck,
It seems quite easy with conditional node, you have to use %i_a_streams% and %i_v_streams% with larger than or egal to check you have more 1 audio stream and more 1 video stream > audio+video.
Then, if you have always video+audio file OR only audio file, you can execute on success when file is video+audio and execute on error if your file is only audio.
I hope it helps.
Cheers.

Benjamin