Page 1 of 1

[SOLVED] Encode fail node to next encode node - source file

Posted: Wed Mar 16, 2022 8:48 am
by veks
Hi,
I'm trying to figure out how can I send a source file to next encode node when previous fails.
Because, if encode node fails and I'm using a FFMpeg command node, FFMpeg will change the file going through that node and second node will get "blank" file causing it to fail totally.
Is there a way that second node gets the source file instead? And not the file that's being "encoded" with previous node?

Like this:
Image

Thank you!

Re: Encode fail node to next encode node - source file

Posted: Wed Mar 16, 2022 2:54 pm
by emcodem
Hi veks,
that sounds a little bit buggy to me, @admin to check it out. Are we talking about ffastrans 1.3.1 Version?

Anyway, you can workaround by inserting a populate vars processor and set %s_source% to %s_pickup_file% before the second encoder.

Re: Encode fail node to next encode node - source file

Posted: Wed Mar 16, 2022 4:34 pm
by admin
It's not a bug, it's a feature ;-) So currently the way to do it is as @emcodem suggests.

-steinar

Re: Encode fail node to next encode node - source file

Posted: Thu Mar 17, 2022 8:30 am
by veks
emcodem wrote: Wed Mar 16, 2022 2:54 pm Hi veks,
that sounds a little bit buggy to me, @admin to check it out. Are we talking about ffastrans 1.3.1 Version?

Anyway, you can workaround by inserting a populate vars processor and set %s_source% to %s_pickup_file% before the second encoder.
Thanks!
I'll try that! :)

EDIT: It works without a problem!