matroska.mak 4.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. FATE_MATROSKA-$(call ALLYES, MATROSKA_DEMUXER ZLIB) += fate-matroska-prores-zlib
  2. fate-matroska-prores-zlib: CMD = framecrc -i $(TARGET_SAMPLES)/mkv/prores_zlib.mkv -c:v copy
  3. # This tests that the matroska demuxer correctly adds the icpf header atom
  4. # upon demuxing; it also tests bz2 decompression and unknown-length cluster.
  5. FATE_MATROSKA-$(call ALLYES, MATROSKA_DEMUXER BZLIB) += fate-matroska-prores-header-insertion-bz2
  6. fate-matroska-prores-header-insertion-bz2: CMD = framecrc -i $(TARGET_SAMPLES)/mkv/prores_bz2.mkv -map 0 -c copy
  7. # This tests that the matroska demuxer supports modifying the colorspace
  8. # properties in remuxing (-c:v copy)
  9. # It also tests automatic insertion of the vp9_superframe bitstream filter
  10. FATE_MATROSKA-$(call DEMMUX, MATROSKA, MATROSKA) += fate-matroska-remux
  11. fate-matroska-remux: CMD = md5pipe -i $(TARGET_SAMPLES)/vp9-test-vectors/vp90-2-2pass-akiyo.webm -color_trc 4 -c:v copy -fflags +bitexact -strict -2 -f matroska
  12. fate-matroska-remux: CMP = oneline
  13. fate-matroska-remux: REF = 26fabd90326e3de4bb6afe1b216ce232
  14. FATE_MATROSKA-$(call ALLYES, MATROSKA_DEMUXER VORBIS_PARSER) += fate-matroska-xiph-lacing
  15. fate-matroska-xiph-lacing: CMD = framecrc -i $(TARGET_SAMPLES)/mkv/xiph_lacing.mka -c:a copy
  16. # This tests that the Matroska demuxer correctly demuxes WavPack
  17. # without CodecPrivate; it also tests zlib compressed WavPack.
  18. FATE_MATROSKA-$(call ALLYES, MATROSKA_DEMUXER ZLIB) += fate-matroska-wavpack-missing-codecprivate
  19. fate-matroska-wavpack-missing-codecprivate: CMD = framecrc -i $(TARGET_SAMPLES)/mkv/wavpack_missing_codecprivate.mka -c copy
  20. # This tests that the matroska demuxer supports decompressing
  21. # zlib compressed tracks (both the CodecPrivate as well as the actual frames).
  22. FATE_MATROSKA-$(call ALLYES, MATROSKA_DEMUXER ZLIB) += fate-matroska-zlib-decompression
  23. fate-matroska-zlib-decompression: CMD = framecrc -i $(TARGET_SAMPLES)/mkv/subtitle_zlib.mks -c:s copy
  24. # This tests that the matroska demuxer can decompress lzo compressed tracks.
  25. FATE_MATROSKA-$(call ALLYES, MATROSKA_DEMUXER LZO) += fate-matroska-lzo-decompression
  26. fate-matroska-lzo-decompression: CMD = framecrc -i $(TARGET_SAMPLES)/mkv/lzo.mka -c copy
  27. # This tests that the matroska demuxer correctly propagates
  28. # the channel layout contained in vorbis comments in the CodecPrivate
  29. # of flac tracks. It also tests header removal compression.
  30. FATE_MATROSKA-$(call ALLYES, MATROSKA_DEMUXER FLAC_PARSER) += fate-matroska-flac-channel-mapping
  31. fate-matroska-flac-channel-mapping: CMD = framecrc -i $(TARGET_SAMPLES)/mkv/flac_channel_layouts.mka -map 0 -c:a copy
  32. # This tests that the Matroska muxer writes the channel layout
  33. # of FLAC tracks as a Vorbis comment in the CodecPrivate if necessary
  34. # and that FLAC extradata is correctly updated when a packet
  35. # with sidedata containing new extradata is encountered.
  36. # Furthermore it tests everything the matroska-flac-channel-mapping test
  37. # tests and it also tests the FLAC decoder and encoder, in particular
  38. # the latter's ability to send updated extradata.
  39. FATE_MATROSKA-$(call ALLYES, FLAC_DECODER FLAC_ENCODER FLAC_PARSER \
  40. MATROSKA_DEMUXER MATROSKA_MUXER) += fate-matroska-flac-extradata-update
  41. fate-matroska-flac-extradata-update: CMD = transcode matroska $(TARGET_SAMPLES)/mkv/flac_channel_layouts.mka \
  42. matroska "-map 0 -map 0:0 -c flac -frames:a:2 8" "-map 0 -c copy"
  43. # This test tests demuxing Vorbis and chapters from ogg and muxing it in and
  44. # demuxing it from Matroska/WebM. It furthermore tests the WebM muxer, in
  45. # particular its DASH mode. Finally, it tests writing the Cues at the front.
  46. FATE_MATROSKA_FFMPEG_FFPROBE-$(call ALLYES, MATROSKA_DEMUXER OGG_DEMUXER \
  47. VORBIS_DECODER VORBIS_PARSER WEBM_MUXER) \
  48. += fate-webm-dash-chapters
  49. fate-webm-dash-chapters: CMD = transcode ogg $(TARGET_SAMPLES)/vorbis/vorbis_chapter_extension_demo.ogg webm "-c copy -cluster_time_limit 1500 -dash 1 -dash_track_number 124 -reserve_index_space 400" "-c copy -t 0.5" "" -show_chapters
  50. FATE_MATROSKA_FFPROBE-$(call ALLYES, MATROSKA_DEMUXER) += fate-matroska-spherical-mono
  51. 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
  52. FATE_SAMPLES_AVCONV += $(FATE_MATROSKA-yes)
  53. FATE_SAMPLES_FFPROBE += $(FATE_MATROSKA_FFPROBE-yes)
  54. FATE_SAMPLES_FFMPEG_FFPROBE += $(FATE_MATROSKA_FFMPEG_FFPROBE-yes)