ffmpeg.mak 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. FATE_MAPCHAN-$(CONFIG_CHANNELMAP_FILTER) += fate-mapchan-6ch-extract-2
  2. fate-mapchan-6ch-extract-2: tests/data/asynth-22050-6.wav
  3. fate-mapchan-6ch-extract-2: CMD = ffmpeg -i $(TARGET_PATH)/tests/data/asynth-22050-6.wav -map_channel 0.0.0 -flags +bitexact -f wav md5: -map_channel 0.0.1 -flags +bitexact -f wav md5:
  4. FATE_MAPCHAN-$(CONFIG_CHANNELMAP_FILTER) += fate-mapchan-6ch-extract-2-downmix-mono
  5. fate-mapchan-6ch-extract-2-downmix-mono: tests/data/asynth-22050-6.wav
  6. fate-mapchan-6ch-extract-2-downmix-mono: CMD = md5 -i $(TARGET_PATH)/tests/data/asynth-22050-6.wav -map_channel 0.0.1 -map_channel 0.0.0 -ac 1 -flags +bitexact -f wav
  7. FATE_MAPCHAN-$(CONFIG_CHANNELMAP_FILTER) += fate-mapchan-silent-mono
  8. fate-mapchan-silent-mono: tests/data/asynth-22050-1.wav
  9. fate-mapchan-silent-mono: CMD = md5 -i $(TARGET_PATH)/tests/data/asynth-22050-1.wav -map_channel -1 -map_channel 0.0.0 -flags +bitexact -f wav
  10. FATE_MAPCHAN = $(FATE_MAPCHAN-yes)
  11. FATE_FFMPEG += $(FATE_MAPCHAN)
  12. fate-mapchan: $(FATE_MAPCHAN)
  13. FATE_FFMPEG-$(CONFIG_COLOR_FILTER) += fate-ffmpeg-filter_complex
  14. fate-ffmpeg-filter_complex: CMD = framecrc -filter_complex color=d=1:r=5
  15. FATE_FFMPEG-$(CONFIG_COLOR_FILTER) += fate-ffmpeg-lavfi
  16. fate-ffmpeg-lavfi: CMD = framecrc -lavfi color=d=1:r=5
  17. FATE_FFMPEG-$(CONFIG_RAWVIDEO_DEMUXER) += fate-force_key_frames
  18. fate-force_key_frames: tests/data/vsynth2.yuv
  19. fate-force_key_frames: CMD = enc_dec \
  20. "rawvideo -s 352x288 -pix_fmt yuv420p" tests/data/vsynth2.yuv \
  21. avi "-c mpeg4 -g 240 -qscale 10 -force_key_frames 0.5,0:00:01.5" \
  22. framecrc "" "" "-skip_frame nokey"
  23. FATE_SAMPLES_FFMPEG-$(call ALLYES, VOBSUB_DEMUXER DVDSUB_DECODER AVFILTER OVERLAY_FILTER DVDSUB_ENCODER) += fate-sub2video
  24. fate-sub2video: tests/data/vsynth2.yuv
  25. fate-sub2video: CMD = framecrc \
  26. -f rawvideo -r 5 -s 352x288 -pix_fmt yuv420p -i tests/data/vsynth2.yuv \
  27. -ss 132 -i $(SAMPLES)/sub/vobsub.idx \
  28. -filter_complex "sws_flags=+accurate_rnd+bitexact;[0:0]scale=720:480[v];[v][1:0]overlay[v2]" \
  29. -map "[v2]" -c:v rawvideo -map 1:s -c:s dvdsub
  30. FATE_FFMPEG-$(call ALLYES, PCM_S16LE_DEMUXER PCM_S16LE_MUXER PCM_S16LE_DECODER PCM_S16LE_ENCODER) += fate-unknown_layout-pcm
  31. fate-unknown_layout-pcm: $(AREF)
  32. fate-unknown_layout-pcm: CMD = md5 \
  33. -guess_layout_max 0 -f s16le -ac 1 -ar 44100 -i $(AREF) -f s16le
  34. FATE_FFMPEG-$(call ALLYES, PCM_S16LE_DEMUXER AC3_MUXER PCM_S16LE_DECODER AC3_FIXED_ENCODER) += fate-unknown_layout-ac3
  35. fate-unknown_layout-ac3: $(AREF)
  36. fate-unknown_layout-ac3: CMD = md5 \
  37. -guess_layout_max 0 -f s16le -ac 1 -ar 44100 -i $(AREF) \
  38. -f ac3 -flags +bitexact -c ac3_fixed