Skip to content

Output dtype for 10bit videos: avoid lossy convertion to 8 bits #939

@NicolasHug

Description

@NicolasHug

Opening this issue to keep track of the feature request.

Currently, 10 bit videos are automatically converted to uint8 because this is the only dtype that the decoder can currently output. This 10 -> 8 bit conversion process is obviously lossy. Depending on the popularity of this feature, we may want to allow outputting a different dtype. uint16 is an option, although it currently has very minimal support in pytorch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions