[FFmpeg-devel] [PATCH 2/2] fate: add a monoscopic spherical matroska test

James Almer jamrial at gmail.com
Thu Dec 8 20:11:04 EET 2016


Signed-off-by: James Almer <jamrial at gmail.com>
---
Sample can be found in http://0x0.st/Lpj.mkv

 tests/fate/matroska.mak                |  4 ++++
 tests/ref/fate/matroska-spherical-mono | 16 ++++++++++++++++
 2 files changed, 20 insertions(+)
 create mode 100644 tests/ref/fate/matroska-spherical-mono

diff --git a/tests/fate/matroska.mak b/tests/fate/matroska.mak
index 35ed41f..f131f2e 100644
--- a/tests/fate/matroska.mak
+++ b/tests/fate/matroska.mak
@@ -6,4 +6,8 @@ fate-matroska-remux: CMD = md5 -i $(TARGET_SAMPLES)/vp9-test-vectors/vp90-2-2pas
 fate-matroska-remux: CMP = oneline
 fate-matroska-remux: REF = 9b8398b42804ba12c39d2f47299a0996
 
+FATE_MATROSKA_FFPROBE-$(call ALLYES, MATROSKA_DEMUXER) += fate-matroska-spherical-mono
+fate-matroska-spherical-mono: CMD = run ffprobe$(PROGSSUF)$(EXESUF) -show_entries stream_side_data_list -select_streams v -v 0 $(TARGET_SAMPLES)/mkv/spherical.mkv
+
 FATE_SAMPLES_AVCONV += $(FATE_MATROSKA-yes)
+FATE_SAMPLES_FFPROBE += $(FATE_MATROSKA_FFPROBE-yes)
diff --git a/tests/ref/fate/matroska-spherical-mono b/tests/ref/fate/matroska-spherical-mono
new file mode 100644
index 0000000..9f4b4f8
--- /dev/null
+++ b/tests/ref/fate/matroska-spherical-mono
@@ -0,0 +1,16 @@
+[STREAM]
+[SIDE_DATA]
+side_data_type=Stereo 3D
+side_data_size=8
+type=2D
+inverted=0
+[/SIDE_DATA]
+[SIDE_DATA]
+side_data_type=Spherical Mapping
+side_data_size=16
+projection=equirectangular
+yaw=45
+pitch=30
+roll=15
+[/SIDE_DATA]
+[/STREAM]
-- 
2.10.2



More information about the ffmpeg-devel mailing list