Kyoo's version
/
What happened?
When transcoding using hardware encoding a file in a format that is not supported by the hardware, we should properly catch the ffmpeg's error and switch to software transcoding.
Sometimes, ffmpeg will output one (empty) segment before failing, we should ignore this one before switching to software transcode.