mirror of https://git.ffmpeg.org/ffmpeg.git
FATE: always pass -nostdin to ffmpeg
This avoids making terminal config changes that may not be reverted properly during parallel testing.
This commit is contained in:
parent
18192166e7
commit
0e7684e554
|
@ -40,7 +40,7 @@ tests/test_copy.ffmeta: tests/data
|
|||
$(M)cp -f $(SRC_PATH)/tests/test.ffmeta tests/test_copy.ffmeta
|
||||
|
||||
tests/data/ffprobe-test.nut: ffmpeg$(PROGSSUF)$(EXESUF) tests/test_copy.ffmeta
|
||||
$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< \
|
||||
$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< -nostdin \
|
||||
-f lavfi -i "aevalsrc=sin(400*PI*2*t):d=0.125[out0]; testsrc=d=0.125[out1]; testsrc=s=100x100:d=0.125[out2]" \
|
||||
-f ffmetadata -i $(TARGET_PATH)/tests/test_copy.ffmeta \
|
||||
-flags +bitexact -fflags +bitexact -map 0:0 -map 0:1 -map 0:2 -map_metadata 1 \
|
||||
|
|
|
@ -141,7 +141,7 @@ fate-ffmpeg-streamloop: CMD = framemd5 -stream_loop 2 -i $(TARGET_SAMPLES)/flv/s
|
|||
tests/data/audio_shorter_than_video.nut: TAG = GEN
|
||||
tests/data/audio_shorter_than_video.nut: tests/data/vsynth_lena.yuv
|
||||
tests/data/audio_shorter_than_video.nut: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
|
||||
$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< \
|
||||
$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< -nostdin \
|
||||
-sws_flags +accurate_rnd+bitexact -fflags +bitexact -flags +bitexact -idct simple -f rawvideo -s 352x288 -pix_fmt yuv420p -i $(TARGET_PATH)/tests/data/vsynth_lena.yuv \
|
||||
-f lavfi -i "sine=1000:d=1" \
|
||||
-sws_flags +accurate_rnd+bitexact -fflags +bitexact -flags +bitexact -idct simple -dct fastint -qscale 10 -c:v mpeg4 -threads 1 -c:a pcm_s16le -bitexact \
|
||||
|
|
|
@ -201,7 +201,7 @@ fate-filter-compand: CMD = framecrc -auto_conversion_filters -i $(SRC) -frames:a
|
|||
|
||||
tests/data/hls-list.m3u8: TAG = GEN
|
||||
tests/data/hls-list.m3u8: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
|
||||
$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< \
|
||||
$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< -nostdin \
|
||||
-f lavfi -i "aevalsrc=cos(2*PI*t)*sin(2*PI*(440+4*t)*t):d=20" -f segment -segment_time 10 -map 0 -flags +bitexact -codec:a mp2fixed \
|
||||
-segment_list $(TARGET_PATH)/$@ -y $(TARGET_PATH)/tests/data/hls-out-%03d.ts 2>/dev/null
|
||||
|
||||
|
@ -211,10 +211,10 @@ fate-filter-hls: CMD = framecrc -flags +bitexact -i $(TARGET_PATH)/tests/data/hl
|
|||
|
||||
tests/data/hls-list-append.m3u8: TAG = GEN
|
||||
tests/data/hls-list-append.m3u8: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
|
||||
$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< \
|
||||
$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< -nostdin \
|
||||
-f lavfi -i "aevalsrc=cos(2*PI*t)*sin(2*PI*(440+4*t)*t):d=20" -f segment -segment_time 10 -map 0 -flags +bitexact -codec:a mp2fixed \
|
||||
-segment_list $(TARGET_PATH)/$@ -y $(TARGET_PATH)/tests/data/hls-append-out-%03d.ts 2>/dev/null; \
|
||||
$(TARGET_EXEC) $(TARGET_PATH)/$< \
|
||||
$(TARGET_EXEC) $(TARGET_PATH)/$< -nostdin \
|
||||
-f lavfi -i "aevalsrc=cos(2*PI*t)*sin(2*PI*(440+4*t)*t):d=20" -f hls -hls_time 10 -map 0 -flags +bitexact \
|
||||
-hls_flags append_list -codec:a mp2fixed -hls_segment_filename $(TARGET_PATH)/tests/data/hls-append-out-%03d.ts \
|
||||
$(TARGET_PATH)/tests/data/hls-list-append.m3u8 2>/dev/null
|
||||
|
|
|
@ -677,7 +677,7 @@ fate-filter-tile: CMD = video_filter "tile=3x3:nb_frames=5:padding=7:margin=2"
|
|||
tests/pixfmts.mak: TAG = GEN
|
||||
tests/pixfmts.mak: ffmpeg$(PROGSSUF)$(EXESUF) | tests
|
||||
$(M)printf "PIXFMTS = " > $@
|
||||
$(Q)$(TARGET_EXEC) $(TARGET_PATH)/$< -pix_fmts list 2> /dev/null | awk 'NR > 8 && /^IO/ { printf $$2 " " }' >> $@
|
||||
$(Q)$(TARGET_EXEC) $(TARGET_PATH)/$< -nostdin -pix_fmts list 2> /dev/null | awk 'NR > 8 && /^IO/ { printf $$2 " " }' >> $@
|
||||
$(Q)printf "\n" >> $@
|
||||
|
||||
RUNNING_PIXFMTS_TESTS := $(filter check fate fate-list fate-filter fate-vfilter fate-filter-pixdesc%,$(MAKECMDGOALS))
|
||||
|
@ -838,7 +838,7 @@ fate-filter-metadata-avf-aphase-meter-out-of-phase: CMD = run $(FILTER_METADATA_
|
|||
|
||||
tests/data/file4560-override2rotate0.mov: TAG = GEN
|
||||
tests/data/file4560-override2rotate0.mov: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
|
||||
$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< \
|
||||
$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< -nostdin \
|
||||
-i $(TARGET_SAMPLES)/filter/sample-in-issue-505.mov -c copy -flags +bitexact -metadata:s:v:0 rotate=0 $(TARGET_PATH)/$@ -y 2>/dev/null
|
||||
|
||||
FATE_FILTER_SAMPLES-$(call ALLYES, MOV_DEMUXER H264_DECODER AAC_FIXED_DECODER PCM_S16LE_ENCODER MOV_MUXER) += fate-filter-meta-4560-rotate0
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
tests/data/fits-multi.fits: TAG = GEN
|
||||
tests/data/fits-multi.fits: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
|
||||
$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< \
|
||||
$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< -nostdin \
|
||||
-i $(TARGET_SAMPLES)/gif/m4nb.gif \
|
||||
-y $(TARGET_PATH)/$(@) 2>/dev/null
|
||||
|
||||
|
@ -14,7 +14,7 @@ map.tests/data/lena-gbrap16le.fits := rgba64
|
|||
tests/data/lena%.fits: TAG = GEN
|
||||
tests/data/lena%.fits: NAME = $(map.$(@))
|
||||
tests/data/lena%.fits: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
|
||||
$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< \
|
||||
$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< -nostdin \
|
||||
-i $(TARGET_SAMPLES)/png1/lena-$(map.$(@)).png \
|
||||
-y $(TARGET_PATH)/$(@) 2>/dev/null
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
tests/data/add_keyframe_index.flv: TAG = GEN
|
||||
tests/data/add_keyframe_index.flv: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
|
||||
$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< \
|
||||
$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< -nostdin \
|
||||
-f lavfi -i "sws_flags=+accurate_rnd+bitexact;testsrc=r=7:n=2:d=20" -sws_flags '+accurate_rnd+bitexact' -metadata "encoder=Lavf" -pix_fmt yuv420p -c:v flv1 -g 7 -f flv -flags +bitexact -fflags +bitexact \
|
||||
-flvflags add_keyframe_index -idct simple -dct int -y $(TARGET_PATH)/tests/data/add_keyframe_index.flv 2> /dev/null;
|
||||
|
||||
|
|
|
@ -46,13 +46,13 @@ fate-hapqa-extract-snappy16-to-hapalphaonly: CMD = framecrc -i $(TARGET_SAMPLES)
|
|||
#Test bsf conversion and mov
|
||||
tests/data/hapq_nosnappy.mov: TAG = GEN
|
||||
tests/data/hapq_nosnappy.mov: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
|
||||
$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< \
|
||||
$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< -nostdin \
|
||||
-i $(TARGET_SAMPLES)/hap/HAPQA_NoSnappy_127x1.mov -nostdin -c:v copy -bsf:v hapqa_extract=texture=color \
|
||||
-tag:v HapY -metadata:s:v:0 encoder="HAPQ" $(TARGET_PATH)/$@ -y 2>/dev/null
|
||||
|
||||
tests/data/hapalphaonly_nosnappy.mov: TAG = GEN
|
||||
tests/data/hapalphaonly_nosnappy.mov: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
|
||||
$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< \
|
||||
$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< -nostdin \
|
||||
-i $(TARGET_SAMPLES)/hap/HAPQA_NoSnappy_127x1.mov -nostdin -c:v copy -bsf:v hapqa_extract=texture=alpha \
|
||||
-tag:v HapA -metadata:s:v:0 encoder="HAPAlpha Only" $(TARGET_PATH)/$@ -y 2>/dev/null
|
||||
|
||||
|
|
|
@ -244,7 +244,7 @@ FATE_HEVC_LARGE += fate-hevc-paramchange-yuv420p-yuv420p10
|
|||
|
||||
tests/data/hevc-mp4.mov: TAG = GEN
|
||||
tests/data/hevc-mp4.mov: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
|
||||
$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< \
|
||||
$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< -nostdin \
|
||||
-i $(TARGET_SAMPLES)/hevc-conformance/WPP_A_ericsson_MAIN10_2.bit -c copy -flags +bitexact $(TARGET_PATH)/$@ -y 2>/dev/null
|
||||
|
||||
FATE_HEVC-$(call ALLYES, HEVC_DEMUXER MOV_DEMUXER HEVC_MP4TOANNEXB_BSF MOV_MUXER HEVC_MUXER) += fate-hevc-bsf-mp4toannexb
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
tests/data/live_no_endlist.m3u8: TAG = GEN
|
||||
tests/data/live_no_endlist.m3u8: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
|
||||
$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< \
|
||||
$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< -nostdin \
|
||||
-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 \
|
||||
-hls_flags omit_endlist -codec:a mp2fixed -hls_segment_filename $(TARGET_PATH)/tests/data/live_no_endlist_%03d.ts \
|
||||
$(TARGET_PATH)/tests/data/live_no_endlist.m3u8 2>/dev/null
|
||||
|
@ -14,7 +14,7 @@ fate-hls-live-no-endlist: REF = e038bb8e65d4c1745b9b3ed643e607a3
|
|||
|
||||
tests/data/live_last_endlist.m3u8: TAG = GEN
|
||||
tests/data/live_last_endlist.m3u8: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
|
||||
$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< \
|
||||
$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< -nostdin \
|
||||
-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 \
|
||||
-codec:a mp2fixed -hls_segment_filename $(TARGET_PATH)/tests/data/live_last_endlist_%03d.ts \
|
||||
$(TARGET_PATH)/tests/data/live_last_endlist.m3u8 2>/dev/null
|
||||
|
@ -29,7 +29,7 @@ fate-hls-live-last-endlist: REF = 2ca8567092dcf01e37bedd50454d1ab7
|
|||
|
||||
tests/data/live_endlist.m3u8: TAG = GEN
|
||||
tests/data/live_endlist.m3u8: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
|
||||
$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< \
|
||||
$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< -nostdin \
|
||||
-f lavfi -i "aevalsrc=cos(2*PI*t)*sin(2*PI*(440+4*t)*t):d=20" -f hls -hls_time 3 -map 0 \
|
||||
-hls_list_size 0 -codec:a mp2fixed -hls_segment_filename $(TARGET_PATH)/tests/data/live_endlist_%d.ts \
|
||||
$(TARGET_PATH)/tests/data/live_endlist.m3u8 2>/dev/null
|
||||
|
@ -43,7 +43,7 @@ fate-hls-live-endlist: REF = e189ce781d9c87882f58e3929455167b
|
|||
|
||||
tests/data/hls_segment_size.m3u8: TAG = GEN
|
||||
tests/data/hls_segment_size.m3u8: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
|
||||
$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< \
|
||||
$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< -nostdin \
|
||||
-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 \
|
||||
-hls_list_size 0 -codec:a mp2fixed -hls_segment_filename $(TARGET_PATH)/tests/data/hls_segment_size_%d.ts \
|
||||
$(TARGET_PATH)/tests/data/hls_segment_size.m3u8 2>/dev/null
|
||||
|
@ -54,7 +54,7 @@ fate-hls-segment-size: CMD = framecrc -auto_conversion_filters -flags +bitexact
|
|||
|
||||
tests/data/hls_segment_single.m3u8: TAG = GEN
|
||||
tests/data/hls_segment_single.m3u8: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
|
||||
$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< \
|
||||
$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< -nostdin \
|
||||
-f lavfi -i "aevalsrc=cos(2*PI*t)*sin(2*PI*(440+4*t)*t):d=20" -f hls -hls_flags single_file -map 0 \
|
||||
-hls_list_size 0 -codec:a mp2fixed -hls_segment_filename $(TARGET_PATH)/tests/data/hls_segment_single.ts \
|
||||
$(TARGET_PATH)/tests/data/hls_segment_single.m3u8 2>/dev/null
|
||||
|
@ -65,7 +65,7 @@ fate-hls-segment-single: CMD = framecrc -auto_conversion_filters -flags +bitexac
|
|||
|
||||
tests/data/hls_init_time.m3u8: TAG = GEN
|
||||
tests/data/hls_init_time.m3u8: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
|
||||
$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< \
|
||||
$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< -nostdin \
|
||||
-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 \
|
||||
-hls_list_size 5 -codec:a mp2fixed -hls_segment_filename $(TARGET_PATH)/tests/data/hls_init_time_%d.ts \
|
||||
$(TARGET_PATH)/tests/data/hls_init_time.m3u8 2>/dev/null
|
||||
|
@ -76,7 +76,7 @@ fate-hls-init-time: CMD = framecrc -auto_conversion_filters -flags +bitexact -i
|
|||
|
||||
tests/data/hls_list_size.m3u8: TAG = GEN
|
||||
tests/data/hls_list_size.m3u8: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
|
||||
$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< \
|
||||
$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< -nostdin \
|
||||
-f lavfi -i "aevalsrc=cos(2*PI*t)*sin(2*PI*(440+4*t)*t):d=20" -f hls -hls_time 4 -map 0 \
|
||||
-hls_list_size 4 -codec:a mp2fixed -hls_segment_filename $(TARGET_PATH)/tests/data/hls_list_size_%d.ts \
|
||||
$(TARGET_PATH)/tests/data/hls_list_size.m3u8 2>/dev/null
|
||||
|
@ -87,7 +87,7 @@ fate-hls-list-size: CMD = framecrc -auto_conversion_filters -flags +bitexact -i
|
|||
|
||||
tests/data/hls_fmp4.m3u8: TAG = GEN
|
||||
tests/data/hls_fmp4.m3u8: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
|
||||
$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< \
|
||||
$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< -nostdin \
|
||||
-f lavfi -re -i "aevalsrc=cos(2*PI*t)*sin(2*PI*(440+4*t)*t):d=5" -map 0 -codec:a mp2fixed \
|
||||
-hls_segment_type mpegts -hls_fmp4_init_filename now.mp4 -hls_list_size 0 \
|
||||
-hls_time 1 -hls_segment_filename "$(TARGET_PATH)/tests/data/hls_fmp4_%d.m4s" \
|
||||
|
@ -99,7 +99,7 @@ fate-hls-fmp4: CMD = framecrc -auto_conversion_filters -flags +bitexact -i $(TAR
|
|||
|
||||
tests/data/hls_fmp4_ac3.m3u8: TAG = GEN
|
||||
tests/data/hls_fmp4_ac3.m3u8: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
|
||||
$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< \
|
||||
$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< -nostdin \
|
||||
-stream_loop 4 -i $(SAMPLES)/ac3/monsters_inc_5.1_448_small.ac3 -c copy -map 0 \
|
||||
-hls_segment_type fmp4 -hls_fmp4_init_filename now_ac3.mp4 -hls_list_size 0 \
|
||||
-hls_time 2 -hls_segment_filename "$(TARGET_PATH)/tests/data/hls_fmp4_ac3_%d.m4s" \
|
||||
|
|
|
@ -1,20 +1,20 @@
|
|||
tests/data/mp4-to-ts.m3u8: TAG = GEN
|
||||
tests/data/mp4-to-ts.m3u8: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
|
||||
$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< \
|
||||
$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< -nostdin \
|
||||
-i $(TARGET_SAMPLES)/h264/interlaced_crop.mp4 \
|
||||
-f ssegment -segment_time 1 -map 0 -flags +bitexact -codec copy \
|
||||
-segment_list $(TARGET_PATH)/$@ -y $(TARGET_PATH)/tests/data/mp4-to-ts-%03d.ts 2>/dev/null
|
||||
|
||||
tests/data/adts-to-mkv.m3u8: TAG = GEN
|
||||
tests/data/adts-to-mkv.m3u8: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
|
||||
$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< \
|
||||
$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< -nostdin \
|
||||
-i $(TARGET_SAMPLES)/audiomatch/tones_afconvert_16000_mono_aac_lc.m4a \
|
||||
-f segment -segment_time 1 -map 0 -flags +bitexact -codec copy -segment_format_options live=1 \
|
||||
-segment_list $(TARGET_PATH)/$@ -y $(TARGET_PATH)/tests/data/adts-to-mkv-%03d.mkv 2>/dev/null
|
||||
|
||||
tests/data/adts-to-mkv-header.mkv: TAG = GEN
|
||||
tests/data/adts-to-mkv-header.mkv: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
|
||||
$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< \
|
||||
$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< -nostdin \
|
||||
-i $(TARGET_SAMPLES)/audiomatch/tones_afconvert_16000_mono_aac_lc.m4a \
|
||||
-f segment -segment_time 1 -map 0 -flags +bitexact -codec copy -segment_format_options live=1 \
|
||||
-segment_header_filename $(TARGET_PATH)/tests/data/adts-to-mkv-header.mkv \
|
||||
|
|
Loading…
Reference in New Issue