diff options
author | wm4 <wm4@nowhere> | 2017-08-21 14:56:07 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-08-21 14:56:07 +0200 |
commit | 028faacff56d7f90f6b119b0b0ac686fd614825f (patch) | |
tree | 33d77aa61946f3bebfdb28fa8670065fdb79aed8 /TOOLS/matroska.py | |
parent | 82d9419f62c90cecc13c492e3b68feebe0229daa (diff) | |
download | mpv-028faacff56d7f90f6b119b0b0ac686fd614825f.tar.bz2 mpv-028faacff56d7f90f6b119b0b0ac686fd614825f.tar.xz |
video: add metadata handling for spherical video
This adds handling of spherical video metadata: retrieving it from
demux_lavf and demux_mkv, passing it through filters, and adjusting it
with vf_format. This does not include support for rendering this type of
video.
We don't expect we need/want to support the other projection types like
cube maps, so we don't include that for now. They can be added later as
needed.
Also raise the maximum sizes of stringified image params, since they
can get really long.
Diffstat (limited to 'TOOLS/matroska.py')
-rwxr-xr-x | TOOLS/matroska.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/TOOLS/matroska.py b/TOOLS/matroska.py index 2b59d2d8c0..bf9a0f2eef 100755 --- a/TOOLS/matroska.py +++ b/TOOLS/matroska.py @@ -137,6 +137,13 @@ elements_matroska = ( 'LuminanceMin, 55DA, float', ), ), + 'Projection, 7670, sub', ( + 'ProjectionType, 7671, uint', + 'ProjectionPrivate, 7672, binary', + 'ProjectionPoseYaw, 7673, float', + 'ProjectionPosePitch, 7674, float', + 'ProjectionPoseRoll, 7675, float', + ), ), 'Audio, e1, sub', ( 'SamplingFrequency, b5, float', |