iamf.mak 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. FATE_IAMF-$(call TRANSCODE, FLAC, IAMF, WAV_DEMUXER PCM_S16LE_DECODER) += fate-iamf-stereo
  2. fate-iamf-stereo: tests/data/asynth-44100-2.wav tests/data/streamgroups/audio_element-stereo tests/data/streamgroups/mix_presentation-stereo
  3. fate-iamf-stereo: SRC = $(TARGET_PATH)/tests/data/asynth-44100-2.wav
  4. fate-iamf-stereo: CMD = transcode wav $(SRC) iamf " \
  5. -/stream_group $(TARGET_PATH)/tests/data/streamgroups/audio_element-stereo \
  6. -/stream_group $(TARGET_PATH)/tests/data/streamgroups/mix_presentation-stereo \
  7. -streamid 0:0 -c:a flac -t 1" "-c:a copy -map 0" \
  8. "-show_entries stream_group=index,id,nb_streams,type:stream_group_components:stream_group_stream=index,id:stream_group_stream_disposition"
  9. FATE_IAMF-$(call TRANSCODE, FLAC, IAMF, WAV_DEMUXER PCM_S16LE_DECODER ARESAMPLE_FILTER) += fate-iamf-5_1_4
  10. fate-iamf-5_1_4: tests/data/asynth-44100-10.wav tests/data/filtergraphs/iamf_5_1_4 tests/data/streamgroups/audio_element-5_1_4 tests/data/streamgroups/mix_presentation-5_1_4
  11. fate-iamf-5_1_4: SRC = $(TARGET_PATH)/tests/data/asynth-44100-10.wav
  12. fate-iamf-5_1_4: CMD = transcode wav $(SRC) iamf "-auto_conversion_filters \
  13. -/filter_complex $(TARGET_PATH)/tests/data/filtergraphs/iamf_5_1_4 \
  14. -/stream_group $(TARGET_PATH)/tests/data/streamgroups/audio_element-5_1_4 \
  15. -/stream_group $(TARGET_PATH)/tests/data/streamgroups/mix_presentation-5_1_4 \
  16. -streamid 0:0 -streamid 1:1 -streamid 2:2 -streamid 3:3 -streamid 4:4 -streamid 5:5 -map [FRONT] -map [BACK] -map [CENTER] -map [LFE] -map [TOP_FRONT] -map [TOP_BACK] -c:a flac -t 1" "-c:a copy -map 0" \
  17. "-show_entries stream_group=index,id,nb_streams,type:stream_group_components:stream_group_stream=index,id:stream_group_stream_disposition"
  18. FATE_IAMF-$(call TRANSCODE, FLAC, IAMF, WAV_DEMUXER PCM_S16LE_DECODER ARESAMPLE_FILTER) += fate-iamf-7_1_4
  19. fate-iamf-7_1_4: tests/data/asynth-44100-12.wav tests/data/filtergraphs/iamf_7_1_4 tests/data/streamgroups/audio_element-7_1_4 tests/data/streamgroups/mix_presentation-7_1_4
  20. fate-iamf-7_1_4: SRC = $(TARGET_PATH)/tests/data/asynth-44100-12.wav
  21. fate-iamf-7_1_4: CMD = transcode wav $(SRC) iamf "-auto_conversion_filters \
  22. -/filter_complex $(TARGET_PATH)/tests/data/filtergraphs/iamf_7_1_4 \
  23. -/stream_group $(TARGET_PATH)/tests/data/streamgroups/audio_element-7_1_4 \
  24. -/stream_group $(TARGET_PATH)/tests/data/streamgroups/mix_presentation-7_1_4 \
  25. -streamid 0:0 -streamid 1:1 -streamid 2:2 -streamid 3:3 -streamid 4:4 -streamid 5:5 -streamid 6:6 -map [FRONT] -map [BACK] -map [CENTER] -map [LFE] -map [SIDE] -map [TOP_FRONT] -map [TOP_BACK] -c:a flac -t 1" "-c:a copy -map 0" \
  26. "-show_entries stream_group=index,id,nb_streams,type:stream_group_components:stream_group_stream=index,id:stream_group_stream_disposition"
  27. FATE_IAMF-$(call TRANSCODE, FLAC, IAMF, WAV_DEMUXER PCM_S16LE_DECODER ARESAMPLE_FILTER) += fate-iamf-9_1_6
  28. fate-iamf-9_1_6: tests/data/asynth-44100-12.wav tests/data/filtergraphs/iamf_9_1_6 tests/data/streamgroups/audio_element-9_1_6 tests/data/streamgroups/audio_element-9_1_6-stereo tests/data/streamgroups/mix_presentation-9_1_6
  29. fate-iamf-9_1_6: SRC = $(TARGET_PATH)/tests/data/asynth-44100-12.wav
  30. fate-iamf-9_1_6: CMD = transcode wav $(SRC) iamf "-auto_conversion_filters \
  31. -/filter_complex $(TARGET_PATH)/tests/data/filtergraphs/iamf_9_1_6 \
  32. -/stream_group $(TARGET_PATH)/tests/data/streamgroups/audio_element-9_1_6 \
  33. -/stream_group $(TARGET_PATH)/tests/data/streamgroups/audio_element-9_1_6-stereo \
  34. -/stream_group $(TARGET_PATH)/tests/data/streamgroups/mix_presentation-9_1_6 \
  35. -streamid 0:0 -streamid 1:1 -streamid 2:2 -streamid 3:3 -streamid 4:4 -streamid 5:5 -streamid 6:6 -streamid 7:7 -streamid 8:8 -streamid 9:9 -map [FRONT] -map [BACK] -map [CENTER] -map [LFE] -map [FRONT_CENTER] -map [SIDE] -map [TOP_FRONT] -map [TOP_BACK] -map [TOP_SIDE] -map [STEREO] -c:a flac -t 1" "-c:a copy -map 0" \
  36. "-show_entries stream_group=index,id,nb_streams,type:stream_group_components:stream_group_stream=index,id:stream_group_stream_disposition"
  37. FATE_IAMF-$(call TRANSCODE, FLAC, IAMF, WAV_DEMUXER PCM_S16LE_DECODER ARESAMPLE_FILTER) += fate-iamf-ambisonic_1
  38. fate-iamf-ambisonic_1: tests/data/asynth-44100-4.wav tests/data/filtergraphs/iamf_ambisonic_1 tests/data/streamgroups/audio_element-ambisonic_1 tests/data/streamgroups/mix_presentation-ambisonic_1
  39. fate-iamf-ambisonic_1: SRC = $(TARGET_PATH)/tests/data/asynth-44100-4.wav
  40. fate-iamf-ambisonic_1: CMD = transcode wav $(SRC) iamf "-auto_conversion_filters \
  41. -/filter_complex $(TARGET_PATH)/tests/data/filtergraphs/iamf_ambisonic_1 \
  42. -/stream_group $(TARGET_PATH)/tests/data/streamgroups/audio_element-ambisonic_1 \
  43. -/stream_group $(TARGET_PATH)/tests/data/streamgroups/mix_presentation-ambisonic_1 \
  44. -streamid 0:0 -streamid 1:1 -streamid 2:2 -streamid 3:3 -map [MONO0] -map [MONO1] -map [MONO2] -map [MONO3] -c:a flac -t 1" "-c:a copy -map 0" \
  45. "-show_entries stream_group=index,id,nb_streams,type:stream_group_components:stream_group_stream=index,id:stream_group_stream_disposition"
  46. FATE_IAMF_SAMPLES-$(call FRAMECRC, IAMF, OPUS) += fate-iamf-stereo-demux
  47. fate-iamf-stereo-demux: CMD = stream_demux iamf $(TARGET_SAMPLES)/iamf/test_000076.iamf "" \
  48. "-c:a copy -frames:a 0 -map 0:g:\#42" \
  49. "-show_entries stream_group=index,id,nb_streams,type:stream_group_components:stream_group_stream=index,id:stream_group_stream_disposition"
  50. FATE_IAMF_SAMPLES-$(call FRAMECRC, IAMF, OPUS) += fate-iamf-5_1-demux
  51. fate-iamf-5_1-demux: CMD = stream_demux iamf $(TARGET_SAMPLES)/iamf/test_000059.iamf "" \
  52. "-c:a copy -frames:a 0 -map 0:g:\#42" \
  53. "-show_entries stream_group=index,id,nb_streams,type:stream_group_components:stream_group_stream=index,id:stream_group_stream_disposition"
  54. FATE_IAMF_SAMPLES-$(call REMUX, IAMF, OPUS_DECODER) += fate-iamf-5_1-copy
  55. fate-iamf-5_1-copy: CMD = stream_remux iamf $(TARGET_SAMPLES)/iamf/test_000059.iamf "" iamf \
  56. "-map 0 -stream_group map=0=0:st=0:st=1:st=2:st=3 -stream_group map=0=1:stg=0 -streamid 0:0 -streamid 1:1 -streamid 2:2 -streamid 3:3" "" "-c:a copy -frames:a 0 -map 0:g:i:42" \
  57. "-show_entries stream_group=index,id,nb_streams,type:stream_group_components:stream_group_stream=index,id:stream_group_stream_disposition"
  58. FATE_IAMF += $(FATE_IAMF-yes)
  59. FATE_IAMF_SAMPLES += $(FATE_IAMF_SAMPLES-yes)
  60. FATE_FFMPEG_FFPROBE += $(FATE_IAMF)
  61. FATE_SAMPLES_FFMPEG_FFPROBE += $(FATE_IAMF_SAMPLES)
  62. fate-iamf: $(FATE_IAMF) $(FATE_IAMF_SAMPLES)