Conditional: audio file without video?

Questions and answers on how to get the most out of FFAStrans
Post Reply
User avatar
FranceBB
Posts: 264
Joined: Sat Jun 25, 2016 3:43 pm
Contact:

Conditional: audio file without video?

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

Re: Conditional: audio file without video?

Post 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
Post Reply