rust-av / av-metrics

Quality metrics
MIT License
54 stars 10 forks source link

Add more format info to `VideoDetails` #306

Open FreezyLemon opened 1 month ago

FreezyLemon commented 1 month ago

It looks like VideoDetails always assumes YUV, which is not the case. From what I can tell, this makes it impossible to determine the exact video format being used. E.g. the vapoursynth decoder supplies more information via the VSFormat and ColorFamily types, but most of it is never exposed through the av API.

This makes things like https://github.com/rust-av/ssimulacra2_bin/issues/29 impossible.