[FFmpeg-devel] [PATCH 11/11] fate/aac: add automatic bsf test
Hendrik Leppkes
h.leppkes at gmail.com
Sat Apr 16 20:21:55 CEST 2016
On Fri, Apr 15, 2016 at 11:18 AM, Hendrik Leppkes <h.leppkes at gmail.com> wrote:
> On Fri, Apr 15, 2016 at 10:37 AM, Rodger Combs <rodger.combs at gmail.com> wrote:
>> ---
>> tests/fate/aac.mak | 3 +++
>> tests/ref/fate/aac-autobsf-adtstoasc | 1 +
>> 2 files changed, 4 insertions(+)
>> create mode 100644 tests/ref/fate/aac-autobsf-adtstoasc
>>
>> diff --git a/tests/fate/aac.mak b/tests/fate/aac.mak
>> index 3d64031..c71f990 100644
>> --- a/tests/fate/aac.mak
>> +++ b/tests/fate/aac.mak
>> @@ -241,10 +241,13 @@ FATE_AAC_LATM += fate-aac-latm_stereo_to_51
>> fate-aac-latm_stereo_to_51: CMD = pcm -i $(TARGET_SAMPLES)/aac/latm_stereo_to_51.ts -channel_layout 5.1
>> fate-aac-latm_stereo_to_51: REF = $(SAMPLES)/aac/latm_stereo_to_51_ref.s16
>>
>> +fate-aac-autobsf-adtstoasc: CMD = md5 -i $(TARGET_SAMPLES)/audiomatch/tones_afconvert_16000_mono_aac_lc.adts -acodec copy -fflags +bitexact -f matroska
>> +
>> FATE_AAC-$(call DEMDEC, AAC, AAC) += $(FATE_AAC_CT_RAW)
>> FATE_AAC-$(call DEMDEC, MOV, AAC) += $(FATE_AAC)
>> FATE_AAC_LATM-$(call DEMDEC, MPEGTS, AAC_LATM) += $(FATE_AAC_LATM)
>> FATE_AAC-$(call DEMDEC, AAC, AAC_FIXED)+= $(FATE_AAC_FIXED)
>> +FATE_AAC-$(call DEMMUX, AAC, MATROSKA) += fate-aac-autobsf-adtstoasc
>>
>
> This would also need a dependency on the BSF itself being enabled.
>
While trying to use this test to check the BSF API migration, I also
noticed that it doesn't work.
It needs to overwrite the CMP command, otherwise it uses "oneoff"
which is for raw audio comparison, not md5 hashes.
- Hendrik
More information about the ffmpeg-devel
mailing list