[FFmpeg-devel] [PATCH 4/4] tests/fate/avformat: add segment.c tests

Michael Niedermayer michael at niedermayer.cc
Thu Oct 27 18:22:51 EEST 2016


On Thu, Oct 27, 2016 at 01:16:13AM -0500, Rodger Combs wrote:
> ---
>  tests/fate/avformat.mak                       |  56 +++++++++++
>  tests/ref/fate/segment-adts-to-mkv-header-000 |  20 ++++
>  tests/ref/fate/segment-adts-to-mkv-header-001 |  21 +++++
>  tests/ref/fate/segment-adts-to-mkv-header-002 |   8 ++
>  tests/ref/fate/segment-adts-to-mkv-header-all |  39 ++++++++
>  tests/ref/fate/segment-mp4-to-ts              | 131 ++++++++++++++++++++++++++
>  6 files changed, 275 insertions(+)
>  create mode 100644 tests/ref/fate/segment-adts-to-mkv-header-000
>  create mode 100644 tests/ref/fate/segment-adts-to-mkv-header-001
>  create mode 100644 tests/ref/fate/segment-adts-to-mkv-header-002
>  create mode 100644 tests/ref/fate/segment-adts-to-mkv-header-all
>  create mode 100644 tests/ref/fate/segment-mp4-to-ts

this patch seems breaking fate unless i messed up

make distclean ; ./configure --samples=/home/michael/fatesamples/fate/fate-suite/ && make -j12 tests/data/adts-to-mkv.m3u8 V=2

/home/michael/ffmpeg-git/ffmpeg/ffmpeg \
        -i /home/michael/fatesamples/fate/fate-suite//audiomatch/tones_afconvert_16000_mono_aac_lc.adts \
        -f segment -segment_time 1 -map 0 -flags +bitexact -codec copy -segment_format_options live=1 \
        -segment_list /home/michael/ffmpeg-git/ffmpeg/tests/data/adts-to-mkv.m3u8 -y /home/michael/ffmpeg-git/ffmpeg/tests/data/adts-to-mkv-%03d.mkv 2>/dev/null
make: *** [tests/data/adts-to-mkv.m3u8] Error 1

...
[matroska @ 0x32081c0] Error parsing AAC extradata, unable to determine samplerate.
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argumentStream mapping:
  Stream #0:0 -> #0:0 (copy)
    Last message repeated 1 times

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Freedom in capitalist society always remains about the same as it was in
ancient Greek republics: Freedom for slave owners. -- Vladimir Lenin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20161027/514dbf00/attachment.sig>


More information about the ffmpeg-devel mailing list