Conversation
49b6ddb to
14203e1
Compare
14203e1 to
541b5e7
Compare
A more user friendly API would be #1676 but will be a breaking/behaviour change for some users. |
|
This API seems weird to me |
My understanding is that the rotation is now part of sidechannel data in MP4 streams. |
If I understand the FFmpeg documentation correctly, the rotation information is only part of the AVPacket side data (which PyAV doesn't expose yet) or part of the AVFrame side data. I think |
d9da4f2 to
17b0b96
Compare
Done in 17b0b96 The mypy failure in |
This adds a
VideoFrame.rotationproperty which usesav_display_rotation_getto read the rotation value fromDISPLAYMATRIX.This exposes a wrapper aroundav_display_rotation_getallowing users to read the rotation value from theDISPLAYMATRIX.Not sure if this is the most usable API but at least this brings back the ability to read display rotation information.Fixes #1047
Closes #1629