Utilize ffmpeg exit code
Posted: Thu Jul 25, 2019 11:51 am
Hey steinar,
is there a reason why you don't look for the Exit code of the spawned ffmpeg child process in _Simple_MediaOutput? Anyway, from These 2 cases at least, i did get the Feeling that it could be a good idea to collect ffmpeg Exit code and accordingly react to it:
viewtopic.php?f=5&t=899
viewtopic.php?f=4&t=887
As i see it, in both cases ffmpeg was interrupted but the resulting file was found to be OK by the follow up internal media_checks, so the worfklow just went on even if the transcoding obviously failed. Is it a valid usecase to go on the success path even if ffmpeg returned with failure?
cheers!
is there a reason why you don't look for the Exit code of the spawned ffmpeg child process in _Simple_MediaOutput? Anyway, from These 2 cases at least, i did get the Feeling that it could be a good idea to collect ffmpeg Exit code and accordingly react to it:
viewtopic.php?f=5&t=899
viewtopic.php?f=4&t=887
As i see it, in both cases ffmpeg was interrupted but the resulting file was found to be OK by the follow up internal media_checks, so the worfklow just went on even if the transcoding obviously failed. Is it a valid usecase to go on the success path even if ffmpeg returned with failure?
cheers!