Skip to content

Properly fallback when hardware encoding fails #1068

@zoriya

Description

@zoriya

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions