Opened 3 months ago

Closed 3 months ago

#11153 closed defect (fixed)

ffmpeg7 : Merge multiple subtitle streams no longer possible

Reported by: lhksoft Owned by:
Priority: normal Component: ffmpeg
Version: git-master Keywords:
Cc: lhksoft Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
How to reproduce:

ffmpeg -xerror -y -i TEST.mkv -i TEST.English\ -\ CC.ass -i TEST.German.ass -i TEST.Dutch.ass -i TEST.Italian.ass -map 0 -map 1 -map 2 -map 3 -map 4 -c copy -metadata:s:s:0 language=eng -metadata:s:s:0 title=English\ [CC] -disposition:s:s:0 hearing_impaired -metadata:s:s:1 language=deu -disposition:s:s:1 none -metadata:s:s:2 language=nld -disposition:s:s:2 default -metadata:s:s:3 language=ita -disposition:s:s:3 none -max_interleave_delta 0 /tmp/TEST.mkv

ffmpeg N-116759-gb40f765962-gcfe0a36352+3
built with gcc 14.2.0 (Rev1, Built by MSYS2 project)

When I want to merge multiple subtitle streams (.ass files) into existing mkv file, ffmpeg aborts with following errors. Till version n6.1.2 this worked without a problem, starting from n7.0 it wont anymore (see below)

Stream type specified multiple times
Error parsing options for output file D:/TEMP/TEST.mkv.
Error opening output files: Invalid argument

Full output from withing a MSYS2 screen :

/c/Tools/ffmpeg/bin/ffmpeg.exe -v 9 -loglevel 99 -xerror -y -i /f/Kigo/Film/Test/TEST.mkv -i /f/Kigo/Film/Test/TEST.English\ -\ CC.ass -i
/f/Kigo/Film/Test/TEST.German.ass -i /f/Kigo/Film/Test/TEST.Dutch.ass -i /f/Kigo/Film/Test/TEST.Italian.ass -map 0 -map 1 -map 2 -map 3 -map
 4 -c copy -metadata:s:s:0 language=eng -metadata:s:s:0 title=English\ [CC] -disposition:s:s:0 hearing_impaired -metadata:s:s:1 language=deu
 -disposition:s:s:1 none -metadata:s:s:2 language=nld -disposition:s:s:2 default -metadata:s:s:3 language=ita -disposition:s:s:3 none -max_i
nterleave_delta 0 /d/TEMP/TEST.mkv
ffmpeg version N-116759-gb40f765962-gcfe0a36352+3 Copyright (c) 2000-2024 the FFmpeg developers
  built with gcc 14.2.0 (Rev1, Built by MSYS2 project)
  configuration:  --pkg-config=pkgconf --cc='ccache gcc' --cxx='ccache g++' --ld='ccache g++' --extra-cxxflags=-fpermissive --extra-cflags=-Wno-int-conversion --disable-autodetect --enable-amf --enable-bzlib --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-iconv --enable-lzma --enable-nvenc --enable-zlib --enable-sdl2 --enable-ffnvcodec --enable-nvdec --enable-cuda-llvm --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libdav1d --enable-libaom --disable-debug --enable-libfdk-aac --enable-fontconfig --enable-libass --enable-libbluray --enable-libfreetype --enable-libharfbuzz --enable-libmfx --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libwebp --enable-libxml2 --enable-libzimg --enable-libshine --enable-gpl --enable-avisynth --enable-libxvid --enable-libopenmpt --enable-version3 --enable-librav1e --enable-libsrt --enable-libgsm --enable-libvmaf --enable-libsvtav1 --enable-chromaprint --enable-decklink --enable-frei0r --enable-libaribb24 --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfribidi --enable-libgme --enable-libilbc --enable-libsvthevc --enable-libkvazaar --enable-libmodplug --enable-librist --enable-librtmp --enable-librubberband --enable-libtesseract --enable-libxavs --enable-libzmq --enable-libzvbi --enable-openal --enable-libcodec2 --enable-ladspa --enable-libglslang --enable-vulkan --enable-libdavs2 --enable-libxavs2 --enable-libuavs3d --enable-libplacebo --enable-libjxl --enable-libvvenc --enable-libvvdec --enable-opencl --enable-opengl --enable-libopenh264 --enable-openssl --extra-cflags=-DLIBTWOLAME_STATIC --extra-cflags=-DCACA_STATIC --extra-cflags=-DMODPLUG_STATIC --extra-cflags=-DCHROMAPRINT_NODLL --extra-cflags=-DZMQ_STATIC --extra-libs=-lpsapi --extra-cflags=-DLIBXML_STATIC --extra-libs=-liconv --disable-w32threads --extra-cflags=-DKVZ_STATIC_LIB --enable-nonfree --extra-cflags=-DAL_LIBTYPE_STATIC --extra-cflags='-IC:/mabs/local64/include' --extra-cflags='-IC:/mabs/local64/include/AL'
  libavutil      59. 34.100 / 59. 34.100
  libavcodec     61. 11.100 / 61. 11.100
  libavformat    61.  5.101 / 61.  5.101
  libavdevice    61.  2.100 / 61.  2.100
  libavfilter    10.  2.102 / 10.  2.102
  libswscale      8.  2.100 /  8.  2.100
  libswresample   5.  2.100 /  5.  2.100
  libpostproc    58.  2.100 / 58.  2.100
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with argument '9'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument '99'.
Reading option '-xerror' ... matched as option 'xerror' (exit on error) with argument '1'.
Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
Reading option '-i' ... matched as input url with argument 'F:/Kigo/Film/Test/TEST.mkv'.
Reading option '-i' ... matched as input url with argument 'F:/Kigo/Film/Test/TEST.English - CC.ass'.
Reading option '-i' ... matched as input url with argument 'F:/Kigo/Film/Test/TEST.German.ass'.
Reading option '-i' ... matched as input url with argument 'F:/Kigo/Film/Test/TEST.Dutch.ass'.
Reading option '-i' ... matched as input url with argument 'F:/Kigo/Film/Test/TEST.Italian.ass'.
Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '0'.
Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '1'.
Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '2'.
Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '3'.
Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '4'.
Reading option '-c' ... matched as option 'c' (select encoder/decoder ('copy' to copy stream without reencoding)) with argument 'copy'.
Reading option '-metadata:s:s:0' ... matched as option 'metadata' (add metadata) with argument 'language=eng'.
Reading option '-metadata:s:s:0' ... matched as option 'metadata' (add metadata) with argument 'title=English [CC]'.
Reading option '-disposition:s:s:0' ... matched as option 'disposition' (disposition) with argument 'hearing_impaired'.
Reading option '-metadata:s:s:1' ... matched as option 'metadata' (add metadata) with argument 'language=deu'.
Reading option '-disposition:s:s:1' ... matched as option 'disposition' (disposition) with argument 'none'.
Reading option '-metadata:s:s:2' ... matched as option 'metadata' (add metadata) with argument 'language=nld'.
Reading option '-disposition:s:s:2' ... matched as option 'disposition' (disposition) with argument 'default'.
Reading option '-metadata:s:s:3' ... matched as option 'metadata' (add metadata) with argument 'language=ita'.
Reading option '-disposition:s:s:3' ... matched as option 'disposition' (disposition) with argument 'none'.
Reading option '-max_interleave_delta' ... matched as AVOption 'max_interleave_delta' with argument '0'.
Reading option 'D:/TEMP/TEST.mkv' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument 9.
Applying option xerror (exit on error) with argument 1.
Applying option y (overwrite output files) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input url F:/Kigo/Film/Test/TEST.mkv.
Successfully parsed a group of options.
Opening an input file: F:/Kigo/Film/Test/TEST.mkv.
[AVFormatContext @ 000001ee27074880] Opening 'F:/Kigo/Film/Test/TEST.mkv' for reading
[file @ 000001ee27074f40] Setting default whitelist 'file,crypto,data'
Probing matroska,webm score:100 size:2048
[matroska,webm @ 000001ee27074880] Format matroska,webm probed with size=2048 and score=100
st:0 removing common factor 1000000 from timebase
st:1 removing common factor 1000000 from timebase
st:2 removing common factor 1000000 from timebase
[matroska,webm @ 000001ee27074880] Before avformat_find_stream_info() pos: 841 bytes read:32768 seeks:0 nb_streams:3
[h264 @ 000001ee2707c200] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 000001ee2707c200] Decoding VUI
[h264 @ 000001ee2707c200] nal_unit_type: 8(PPS), nal_ref_idc: 3
For transform of length 128, inverse, mdct_float, flags: [aligned, out_of_place], found 3 matches:
    1: mdct_inv_float_avx2 - type: mdct_float, len: [16, ∞], factors[2]: [2, any], flags: [aligned, out_of_place, inv_only], prio: 544
    2: mdct_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: 96
    3: mdct_naive_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: -130976
For transform of length 64, inverse, fft_float, flags: [aligned, inplace, preshuf, asm_call], found 3 matches:
    1: fft_sr_asm_float_avx2 - type: fft_float, len: [64, 2097152], factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 480
    2: fft_sr_asm_float_fma3 - type: fft_float, len: [64, 2097152], factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 448
    3: fft_sr_asm_float_avx - type: fft_float, len: [64, 2097152], factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 416
Transform tree:
    mdct_inv_float_avx2 - type: mdct_float, len: 128, factors[2]: [2, any], flags: [aligned, out_of_place, inv_only]
        fft_sr_asm_float_avx2 - type: fft_float, len: 64, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call]
For transform of length 256, inverse, mdct_float, flags: [aligned, out_of_place], found 3 matches:
    1: mdct_inv_float_avx2 - type: mdct_float, len: [16, ∞], factors[2]: [2, any], flags: [aligned, out_of_place, inv_only], prio: 544
    2: mdct_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: 96
    3: mdct_naive_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: -130976
For transform of length 128, inverse, fft_float, flags: [aligned, inplace, preshuf, asm_call], found 3 matches:
    1: fft_sr_asm_float_avx2 - type: fft_float, len: [64, 2097152], factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 480
    2: fft_sr_asm_float_fma3 - type: fft_float, len: [64, 2097152], factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 448
    3: fft_sr_asm_float_avx - type: fft_float, len: [64, 2097152], factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 416
Transform tree:
    mdct_inv_float_avx2 - type: mdct_float, len: 256, factors[2]: [2, any], flags: [aligned, out_of_place, inv_only]
        fft_sr_asm_float_avx2 - type: fft_float, len: 128, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call]
For transform of length 64, inverse, mdct_float, flags: [aligned, out_of_place], found 3 matches:
    1: mdct_inv_float_avx2 - type: mdct_float, len: [16, ∞], factors[2]: [2, any], flags: [aligned, out_of_place, inv_only], prio: 544
    2: mdct_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: 96
    3: mdct_naive_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: -130976
For transform of length 32, inverse, fft_float, flags: [aligned, inplace, preshuf, asm_call], found 2 matches:
    1: fft32_asm_float_fma3 - type: fft_float, len: 32, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 512
    2: fft32_asm_float_avx - type: fft_float, len: 32, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 480
Transform tree:
    mdct_inv_float_avx2 - type: mdct_float, len: 64, factors[2]: [2, any], flags: [aligned, out_of_place, inv_only]
        fft32_asm_float_fma3 - type: fft_float, len: 32, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call]
For transform of length 64, inverse, mdct_float, flags: [aligned, out_of_place], found 3 matches:
    1: mdct_inv_float_avx2 - type: mdct_float, len: [16, ∞], factors[2]: [2, any], flags: [aligned, out_of_place, inv_only], prio: 544
    2: mdct_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: 96
    3: mdct_naive_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: -130976
For transform of length 32, inverse, fft_float, flags: [aligned, inplace, preshuf, asm_call], found 2 matches:
    1: fft32_asm_float_fma3 - type: fft_float, len: 32, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 512
    2: fft32_asm_float_avx - type: fft_float, len: 32, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 480
Transform tree:
    mdct_inv_float_avx2 - type: mdct_float, len: 64, factors[2]: [2, any], flags: [aligned, out_of_place, inv_only]
        fft32_asm_float_fma3 - type: fft_float, len: 32, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call]
For transform of length 96, inverse, mdct_float, flags: [aligned, out_of_place], found 4 matches:
    1: mdct_inv_float_avx2 - type: mdct_float, len: [16, ∞], factors[2]: [2, any], flags: [aligned, out_of_place, inv_only], prio: 544
    2: mdct_pfa_3xM_inv_float_c - type: mdct_float, len: [6, ∞], factors[2]: [3, any], flags: [unaligned, out_of_place, inv_only], prio: 112
    3: mdct_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: 96
    4: mdct_naive_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: -130976
For transform of length 16, inverse, fft_float, flags: [aligned, inplace, preshuf], found 4 matches:
    1: fft16_ns_float_fma3 - type: fft_float, len: 16, factor: 2, flags: [aligned, inplace, out_of_place, preshuf], prio: 512
    2: fft16_ns_float_avx - type: fft_float, len: 16, factor: 2, flags: [aligned, inplace, out_of_place, preshuf], prio: 480
    3: fft_pfa_ns_float_c - type: fft_float, len: [6, ∞], factors[2]: [7, 5, 3, 2, any], flags: [unaligned, inplace, out_of_place, preshuf], prio: 112
    4: fft16_ns_float_c - type: fft_float, len: 16, factor: 2, flags: [unaligned, inplace, out_of_place, preshuf], prio: 96
Transform tree:
    mdct_pfa_3xM_inv_float_c - type: mdct_float, len: 96, factors[2]: [3, any], flags: [unaligned, out_of_place, inv_only]
        fft16_ns_float_fma3 - type: fft_float, len: 16, factor: 2, flags: [aligned, inplace, out_of_place, preshuf]
For transform of length 120, inverse, mdct_float, flags: [aligned, out_of_place], found 6 matches:
    1: mdct_inv_float_avx2 - type: mdct_float, len: [16, ∞], factors[2]: [2, any], flags: [aligned, out_of_place, inv_only], prio: 544
    2: mdct_pfa_15xM_inv_float_c - type: mdct_float, len: [30, ∞], factors[2]: [15, any], flags: [unaligned, out_of_place, inv_only], prio: 304
    3: mdct_pfa_5xM_inv_float_c - type: mdct_float, len: [10, ∞], factors[2]: [5, any], flags: [unaligned, out_of_place, inv_only], prio: 144
    4: mdct_pfa_3xM_inv_float_c - type: mdct_float, len: [6, ∞], factors[2]: [3, any], flags: [unaligned, out_of_place, inv_only], prio: 112
    5: mdct_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: 96
    6: mdct_naive_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: -130976
For transform of length 60, inverse, fft_float, flags: [aligned, inplace, preshuf, asm_call], found 1 matches:
    1: fft_pfa_15xM_asm_float_avx2 - type: fft_float, len: [60, ∞], factors[2]: [15, 2], flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 688
For transform of length 4, inverse, fft_float, flags: [aligned, inplace, preshuf, asm_call], found 1 matches:
    1: fft4_fwd_asm_float_sse2 - type: fft_float, len: 4, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 352
Transform tree:
    mdct_inv_float_avx2 - type: mdct_float, len: 120, factors[2]: [2, any], flags: [aligned, out_of_place, inv_only]
        fft_pfa_15xM_asm_float_avx2 - type: fft_float, len: 60, factors[2]: [15, 2], flags: [aligned, inplace, out_of_place, preshuf, asm_call]
            fft4_fwd_asm_float_sse2 - type: fft_float, len: 4, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call]
For transform of length 128, inverse, mdct_float, flags: [aligned, out_of_place], found 3 matches:
    1: mdct_inv_float_avx2 - type: mdct_float, len: [16, ∞], factors[2]: [2, any], flags: [aligned, out_of_place, inv_only], prio: 544
    2: mdct_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: 96
    3: mdct_naive_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: -130976
For transform of length 64, inverse, fft_float, flags: [aligned, inplace, preshuf, asm_call], found 3 matches:
    1: fft_sr_asm_float_avx2 - type: fft_float, len: [64, 2097152], factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 480
    2: fft_sr_asm_float_fma3 - type: fft_float, len: [64, 2097152], factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 448
    3: fft_sr_asm_float_avx - type: fft_float, len: [64, 2097152], factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 416
Transform tree:
    mdct_inv_float_avx2 - type: mdct_float, len: 128, factors[2]: [2, any], flags: [aligned, out_of_place, inv_only]
        fft_sr_asm_float_avx2 - type: fft_float, len: 64, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call]
For transform of length 480, inverse, mdct_float, flags: [aligned, out_of_place], found 6 matches:
    1: mdct_inv_float_avx2 - type: mdct_float, len: [16, ∞], factors[2]: [2, any], flags: [aligned, out_of_place, inv_only], prio: 544
    2: mdct_pfa_15xM_inv_float_c - type: mdct_float, len: [30, ∞], factors[2]: [15, any], flags: [unaligned, out_of_place, inv_only], prio: 304
    3: mdct_pfa_5xM_inv_float_c - type: mdct_float, len: [10, ∞], factors[2]: [5, any], flags: [unaligned, out_of_place, inv_only], prio: 144
    4: mdct_pfa_3xM_inv_float_c - type: mdct_float, len: [6, ∞], factors[2]: [3, any], flags: [unaligned, out_of_place, inv_only], prio: 112
    5: mdct_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: 96
    6: mdct_naive_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: -130976
For transform of length 240, inverse, fft_float, flags: [aligned, inplace, preshuf, asm_call], found 1 matches:
    1: fft_pfa_15xM_asm_float_avx2 - type: fft_float, len: [60, ∞], factors[2]: [15, 2], flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 688
For transform of length 16, inverse, fft_float, flags: [aligned, inplace, preshuf, asm_call], found 2 matches:
    1: fft16_asm_float_fma3 - type: fft_float, len: 16, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 512
    2: fft16_asm_float_avx - type: fft_float, len: 16, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 480
Transform tree:
    mdct_inv_float_avx2 - type: mdct_float, len: 480, factors[2]: [2, any], flags: [aligned, out_of_place, inv_only]
        fft_pfa_15xM_asm_float_avx2 - type: fft_float, len: 240, factors[2]: [15, 2], flags: [aligned, inplace, out_of_place, preshuf, asm_call]
            fft16_asm_float_fma3 - type: fft_float, len: 16, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call]
For transform of length 512, inverse, mdct_float, flags: [aligned, out_of_place], found 3 matches:
    1: mdct_inv_float_avx2 - type: mdct_float, len: [16, ∞], factors[2]: [2, any], flags: [aligned, out_of_place, inv_only], prio: 544
    2: mdct_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: 96
    3: mdct_naive_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: -130976
For transform of length 256, inverse, fft_float, flags: [aligned, inplace, preshuf, asm_call], found 3 matches:
    1: fft_sr_asm_float_avx2 - type: fft_float, len: [64, 2097152], factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 480
    2: fft_sr_asm_float_fma3 - type: fft_float, len: [64, 2097152], factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 448
    3: fft_sr_asm_float_avx - type: fft_float, len: [64, 2097152], factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 416
Transform tree:
    mdct_inv_float_avx2 - type: mdct_float, len: 512, factors[2]: [2, any], flags: [aligned, out_of_place, inv_only]
        fft_sr_asm_float_avx2 - type: fft_float, len: 256, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call]
For transform of length 768, inverse, mdct_float, flags: [aligned, out_of_place], found 4 matches:
    1: mdct_inv_float_avx2 - type: mdct_float, len: [16, ∞], factors[2]: [2, any], flags: [aligned, out_of_place, inv_only], prio: 544
    2: mdct_pfa_3xM_inv_float_c - type: mdct_float, len: [6, ∞], factors[2]: [3, any], flags: [unaligned, out_of_place, inv_only], prio: 112
    3: mdct_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: 96
    4: mdct_naive_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: -130976
For transform of length 128, inverse, fft_float, flags: [aligned, inplace, preshuf], found 5 matches:
    1: fft_sr_ns_float_avx2 - type: fft_float, len: [64, 2097152], factor: 2, flags: [aligned, inplace, out_of_place, preshuf], prio: 480
    2: fft_sr_ns_float_fma3 - type: fft_float, len: [64, 2097152], factor: 2, flags: [aligned, inplace, out_of_place, preshuf], prio: 448
    3: fft_sr_ns_float_avx - type: fft_float, len: [64, 2097152], factor: 2, flags: [aligned, inplace, out_of_place, preshuf], prio: 416
    4: fft_pfa_ns_float_c - type: fft_float, len: [6, ∞], factors[2]: [7, 5, 3, 2, any], flags: [unaligned, inplace, out_of_place, preshuf], prio: 112
    5: fft128_ns_float_c - type: fft_float, len: 128, factor: 2, flags: [unaligned, inplace, out_of_place, preshuf], prio: 96
Transform tree:
    mdct_pfa_3xM_inv_float_c - type: mdct_float, len: 768, factors[2]: [3, any], flags: [unaligned, out_of_place, inv_only]
        fft_sr_ns_float_avx2 - type: fft_float, len: 128, factor: 2, flags: [aligned, inplace, out_of_place, preshuf]
For transform of length 960, inverse, mdct_float, flags: [aligned, out_of_place], found 6 matches:
    1: mdct_inv_float_avx2 - type: mdct_float, len: [16, ∞], factors[2]: [2, any], flags: [aligned, out_of_place, inv_only], prio: 544
    2: mdct_pfa_15xM_inv_float_c - type: mdct_float, len: [30, ∞], factors[2]: [15, any], flags: [unaligned, out_of_place, inv_only], prio: 304
    3: mdct_pfa_5xM_inv_float_c - type: mdct_float, len: [10, ∞], factors[2]: [5, any], flags: [unaligned, out_of_place, inv_only], prio: 144
    4: mdct_pfa_3xM_inv_float_c - type: mdct_float, len: [6, ∞], factors[2]: [3, any], flags: [unaligned, out_of_place, inv_only], prio: 112
    5: mdct_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: 96
    6: mdct_naive_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: -130976
For transform of length 480, inverse, fft_float, flags: [aligned, inplace, preshuf, asm_call], found 1 matches:
    1: fft_pfa_15xM_asm_float_avx2 - type: fft_float, len: [60, ∞], factors[2]: [15, 2], flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 688
For transform of length 32, inverse, fft_float, flags: [aligned, inplace, preshuf, asm_call], found 2 matches:
    1: fft32_asm_float_fma3 - type: fft_float, len: 32, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 512
    2: fft32_asm_float_avx - type: fft_float, len: 32, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 480
Transform tree:
    mdct_inv_float_avx2 - type: mdct_float, len: 960, factors[2]: [2, any], flags: [aligned, out_of_place, inv_only]
        fft_pfa_15xM_asm_float_avx2 - type: fft_float, len: 480, factors[2]: [15, 2], flags: [aligned, inplace, out_of_place, preshuf, asm_call]
            fft32_asm_float_fma3 - type: fft_float, len: 32, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call]
For transform of length 1024, inverse, mdct_float, flags: [aligned, out_of_place], found 3 matches:
    1: mdct_inv_float_avx2 - type: mdct_float, len: [16, ∞], factors[2]: [2, any], flags: [aligned, out_of_place, inv_only], prio: 544
    2: mdct_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: 96
    3: mdct_naive_inv_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, inv_only], prio: -130976
For transform of length 512, inverse, fft_float, flags: [aligned, inplace, preshuf, asm_call], found 3 matches:
    1: fft_sr_asm_float_avx2 - type: fft_float, len: [64, 2097152], factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 480
    2: fft_sr_asm_float_fma3 - type: fft_float, len: [64, 2097152], factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 448
    3: fft_sr_asm_float_avx - type: fft_float, len: [64, 2097152], factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call], prio: 416
Transform tree:
    mdct_inv_float_avx2 - type: mdct_float, len: 1024, factors[2]: [2, any], flags: [aligned, out_of_place, inv_only]
        fft_sr_asm_float_avx2 - type: fft_float, len: 512, factor: 2, flags: [aligned, inplace, out_of_place, preshuf, asm_call]
For transform of length 1024, forward, mdct_float, flags: [aligned, out_of_place], found 2 matches:
    1: mdct_fwd_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, fwd_only], prio: 96
    2: mdct_naive_fwd_float_c - type: mdct_float, len: [2, ∞], factors[2]: [2, any], flags: [unaligned, out_of_place, fwd_only], prio: -130976
For transform of length 512, forward, fft_float, flags: [aligned, inplace, preshuf], found 5 matches:
    1: fft_sr_ns_float_avx2 - type: fft_float, len: [64, 2097152], factor: 2, flags: [aligned, inplace, out_of_place, preshuf], prio: 480
    2: fft_sr_ns_float_fma3 - type: fft_float, len: [64, 2097152], factor: 2, flags: [aligned, inplace, out_of_place, preshuf], prio: 448
    3: fft_sr_ns_float_avx - type: fft_float, len: [64, 2097152], factor: 2, flags: [aligned, inplace, out_of_place, preshuf], prio: 416
    4: fft_pfa_ns_float_c - type: fft_float, len: [6, ∞], factors[2]: [7, 5, 3, 2, any], flags: [unaligned, inplace, out_of_place, preshuf], prio: 112
    5: fft512_ns_float_c - type: fft_float, len: 512, factor: 2, flags: [unaligned, inplace, out_of_place, preshuf], prio: 96
Transform tree:
    mdct_fwd_float_c - type: mdct_float, len: 1024, factors[2]: [2, any], flags: [unaligned, out_of_place, fwd_only]
        fft_sr_ns_float_avx2 - type: fft_float, len: 512, factor: 2, flags: [aligned, inplace, out_of_place, preshuf]
