Skip to content

Feature request: Add side_data attribute to Stream #1150

@hyenal

Description

@hyenal

Overview

Sometimes a stream encodes side data in the entire stream (in side_data). Some of those side data are quite essential to read the video correctly.
For instance displaymatrix sometimes encode whether the video is rotated or not.

From the AV documentation it seems like we could know easily if there is side data with the attribute nb_side_data.

I would like to know if this is an interesting feature for this library ? I started a fork there with, for now, a simple skeleton of how it would look like

Desired Behavior

When reading a video (or any other stream) you would get the side data as a dictionary:

# This would give you the stream metadata
container.stream.video[0].side_data

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions