@ -86,7 +86,11 @@ fate-unknown_layout-ac3: CMD = md5 -auto_conversion_filters \
-guess_layout_max 0 -f s32le -ac 1 -ar 44100 -i $( TARGET_PATH) /$( AREF) \
-f ac3 -flags +bitexact -c ac3_fixed
F A T E _ F F M P E G - $( call ALLYES , SINE_FILTER AMIX_FILTER MPEG 4_ENCODER AC 3_FIXED_ENCODER ) + = f a t e - s h o r t e s t
F A T E _ F F M P E G - $( call ALLYES , FILE_PROTOCOL LAVFI_INDEV RAWVIDEO_DEMUXER \
SINE_FILTER PCM_S16LE_DECODER RAWVIDEO_DECODER \
ARESAMPLE_FILTER AMIX_FILTER MPEG4_ENCODER \
AC3_FIXED_ENCODER FRAMECRC_MUXER PIPE_PROTOCOL) \
+= fate-shortest
fate-shortest : tests /data /vsynth_lena .yuv
fate-shortest : CMD = framecrc -auto_conversion_filters -f lavfi -i "sine =3000:d =10" -f lavfi -i "sine =1000:d =1" -sws_flags +accurate_rnd +bitexact -fflags +bitexact -flags +bitexact -idct simple -f rawvideo -s 352x 288 -pix_fmt yuv 420p -i $( TARGET_PATH ) /tests /data /vsynth_lena .yuv -filter_complex "[0:a :0][1:a :0]amix =inputs =2[audio ]" -map 2:v :0 -map "[audio ]" -sws_flags +accurate_rnd +bitexact -fflags +bitexact -flags +bitexact -idct simple -dct fastint -qscale 10 -threads 1 -c :v mpeg 4 -c :a ac 3_fixed -shortest
@ -143,11 +147,21 @@ tests/data/audio_shorter_than_video.nut: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
-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 \
-y $( TARGET_PATH) /tests/data/audio_shorter_than_video.nut 2>/dev/null
F A T E _ S T R E A M C O P Y - $( call ALLYES , SINE_FILTER AMIX_FILTER NUT_MUXER PCM_S 16LE_ENCODER MPEG 4_ENCODER AC 3_FIXED_ENCODER ) + = f a t e - c o p y - s h o r t e s t 1
F A T E _ S T R E A M C O P Y - $( call ALLYES , FILE_PROTOCOL RAWVIDEO_DEMUXER LAVFI_INDEV \
RAWVIDEO_DECODER PCM_S16LE_DECODER MPEG4_ENCODER \
PCM_S16LE_ENCODER SINE_FILTER NUT_DEMUXER \
MPEG4_DECODER ARESAMPLE_FILTER AMIX_FILTER \
NUT_MUXER AC3_FIXED_ENCODER PIPE_PROTOCOL) \
+= fate-copy-shortest1
fate-copy-shortest1 : tests /data /audio_shorter_than_video .nut
fate-copy-shortest1 : CMD = framemd 5 -auto_conversion_filters -fflags +bitexact -flags +bitexact -f lavfi -i "sine =3000:d =10" -f lavfi -i "sine =1000:d =1" -i $( TARGET_PATH ) /tests /data /audio_shorter_than_video .nut -filter_complex "[0:a :0][1:a :0]amix =inputs =2[audio ]" -map 2:v :0 -map "[audio ]" -fflags +bitexact -flags +bitexact -c :v copy -c :a ac 3_fixed -shortest
F A T E _ S T R E A M C O P Y - $( call ALLYES , SINE_FILTER AMIX_FILTER NUT_MUXER PCM_S 16LE_ENCODER MPEG 4_ENCODER AC 3_FIXED_ENCODER ) + = f a t e - c o p y - s h o r t e s t 2
F A T E _ S T R E A M C O P Y - $( call ALLYES , FILE_PROTOCOL RAWVIDEO_DEMUXER LAVFI_INDEV \
RAWVIDEO_DECODER PCM_S16LE_DECODER MPEG4_ENCODER \
PCM_S16LE_ENCODER SINE_FILTER NUT_DEMUXER \
MPEG4_DECODER ARESAMPLE_FILTER AMIX_FILTER \
NUT_MUXER AC3_FIXED_ENCODER PIPE_PROTOCOL) \
+= fate-copy-shortest2
fate-copy-shortest2 : tests /data /audio_shorter_than_video .nut
fate-copy-shortest2 : CMD = framemd 5 -auto_conversion_filters -fflags +bitexact -flags +bitexact -f lavfi -i "sine =3000:d =10" -i $( TARGET_PATH ) /tests /data /audio_shorter_than_video .nut -filter_complex "[0:a :0][1:a :0]amix =inputs =2[audio ]" -map 1:v :0 -map "[audio ]" -fflags +bitexact -flags +bitexact -c :v copy -c :a ac 3_fixed -shortest