[h264 @ 000001ee2707c200] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 000001ee2707c200] Decoding VUI
[h264 @ 000001ee2707c200] nal_unit_type: 8(PPS), nal_ref_idc: 3
[h264 @ 000001ee2707c200] nal_unit_type: 6(SEI), nal_ref_idc: 0
[h264 @ 000001ee2707c200] nal_unit_type: 5(IDR), nal_ref_idc: 3
[h264 @ 000001ee2707c200] Format yuv420p chosen by get_format().
[h264 @ 000001ee2707c200] Reinit context to 1920x1040, pix_fmt: yuv420p
[h264 @ 000001ee2707c200] no picture
[matroska,webm @ 000001ee27074880] All info found
[matroska,webm @ 000001ee27074880] stream 0: start_time: 0 duration: NOPTS
[matroska,webm @ 000001ee27074880] stream 1: start_time: 0.038 duration: NOPTS
[matroska,webm @ 000001ee27074880] stream 2: start_time: 0 duration: NOPTS
[matroska,webm @ 000001ee27074880] format: start_time: 0 duration: 5750.912 (estimate from stream) bitrate=6796 kb/s
[matroska,webm @ 000001ee27074880] After avformat_find_stream_info() pos: 3805 bytes read:32768 seeks:0 frames:7
Input #0, matroska,webm, from 'F:/Kigo/Film/Test/TEST.mkv':
  Metadata:
    ENCODER         : Lavf61.5.101
  Duration: 01:35:50.91, start: 0.000000, bitrate: 6796 kb/s
  Stream #0:0, 4, 1/1000: Video: h264 (High), 1 reference frame, yuv420p(tv, bt709, progressive, left), 1920x1040 [SAR 1:1 DAR 24:13], 0/1, 23.98 fps, 23.98 tbr, 1k tbn (default)
      Metadata:
        DURATION        : 01:35:50.786000000
  Stream #0:1(eng), 1, 1/1000: Audio: ac3, 48000 Hz, stereo, fltp, delay 256, 192 kb/s (default)
      Metadata:
        DURATION        : 01:35:50.859000000
  Stream #0:2(deu), 2, 1/1000: Audio: aac (LC), 48000 Hz, stereo, fltp, delay 2048
      Metadata:
        DURATION        : 01:35:50.912000000
Successfully opened the file.
Parsing a group of options: input url F:/Kigo/Film/Test/TEST.English - CC.ass.
Successfully parsed a group of options.
Opening an input file: F:/Kigo/Film/Test/TEST.English - CC.ass.
[AVFormatContext @ 000001ee2713ed00] Opening 'F:/Kigo/Film/Test/TEST.English - CC.ass' for reading
[file @ 000001ee270aad40] Setting default whitelist 'file,crypto,data'
Probing ass score:100 size:2048
Probing lrc score:5 size:2048
[ass @ 000001ee2713ed00] Format ass probed with size=2048 and score=100
[ass @ 000001ee2713ed00] Before avformat_find_stream_info() pos: 88945 bytes read:88945 seeks:0 nb_streams:1
[ass @ 000001ee2713ed00] All info found
[ass @ 000001ee2713ed00] stream 0: start_time: NOPTS duration: NOPTS
[ass @ 000001ee2713ed00] format: start_time: NOPTS duration: NOPTS (estimate from bit rate) bitrate=0 kb/s
[ass @ 000001ee2713ed00] After avformat_find_stream_info() pos: 88945 bytes read:88945 seeks:0 frames:0
Input #1, ass, from 'F:/Kigo/Film/Test/TEST.English - CC.ass':
  Duration: N/A, bitrate: N/A
  Stream #1:0, 0, 1/100: Subtitle: ass (ssa)
Successfully opened the file.
Parsing a group of options: input url F:/Kigo/Film/Test/TEST.German.ass.
Successfully parsed a group of options.
Opening an input file: F:/Kigo/Film/Test/TEST.German.ass.
[AVFormatContext @ 000001ee2713ca40] Opening 'F:/Kigo/Film/Test/TEST.German.ass' for reading
[file @ 000001ee273e7d40] Setting default whitelist 'file,crypto,data'
Probing ass score:100 size:2048
Probing lrc score:5 size:2048
[ass @ 000001ee2713ca40] Format ass probed with size=2048 and score=100
[ass @ 000001ee2713ca40] Before avformat_find_stream_info() pos: 62003 bytes read:62003 seeks:0 nb_streams:1
[ass @ 000001ee2713ca40] All info found
[ass @ 000001ee2713ca40] stream 0: start_time: NOPTS duration: NOPTS
[ass @ 000001ee2713ca40] format: start_time: NOPTS duration: NOPTS (estimate from bit rate) bitrate=0 kb/s
[ass @ 000001ee2713ca40] After avformat_find_stream_info() pos: 62003 bytes read:62003 seeks:0 frames:0
Input #2, ass, from 'F:/Kigo/Film/Test/TEST.German.ass':
  Duration: N/A, bitrate: N/A
  Stream #2:0, 0, 1/100: Subtitle: ass (ssa)
