hlsenc.mak 5.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. tests/data/live_no_endlist.m3u8: TAG = GEN
  2. tests/data/live_no_endlist.m3u8: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
  3. $(M)$(TARGET_EXEC) $(TARGET_PATH)/$< \
  4. -f lavfi -v verbose -i "aevalsrc=cos(2*PI*t)*sin(2*PI*(440+4*t)*t):d=20" -f hls -hls_time 3 -map 0 \
  5. -hls_flags omit_endlist -codec:a mp2fixed -hls_segment_filename $(TARGET_PATH)/tests/data/live_no_endlist_%03d.ts \
  6. $(TARGET_PATH)/tests/data/live_no_endlist.m3u8 2>/dev/null
  7. FATE_AFILTER-$(call ALLYES, HLS_DEMUXER MPEGTS_MUXER MPEGTS_DEMUXER AEVALSRC_FILTER LAVFI_INDEV MP2FIXED_ENCODER) += fate-hls-live-no-endlist
  8. fate-hls-live-no-endlist: tests/data/live_no_endlist.m3u8
  9. fate-hls-live-no-endlist: SRC = $(TARGET_PATH)/tests/data/live_no_endlist.m3u8
  10. fate-hls-live-no-endlist: CMD = md5 -i $(SRC) -af hdcd=process_stereo=false -t 6 -f s24le
  11. fate-hls-live-no-endlist: CMP = oneline
  12. fate-hls-live-no-endlist: REF = e038bb8e65d4c1745b9b3ed643e607a3
  13. tests/data/live_last_endlist.m3u8: TAG = GEN
  14. tests/data/live_last_endlist.m3u8: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
  15. $(M)$(TARGET_EXEC) $(TARGET_PATH)/$< \
  16. -f lavfi -v verbose -i "aevalsrc=cos(2*PI*t)*sin(2*PI*(440+4*t)*t):d=20" -f hls -hls_time 3 -map 0 \
  17. -codec:a mp2fixed -hls_segment_filename $(TARGET_PATH)/tests/data/live_last_endlist_%03d.ts \
  18. $(TARGET_PATH)/tests/data/live_last_endlist.m3u8 2>/dev/null
  19. FATE_AFILTER-$(call ALLYES, HLS_DEMUXER MPEGTS_MUXER MPEGTS_DEMUXER AEVALSRC_FILTER LAVFI_INDEV MP2FIXED_ENCODER) += fate-hls-live-last-endlist
  20. fate-hls-live-last-endlist: tests/data/live_last_endlist.m3u8
  21. fate-hls-live-last-endlist: SRC = $(TARGET_PATH)/tests/data/live_last_endlist.m3u8
  22. fate-hls-live-last-endlist: CMD = md5 -i $(SRC) -af hdcd=process_stereo=false -t 6 -f s24le
  23. fate-hls-live-last-endlist: CMP = oneline
  24. fate-hls-live-last-endlist: REF = 2ca8567092dcf01e37bedd50454d1ab7
  25. tests/data/live_endlist.m3u8: TAG = GEN
  26. tests/data/live_endlist.m3u8: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
  27. $(M)$(TARGET_EXEC) $(TARGET_PATH)/$< \
  28. -f lavfi -i "aevalsrc=cos(2*PI*t)*sin(2*PI*(440+4*t)*t):d=20" -f hls -hls_time 3 -map 0 \
  29. -hls_list_size 0 -codec:a mp2fixed -hls_segment_filename $(TARGET_PATH)/tests/data/live_endlist_%d.ts \
  30. $(TARGET_PATH)/tests/data/live_endlist.m3u8 2>/dev/null
  31. FATE_AFILTER-$(call ALLYES, HLS_DEMUXER MPEGTS_MUXER MPEGTS_DEMUXER AEVALSRC_FILTER LAVFI_INDEV MP2FIXED_ENCODER) += fate-hls-live-endlist
  32. fate-hls-live-endlist: tests/data/live_endlist.m3u8
  33. fate-hls-live-endlist: SRC = $(TARGET_PATH)/tests/data/live_endlist.m3u8
  34. fate-hls-live-endlist: CMD = md5 -i $(SRC) -af hdcd=process_stereo=false -t 20 -f s24le
  35. fate-hls-live-endlist: CMP = oneline
  36. fate-hls-live-endlist: REF = e189ce781d9c87882f58e3929455167b
  37. tests/data/hls_segment_size.m3u8: TAG = GEN
  38. tests/data/hls_segment_size.m3u8: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
  39. $(M)$(TARGET_EXEC) $(TARGET_PATH)/$< \
  40. -f lavfi -i "aevalsrc=cos(2*PI*t)*sin(2*PI*(440+4*t)*t):d=20" -f hls -hls_segment_size 300000 -map 0 \
  41. -hls_list_size 0 -codec:a mp2fixed -hls_segment_filename $(TARGET_PATH)/tests/data/hls_segment_size_%d.ts \
  42. $(TARGET_PATH)/tests/data/hls_segment_size.m3u8 2>/dev/null
  43. FATE_AFILTER-$(call ALLYES, HLS_DEMUXER MPEGTS_MUXER MPEGTS_DEMUXER AEVALSRC_FILTER LAVFI_INDEV MP2FIXED_ENCODER) += fate-hls-segment-size
  44. fate-hls-segment-size: tests/data/hls_segment_size.m3u8
  45. fate-hls-segment-size: CMD = framecrc -flags +bitexact -i $(TARGET_PATH)/tests/data/hls_segment_size.m3u8 -vf setpts=N*23
  46. tests/data/hls_init_time.m3u8: TAG = GEN
  47. tests/data/hls_init_time.m3u8: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
  48. $(M)$(TARGET_EXEC) $(TARGET_PATH)/$< \
  49. -f lavfi -i "aevalsrc=cos(2*PI*t)*sin(2*PI*(440+4*t)*t):d=11" -f hls -hls_init_time 1 -hls_time 3 -map 0 \
  50. -hls_list_size 5 -codec:a mp2fixed -hls_segment_filename $(TARGET_PATH)/tests/data/hls_init_time_%d.ts \
  51. $(TARGET_PATH)/tests/data/hls_init_time.m3u8 2>/dev/null
  52. FATE_AFILTER-$(call ALLYES, HLS_DEMUXER MPEGTS_MUXER MPEGTS_DEMUXER AEVALSRC_FILTER LAVFI_INDEV MP2FIXED_ENCODER) += fate-hls-init-time
  53. fate-hls-init-time: tests/data/hls_init_time.m3u8
  54. fate-hls-init-time: CMD = framecrc -flags +bitexact -i $(TARGET_PATH)/tests/data/hls_init_time.m3u8 -vf setpts=N*23
  55. tests/data/hls_list_size.m3u8: TAG = GEN
  56. tests/data/hls_list_size.m3u8: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
  57. $(M)$(TARGET_EXEC) $(TARGET_PATH)/$< \
  58. -f lavfi -i "aevalsrc=cos(2*PI*t)*sin(2*PI*(440+4*t)*t):d=20" -f hls -hls_time 4 -map 0 \
  59. -hls_list_size 4 -codec:a mp2fixed -hls_segment_filename $(TARGET_PATH)/tests/data/hls_list_size_%d.ts \
  60. $(TARGET_PATH)/tests/data/hls_list_size.m3u8 2>/dev/null
  61. FATE_AFILTER-$(call ALLYES, HLS_DEMUXER MPEGTS_MUXER MPEGTS_DEMUXER AEVALSRC_FILTER LAVFI_INDEV MP2FIXED_ENCODER) += fate-hls-list-size
  62. fate-hls-list-size: tests/data/hls_list_size.m3u8
  63. fate-hls-list-size: CMD = framecrc -flags +bitexact -i $(TARGET_PATH)/tests/data/hls_list_size.m3u8 -vf setpts=N*23
  64. tests/data/hls_segment_type_fmp4.m3u8: TAG = GEN
  65. tests/data/hls_segment_type_fmp4.m3u8: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
  66. $(M)$(TARGET_EXEC) $(TARGET_PATH)/$< \
  67. -f lavfi -re -i "aevalsrc=cos(2*PI*t)*sin(2*PI*(440+4*t)*t):d=5" -map 0 -codec:a mp2fixed \
  68. -hls_segment_type mpegts -hls_fmp4_init_filename now.mp4 -hls_list_size 0 \
  69. -hls_time 1 -hls_segment_filename "$(TARGET_PATH)/tests/data/hls_fmp4_%d.m4s" \
  70. $(TARGET_PATH)/tests/data/hls_fmp4.m3u8 2>/dev/null
  71. FATE_AFILTER-$(call ALLYES, HLS_DEMUXER MPEGTS_MUXER MPEGTS_DEMUXER AEVALSRC_FILTER LAVFI_INDEV MP2FIXED_ENCODER) += fate-hls-fmp4
  72. fate-hls-fmp4: tests/data/hls_segment_type_fmp4.m3u8
  73. fate-hls-fmp4: CMD = framecrc -flags +bitexact -i $(TARGET_PATH)/tests/data/hls_fmp4.m3u8 -vf setpts=N*23