filter-audio.mak 4.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. FATE_AFILTER-$(call FILTERDEMDECENCMUX, ADELAY, WAV, PCM_S16LE, PCM_S16LE, WAV) += fate-filter-adelay
  2. fate-filter-adelay: tests/data/asynth-44100-2.wav
  3. fate-filter-adelay: SRC = $(TARGET_PATH)/tests/data/asynth-44100-2.wav
  4. fate-filter-adelay: CMD = framecrc -i $(SRC) -af adelay=42
  5. FATE_AMIX += fate-filter-amix-simple
  6. fate-filter-amix-simple: CMD = ffmpeg -filter_complex amix -i $(SRC) -ss 3 -i $(SRC1) -f f32le -
  7. fate-filter-amix-simple: REF = $(SAMPLES)/filter/amix_simple.pcm
  8. FATE_AMIX += fate-filter-amix-first
  9. fate-filter-amix-first: CMD = ffmpeg -filter_complex amix=duration=first -ss 4 -i $(SRC) -i $(SRC1) -f f32le -
  10. fate-filter-amix-first: REF = $(SAMPLES)/filter/amix_first.pcm
  11. FATE_AMIX += fate-filter-amix-transition
  12. fate-filter-amix-transition: tests/data/asynth-44100-2-3.wav
  13. fate-filter-amix-transition: SRC2 = $(TARGET_PATH)/tests/data/asynth-44100-2-3.wav
  14. fate-filter-amix-transition: CMD = ffmpeg -filter_complex amix=inputs=3:dropout_transition=0.5 -i $(SRC) -ss 2 -i $(SRC1) -ss 4 -i $(SRC2) -f f32le -
  15. fate-filter-amix-transition: REF = $(SAMPLES)/filter/amix_transition.pcm
  16. FATE_AFILTER-$(call FILTERDEMDECENCMUX, AMIX, WAV, PCM_S16LE, PCM_F32LE, PCM_F32LE) += $(FATE_AMIX)
  17. $(FATE_AMIX): tests/data/asynth-44100-2.wav tests/data/asynth-44100-2-2.wav
  18. $(FATE_AMIX): SRC = $(TARGET_PATH)/tests/data/asynth-44100-2.wav
  19. $(FATE_AMIX): SRC1 = $(TARGET_PATH)/tests/data/asynth-44100-2-2.wav
  20. $(FATE_AMIX): CMP = oneoff
  21. $(FATE_AMIX): CMP_UNIT = f32
  22. FATE_AFILTER-$(call FILTERDEMDECMUX, ASYNCTS, FLV, NELLYMOSER, PCM_S16LE) += fate-filter-asyncts
  23. fate-filter-asyncts: SRC = $(TARGET_SAMPLES)/nellymoser/nellymoser-discont.flv
  24. fate-filter-asyncts: CMD = pcm -analyzeduration 10000000 -i $(SRC) -af asyncts
  25. fate-filter-asyncts: CMP = oneoff
  26. fate-filter-asyncts: REF = $(SAMPLES)/nellymoser/nellymoser-discont-async-v3.pcm
  27. FATE_FILTER-$(CONFIG_ARESAMPLE_FILTER) += fate-filter-aresample
  28. fate-filter-aresample: SRC = $(SAMPLES)/nellymoser/nellymoser-discont.flv
  29. fate-filter-aresample: CMD = pcm -analyzeduration 10000000 -i $(SRC) -af aresample=min_comp=0.001:min_hard_comp=0.1:first_pts=0
  30. fate-filter-aresample: CMP = oneoff
  31. fate-filter-aresample: REF = $(SAMPLES)/nellymoser/nellymoser-discont.pcm
  32. FATE_ATRIM += fate-filter-atrim-duration
  33. fate-filter-atrim-duration: CMD = framecrc -i $(SRC) -af atrim=start=0.1:duration=0.01
  34. FATE_ATRIM += fate-filter-atrim-mixed
  35. fate-filter-atrim-mixed: CMD = framecrc -i $(SRC) -af atrim=start=0.05:start_sample=1025:end=0.1:end_sample=4411
  36. FATE_ATRIM += fate-filter-atrim-samples
  37. fate-filter-atrim-samples: CMD = framecrc -i $(SRC) -af atrim=start_sample=26:end_sample=80
  38. FATE_ATRIM += fate-filter-atrim-time
  39. fate-filter-atrim-time: CMD = framecrc -i $(SRC) -af atrim=0.1:0.2
  40. $(FATE_ATRIM): tests/data/asynth-44100-2.wav
  41. $(FATE_ATRIM): SRC = $(TARGET_PATH)/tests/data/asynth-44100-2.wav
  42. FATE_FILTER-$(call FILTERDEMDECENCMUX, ATRIM, WAV, PCM_S16LE, PCM_S16LE, WAV) += $(FATE_ATRIM)
  43. FATE_AFILTER-$(call FILTERDEMDECENCMUX, CHANNELMAP, WAV, PCM_S16LE, PCM_S16LE, WAV) += fate-filter-channelmap
  44. fate-filter-channelmap: tests/data/filtergraphs/channelmap
  45. fate-filter-channelmap: SRC = $(TARGET_PATH)/tests/data/asynth-44100-6.wav
  46. fate-filter-channelmap: tests/data/asynth-44100-6.wav
  47. fate-filter-channelmap: CMD = md5 -i $(SRC) -filter_complex_script $(TARGET_PATH)/tests/data/filtergraphs/channelmap -f wav -flags +bitexact
  48. fate-filter-channelmap: CMP = oneline
  49. fate-filter-channelmap: REF = 06168d06085e2c0603e4e118ba4cade2
  50. FATE_AFILTER-$(call FILTERDEMDECENCMUX, CHANNELSPLIT, WAV, PCM_S16LE, PCM_S16LE, PCM_S16LE) += fate-filter-channelsplit
  51. fate-filter-channelsplit: SRC = $(TARGET_PATH)/tests/data/asynth-44100-2.wav
  52. fate-filter-channelsplit: tests/data/asynth-44100-2.wav
  53. fate-filter-channelsplit: CMD = md5 -i $(SRC) -filter_complex channelsplit -f s16le
  54. fate-filter-channelsplit: CMP = oneline
  55. fate-filter-channelsplit: REF = d92988d0fe2dd92236763f47b07ab597
  56. FATE_AFILTER-$(call FILTERDEMDECENCMUX, JOIN, WAV, PCM_S16LE, PCM_S16LE, PCM_S16LE) += fate-filter-join
  57. fate-filter-join: SRC1 = $(TARGET_PATH)/tests/data/asynth-44100-2.wav
  58. fate-filter-join: SRC2 = $(TARGET_PATH)/tests/data/asynth-44100-3.wav
  59. fate-filter-join: tests/data/asynth-44100-2.wav tests/data/asynth-44100-3.wav
  60. fate-filter-join: CMD = md5 -i $(SRC1) -i $(SRC2) -filter_complex join=channel_layout=5 -f s16le
  61. fate-filter-join: CMP = oneline
  62. fate-filter-join: REF = 88b0d24a64717ba8635b29e8dac6ecd8
  63. FATE_AFILTER-$(call ALLYES, WAV_DEMUXER PCM_S16LE_DECODER PCM_S16LE_ENCODER PCM_S16LE_MUXER APERMS_FILTER VOLUME_FILTER) += fate-filter-volume
  64. fate-filter-volume: SRC = $(TARGET_PATH)/tests/data/asynth-44100-2.wav
  65. fate-filter-volume: tests/data/asynth-44100-2.wav
  66. fate-filter-volume: CMD = md5 -i $(SRC) -af aperms=random,volume=precision=fixed:volume=0.5 -f s16le
  67. fate-filter-volume: CMP = oneline
  68. fate-filter-volume: REF = 4d6ba75ef3e32d305d066b9bc771d6f4
  69. FATE_SAMPLES_AVCONV += $(FATE_AFILTER-yes)
  70. fate-afilter: $(FATE_AFILTER-yes)