Successfully opened the file.
Parsing a group of options: input url F:/Kigo/Film/Test/TEST.Dutch.ass.
Successfully parsed a group of options.
Opening an input file: F:/Kigo/Film/Test/TEST.Dutch.ass.
[AVFormatContext @ 000001ee27725840] Opening 'F:/Kigo/Film/Test/TEST.Dutch.ass' for reading
[file @ 000001ee2731cec0] Setting default whitelist 'file,crypto,data'
Probing ass score:100 size:2048
Probing lrc score:5 size:2048
[ass @ 000001ee27725840] Format ass probed with size=2048 and score=100
[ass @ 000001ee27725840] Before avformat_find_stream_info() pos: 63098 bytes read:63098 seeks:0 nb_streams:1
[ass @ 000001ee27725840] All info found
[ass @ 000001ee27725840] stream 0: start_time: NOPTS duration: NOPTS
[ass @ 000001ee27725840] format: start_time: NOPTS duration: NOPTS (estimate from bit rate) bitrate=0 kb/s
[ass @ 000001ee27725840] After avformat_find_stream_info() pos: 63098 bytes read:63098 seeks:0 frames:0
Input #3, ass, from 'F:/Kigo/Film/Test/TEST.Dutch.ass':
  Duration: N/A, bitrate: N/A
  Stream #3:0, 0, 1/100: Subtitle: ass (ssa)
Successfully opened the file.
Parsing a group of options: input url F:/Kigo/Film/Test/TEST.Italian.ass.
Successfully parsed a group of options.
Opening an input file: F:/Kigo/Film/Test/TEST.Italian.ass.
[AVFormatContext @ 000001ee271143c0] Opening 'F:/Kigo/Film/Test/TEST.Italian.ass' for reading
[file @ 000001ee272469c0] Setting default whitelist 'file,crypto,data'
Probing ass score:100 size:2048
Probing lrc score:5 size:2048
[ass @ 000001ee271143c0] Format ass probed with size=2048 and score=100
[ass @ 000001ee271143c0] Before avformat_find_stream_info() pos: 74494 bytes read:74494 seeks:0 nb_streams:1
[ass @ 000001ee271143c0] All info found
[ass @ 000001ee271143c0] stream 0: start_time: NOPTS duration: NOPTS
[ass @ 000001ee271143c0] format: start_time: NOPTS duration: NOPTS (estimate from bit rate) bitrate=0 kb/s
[ass @ 000001ee271143c0] After avformat_find_stream_info() pos: 74494 bytes read:74494 seeks:0 frames:0
Input #4, ass, from 'F:/Kigo/Film/Test/TEST.Italian.ass':
  Duration: N/A, bitrate: N/A
  Stream #4:0, 0, 1/100: Subtitle: ass (ssa)
Successfully opened the file.
Parsing a group of options: output url D:/TEMP/TEST.mkv.
Applying option map (set input stream mapping) with argument 0.
Parsing stream specifier:
Applying option map (set input stream mapping) with argument 1.
Parsing stream specifier:
Applying option map (set input stream mapping) with argument 2.
Parsing stream specifier:
Applying option map (set input stream mapping) with argument 3.
Parsing stream specifier:
Applying option map (set input stream mapping) with argument 4.
Parsing stream specifier:
Applying option c (select encoder/decoder ('copy' to copy stream without reencoding)) with argument copy.
Parsing stream specifier:
Applying option metadata:s:s:0 (add metadata) with argument language=eng.
Applying option metadata:s:s:0 (add metadata) with argument title=English [CC].
Applying option disposition:s:s:0 (disposition) with argument hearing_impaired.
Parsing stream specifier: s:s:0
Parsed media type: subtitle; remainder: :s:0
Stream type specified multiple times
Error parsing options for output file D:/TEMP/TEST.mkv.
Error opening output files: Invalid argument
[AVIOContext @ 000001ee27075980] Statistics: 32768 bytes read, 0 seeks
[AVIOContext @ 000001ee27074d40] Statistics: 88945 bytes read, 0 seeks
[AVIOContext @ 000001ee2707c5c0] Statistics: 62003 bytes read, 0 seeks
[AVIOContext @ 000001ee2711b600] Statistics: 63098 bytes read, 0 seeks
[AVIOContext @ 000001ee27114680] Statistics: 74494 bytes read, 0 seeks

Change History (1)

comment:1 by lhksoft, 3 months ago

Resolution: fixed
Status: newclosed

seems something has changed between n6.x and n7.x :
Until n.6.1.2 'disposition:s:s:0' was accepted, from n.7 it must be in the form of 'disposition:s:0'

Sorry, did found out my self too late.

Note: See TracTickets for help on using tickets.