Surround sound 5.1 is (merged to?) stereo
joshinils opened this issue · 8 comments
- I am using the latest version of
ffmpeg-normalize
(runpip3 install --upgrade ffmpeg-normalize
)
Expected behavior
The channel layouts are retained, 5.1 stays 5.1 (and 7.1 stays 7.1)
Actual behavior
all audio streams are now two-channel, stereo
Command
The exact command you were trying to run:
['ffmpeg-normalize', '--pre-filter', 'channelmap=channel_layout=5.1', '-pr', '-f', '-ar', '48000', '-c:a', 'opus', '-b:a', '320000', 'normalized_temp_single/Indiana Jones und das Königreich des Kristallschädels_2008 - BD_old.mkv.audio-004.mkv', '-o', 'normalized_temp/Indiana Jones und das Königreich des Kristallschädels_2008 - BD_old.mkv.audio-004.mkv.normalized.mkv', '-e', '-strict -2']
ffprobe input
ffprobe version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2007-2021 the FFmpeg developers
built with gcc 11 (Ubuntu 11.2.0-19ubuntu1)
configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
WARNING: library configuration mismatch
avcodec configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared --enable-version3 --disable-doc --disable-programs --enable-libaribb24 --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libtesseract --enable-libvo_amrwbenc --enable-libsmbclient
avformat configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared --enable-version3 --disable-doc --disable-programs --enable-libaribb24 --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libtesseract --enable-libvo_amrwbenc --enable-libsmbclient
avfilter configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared --enable-version3 --disable-doc --disable-programs --enable-libaribb24 --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libtesseract --enable-libvo_amrwbenc --enable-libsmbclient
libavutil 56. 70.100 / 56. 70.100
libavcodec 58.134.100 / 58.134.100
libavformat 58. 76.100 / 58. 76.100
libavdevice 58. 13.100 / 58. 13.100
libavfilter 7.110.100 / 7.110.100
libswscale 5. 9.100 / 5. 9.100
libswresample 3. 9.100 / 3. 9.100
libpostproc 55. 9.100 / 55. 9.100
[matroska,webm @ 0x5640f2544400] Could not find codec parameters for stream 7 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0x5640f2544400] Could not find codec parameters for stream 8 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0x5640f2544400] Could not find codec parameters for stream 9 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0x5640f2544400] Could not find codec parameters for stream 10 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0x5640f2544400] Could not find codec parameters for stream 11 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0x5640f2544400] Could not find codec parameters for stream 12 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0x5640f2544400] Could not find codec parameters for stream 13 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0x5640f2544400] Could not find codec parameters for stream 14 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0x5640f2544400] Could not find codec parameters for stream 15 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0x5640f2544400] Could not find codec parameters for stream 16 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0x5640f2544400] Could not find codec parameters for stream 17 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0x5640f2544400] Could not find codec parameters for stream 18 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0x5640f2544400] Could not find codec parameters for stream 19 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0x5640f2544400] Could not find codec parameters for stream 20 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0x5640f2544400] Could not find codec parameters for stream 21 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0x5640f2544400] Could not find codec parameters for stream 22 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0x5640f2544400] Could not find codec parameters for stream 23 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0x5640f2544400] Could not find codec parameters for stream 24 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0x5640f2544400] Could not find codec parameters for stream 25 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0x5640f2544400] Could not find codec parameters for stream 26 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0x5640f2544400] Could not find codec parameters for stream 27 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0x5640f2544400] Could not find codec parameters for stream 28 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0x5640f2544400] Could not find codec parameters for stream 29 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0x5640f2544400] Could not find codec parameters for stream 30 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
Input #0, matroska,webm, from '../normalized_done/Indiana Jones und das Königreich des Kristallschädels_2008 - BD.mkv':
Metadata:
title : Indiana Jones und das Königreich des Kristallschädels
DATE_RELEASED : 2008
creation_time : 2023-06-04T05:33:08.000000Z
SUMMARY : Indiana Jones und das Königreich des Kristallschädels
ENCODER : Lavf59.27.100
Duration: 02:02:32.42, start: 0.000000, bitrate: 15446 kb/s
Chapters:
Chapter #0:0: start 0.000000, end 441.608000
Metadata:
title : Chapter 1
Chapter #0:1: start 441.608000, end 791.624000
Metadata:
title : Chapter 2
Chapter #0:2: start 791.624000, end 1305.137000
Metadata:
title : Chapter 3
Chapter #0:3: start 1305.137000, end 1659.158000
Metadata:
title : Chapter 4
Chapter #0:4: start 1659.158000, end 2218.550000
Metadata:
title : Chapter 5
Chapter #0:5: start 2218.550000, end 2795.126000
Metadata:
title : Chapter 6
Chapter #0:6: start 2795.126000, end 3337.501000
Metadata:
title : Chapter 7
Chapter #0:7: start 3337.501000, end 3946.609000
Metadata:
title : Chapter 8
Chapter #0:8: start 3946.609000, end 4328.157000
Metadata:
title : Chapter 9
Chapter #0:9: start 4328.157000, end 4913.075000
Metadata:
title : Chapter 10
Chapter #0:10: start 4913.075000, end 5354.182000
Metadata:
title : Chapter 11
Chapter #0:11: start 5354.182000, end 5764.259000
Metadata:
title : Chapter 12
Chapter #0:12: start 5764.259000, end 6263.424000
Metadata:
title : Chapter 13
Chapter #0:13: start 6263.424000, end 6669.329000
Metadata:
title : Chapter 14
Chapter #0:14: start 6669.329000, end 6955.115000
Metadata:
title : Chapter 15
Chapter #0:15: start 6955.115000, end 7352.345000
Metadata:
title : Chapter 16
Stream #0:0: Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x800 [SAR 1:1 DAR 12:5], 23.98 fps, 23.98 tbr, 1k tbn, 180k tbc (default)
Metadata:
DURATION : 02:02:32.387000000
Stream #0:1(ger): Audio: ac3, 48000 Hz, 5.1(side), fltp, 640 kb/s (default)
Metadata:
title : Surround 5.1
DURATION : 02:02:32.416000000
Stream #0:2(eng): Audio: truehd, 48000 Hz, 5.1(side), s32 (24 bit)
Metadata:
title : Surround
DURATION : 02:02:32.388000000
Stream #0:3(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 640 kb/s
Metadata:
title : Surround 5.1
DURATION : 02:02:32.416000000
Stream #0:4(spa): Audio: ac3, 48000 Hz, 5.1(side), fltp, 640 kb/s
Metadata:
title : Surround 5.1
DURATION : 02:02:32.416000000
Stream #0:5(fre): Audio: ac3, 48000 Hz, 5.1(side), fltp, 640 kb/s
Metadata:
title : Surround 5.1
DURATION : 02:02:32.416000000
Stream #0:6(ita): Audio: ac3, 48000 Hz, 5.1(side), fltp, 640 kb/s
Metadata:
title : Surround 5.1
DURATION : 02:02:32.416000000
Stream #0:7(ger): Subtitle: hdmv_pgs_subtitle (default) (forced)
Metadata:
DURATION : 00:20:30.104000000
Stream #0:8(ger): Subtitle: hdmv_pgs_subtitle
Metadata:
DURATION : 02:02:24.128000000
Stream #0:9(ger): Subtitle: hdmv_pgs_subtitle
Metadata:
DURATION : 00:20:30.104000000
Stream #0:10(eng): Subtitle: hdmv_pgs_subtitle
Metadata:
DURATION : 01:55:45.355000000
Stream #0:11(eng): Subtitle: hdmv_pgs_subtitle
Metadata:
DURATION : 01:55:57.701000000
Stream #0:12(dan): Subtitle: hdmv_pgs_subtitle
Metadata:
DURATION : 02:02:24.128000000
Stream #0:13(gre): Subtitle: hdmv_pgs_subtitle
Metadata:
DURATION : 02:02:24.128000000
Stream #0:14(spa): Subtitle: hdmv_pgs_subtitle
Metadata:
DURATION : 02:02:24.128000000
Stream #0:15(fin): Subtitle: hdmv_pgs_subtitle
Metadata:
DURATION : 02:02:24.128000000
Stream #0:16(fre): Subtitle: hdmv_pgs_subtitle
Metadata:
DURATION : 02:02:24.128000000
Stream #0:17(hun): Subtitle: hdmv_pgs_subtitle
Metadata:
DURATION : 02:02:24.128000000
Stream #0:18(ita): Subtitle: hdmv_pgs_subtitle
Metadata:
DURATION : 02:02:24.128000000
Stream #0:19(dut): Subtitle: hdmv_pgs_subtitle
Metadata:
DURATION : 02:02:24.128000000
Stream #0:20(nor): Subtitle: hdmv_pgs_subtitle
Metadata:
DURATION : 02:02:24.128000000
Stream #0:21(pol): Subtitle: hdmv_pgs_subtitle
Metadata:
DURATION : 02:02:24.128000000
Stream #0:22(por): Subtitle: hdmv_pgs_subtitle
Metadata:
DURATION : 02:02:24.128000000
Stream #0:23(swe): Subtitle: hdmv_pgs_subtitle
Metadata:
DURATION : 02:02:24.128000000
Stream #0:24(tur): Subtitle: hdmv_pgs_subtitle
Metadata:
DURATION : 02:02:24.128000000
Stream #0:25(spa): Subtitle: hdmv_pgs_subtitle
Metadata:
DURATION : 00:12:05.099000000
Stream #0:26(spa): Subtitle: hdmv_pgs_subtitle
Metadata:
DURATION : 00:12:05.099000000
Stream #0:27(fre): Subtitle: hdmv_pgs_subtitle
Metadata:
DURATION : 00:03:32.546000000
Stream #0:28(fre): Subtitle: hdmv_pgs_subtitle
Metadata:
DURATION : 00:03:32.546000000
Stream #0:29(ita): Subtitle: hdmv_pgs_subtitle
Metadata:
DURATION : 00:20:30.104000000
Stream #0:30(ita): Subtitle: hdmv_pgs_subtitle
Metadata:
DURATION : 00:20:30.104000000
ffprobe output
ffprobe version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2007-2021 the FFmpeg developers
built with gcc 11 (Ubuntu 11.2.0-19ubuntu1)
configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
WARNING: library configuration mismatch
avcodec configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared --enable-version3 --disable-doc --disable-programs --enable-libaribb24 --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libtesseract --enable-libvo_amrwbenc --enable-libsmbclient
avformat configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared --enable-version3 --disable-doc --disable-programs --enable-libaribb24 --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libtesseract --enable-libvo_amrwbenc --enable-libsmbclient
avfilter configuration: --prefix=/usr --extra-version=0ubuntu0.22.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-libmfx --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared --enable-version3 --disable-doc --disable-programs --enable-libaribb24 --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libtesseract --enable-libvo_amrwbenc --enable-libsmbclient
libavutil 56. 70.100 / 56. 70.100
libavcodec 58.134.100 / 58.134.100
libavformat 58. 76.100 / 58. 76.100
libavdevice 58. 13.100 / 58. 13.100
libavfilter 7.110.100 / 7.110.100
libswscale 5. 9.100 / 5. 9.100
libswresample 3. 9.100 / 3. 9.100
libpostproc 55. 9.100 / 55. 9.100
[matroska,webm @ 0x563070b1f400] Could not find codec parameters for stream 1 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0x563070b1f400] Could not find codec parameters for stream 2 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0x563070b1f400] Could not find codec parameters for stream 3 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0x563070b1f400] Could not find codec parameters for stream 4 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0x563070b1f400] Could not find codec parameters for stream 5 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0x563070b1f400] Could not find codec parameters for stream 6 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0x563070b1f400] Could not find codec parameters for stream 7 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0x563070b1f400] Could not find codec parameters for stream 8 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0x563070b1f400] Could not find codec parameters for stream 9 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0x563070b1f400] Could not find codec parameters for stream 10 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0x563070b1f400] Could not find codec parameters for stream 11 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0x563070b1f400] Could not find codec parameters for stream 12 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0x563070b1f400] Could not find codec parameters for stream 13 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0x563070b1f400] Could not find codec parameters for stream 14 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0x563070b1f400] Could not find codec parameters for stream 15 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0x563070b1f400] Could not find codec parameters for stream 16 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0x563070b1f400] Could not find codec parameters for stream 17 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0x563070b1f400] Could not find codec parameters for stream 18 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0x563070b1f400] Could not find codec parameters for stream 19 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0x563070b1f400] Could not find codec parameters for stream 20 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0x563070b1f400] Could not find codec parameters for stream 21 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0x563070b1f400] Could not find codec parameters for stream 22 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0x563070b1f400] Could not find codec parameters for stream 23 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
[matroska,webm @ 0x563070b1f400] Could not find codec parameters for stream 24 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
Input #0, matroska,webm, from '../normalized/Indiana Jones und das Königreich des Kristallschädels_2008 - BD.mkv':
Metadata:
title : Indiana Jones und das Königreich des Kristallschädels
DATE_RELEASED : 2008
creation_time : 2023-06-05T19:20:26.000000Z
SUMMARY : Indiana Jones und das Königreich des Kristallschädels
ENCODER : Lavf58.76.100
Duration: 02:02:32.42, start: -0.003000, bitrate: 12185 kb/s
Chapters:
Chapter #0:0: start 0.000000, end 441.608000
Metadata:
title : Chapter 1
Chapter #0:1: start 441.608000, end 791.624000
Metadata:
title : Chapter 2
Chapter #0:2: start 791.624000, end 1305.137000
Metadata:
title : Chapter 3
Chapter #0:3: start 1305.137000, end 1659.158000
Metadata:
title : Chapter 4
Chapter #0:4: start 1659.158000, end 2218.550000
Metadata:
title : Chapter 5
Chapter #0:5: start 2218.550000, end 2795.126000
Metadata:
title : Chapter 6
Chapter #0:6: start 2795.126000, end 3337.501000
Metadata:
title : Chapter 7
Chapter #0:7: start 3337.501000, end 3946.609000
Metadata:
title : Chapter 8
Chapter #0:8: start 3946.609000, end 4328.157000
Metadata:
title : Chapter 9
Chapter #0:9: start 4328.157000, end 4913.075000
Metadata:
title : Chapter 10
Chapter #0:10: start 4913.075000, end 5354.182000
Metadata:
title : Chapter 11
Chapter #0:11: start 5354.182000, end 5764.259000
Metadata:
title : Chapter 12
Chapter #0:12: start 5764.259000, end 6263.424000
Metadata:
title : Chapter 13
Chapter #0:13: start 6263.424000, end 6669.329000
Metadata:
title : Chapter 14
Chapter #0:14: start 6669.329000, end 6955.115000
Metadata:
title : Chapter 15
Chapter #0:15: start 6955.115000, end 7352.345000
Metadata:
title : Chapter 16
Stream #0:0: Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x800 [SAR 1:1 DAR 12:5], 23.98 fps, 23.98 tbr, 1k tbn, 180k tbc (default)
Metadata:
BPS : 10150635
DURATION : 02:02:32.387000000
NUMBER_OF_FRAMES: 176281
NUMBER_OF_BYTES : 9328925072
_STATISTICS_WRITING_APP: mkvmerge v65.0.0 ('Too Much') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2023-06-05 19:20:26
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:1(ger): Subtitle: hdmv_pgs_subtitle (default) (forced)
Metadata:
BPS : 652
DURATION : 00:19:44.558000000
NUMBER_OF_FRAMES: 8
NUMBER_OF_BYTES : 96686
_STATISTICS_WRITING_APP: mkvmerge v65.0.0 ('Too Much') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2023-06-05 19:20:26
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:2(ger): Subtitle: hdmv_pgs_subtitle
Metadata:
BPS : 28344
DURATION : 02:01:38.582000000
NUMBER_OF_FRAMES: 2107
NUMBER_OF_BYTES : 25859474
_STATISTICS_WRITING_APP: mkvmerge v65.0.0 ('Too Much') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2023-06-05 19:20:26
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:3(ger): Subtitle: hdmv_pgs_subtitle
Metadata:
BPS : 652
DURATION : 00:19:44.558000000
NUMBER_OF_FRAMES: 8
NUMBER_OF_BYTES : 96686
_STATISTICS_WRITING_APP: mkvmerge v65.0.0 ('Too Much') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2023-06-05 19:20:26
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:4(eng): Subtitle: hdmv_pgs_subtitle
Metadata:
BPS : 27332
DURATION : 01:54:50.217000000
NUMBER_OF_FRAMES: 2094
NUMBER_OF_BYTES : 23540629
_STATISTICS_WRITING_APP: mkvmerge v65.0.0 ('Too Much') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2023-06-05 19:20:26
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:5(eng): Subtitle: hdmv_pgs_subtitle
Metadata:
BPS : 29891
DURATION : 01:55:33.468000000
NUMBER_OF_FRAMES: 2404
NUMBER_OF_BYTES : 25906558
_STATISTICS_WRITING_APP: mkvmerge v65.0.0 ('Too Much') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2023-06-05 19:20:26
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:6(dan): Subtitle: hdmv_pgs_subtitle
Metadata:
BPS : 22316
DURATION : 02:01:38.582000000
NUMBER_OF_FRAMES: 2029
NUMBER_OF_BYTES : 20360019
_STATISTICS_WRITING_APP: mkvmerge v65.0.0 ('Too Much') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2023-06-05 19:20:26
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:7(gre): Subtitle: hdmv_pgs_subtitle
Metadata:
BPS : 22387
DURATION : 02:01:02.046000000
NUMBER_OF_FRAMES: 1943
NUMBER_OF_BYTES : 20322444
_STATISTICS_WRITING_APP: mkvmerge v65.0.0 ('Too Much') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2023-06-05 19:20:26
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:8(spa): Subtitle: hdmv_pgs_subtitle
Metadata:
BPS : 23370
DURATION : 02:01:38.582000000
NUMBER_OF_FRAMES: 2046
NUMBER_OF_BYTES : 21321493
_STATISTICS_WRITING_APP: mkvmerge v65.0.0 ('Too Much') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2023-06-05 19:20:26
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:9(fin): Subtitle: hdmv_pgs_subtitle
Metadata:
BPS : 20838
DURATION : 02:01:38.582000000
NUMBER_OF_FRAMES: 2000
NUMBER_OF_BYTES : 19011375
_STATISTICS_WRITING_APP: mkvmerge v65.0.0 ('Too Much') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2023-06-05 19:20:26
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:10(fre): Subtitle: hdmv_pgs_subtitle
Metadata:
BPS : 21591
DURATION : 02:01:38.582000000
NUMBER_OF_FRAMES: 2008
NUMBER_OF_BYTES : 19698255
_STATISTICS_WRITING_APP: mkvmerge v65.0.0 ('Too Much') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2023-06-05 19:20:26
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:11(hun): Subtitle: hdmv_pgs_subtitle
Metadata:
BPS : 20156
DURATION : 02:01:38.582000000
NUMBER_OF_FRAMES: 2047
NUMBER_OF_BYTES : 18388940
_STATISTICS_WRITING_APP: mkvmerge v65.0.0 ('Too Much') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2023-06-05 19:20:26
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:12(ita): Subtitle: hdmv_pgs_subtitle
Metadata:
BPS : 23712
DURATION : 02:01:38.582000000
NUMBER_OF_FRAMES: 2106
NUMBER_OF_BYTES : 21633101
_STATISTICS_WRITING_APP: mkvmerge v65.0.0 ('Too Much') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2023-06-05 19:20:26
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:13(dut): Subtitle: hdmv_pgs_subtitle
Metadata:
BPS : 18747
DURATION : 02:01:02.046000000
NUMBER_OF_FRAMES: 1910
NUMBER_OF_BYTES : 17017745
_STATISTICS_WRITING_APP: mkvmerge v65.0.0 ('Too Much') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2023-06-05 19:20:26
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:14(nor): Subtitle: hdmv_pgs_subtitle
Metadata:
BPS : 19515
DURATION : 02:01:38.582000000
NUMBER_OF_FRAMES: 2015
NUMBER_OF_BYTES : 17804752
_STATISTICS_WRITING_APP: mkvmerge v65.0.0 ('Too Much') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2023-06-05 19:20:26
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:15(pol): Subtitle: hdmv_pgs_subtitle
Metadata:
BPS : 22403
DURATION : 02:01:38.582000000
NUMBER_OF_FRAMES: 2034
NUMBER_OF_BYTES : 20438892
_STATISTICS_WRITING_APP: mkvmerge v65.0.0 ('Too Much') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2023-06-05 19:20:26
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:16(por): Subtitle: hdmv_pgs_subtitle
Metadata:
BPS : 24203
DURATION : 02:01:38.582000000
NUMBER_OF_FRAMES: 2084
NUMBER_OF_BYTES : 22081728
_STATISTICS_WRITING_APP: mkvmerge v65.0.0 ('Too Much') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2023-06-05 19:20:26
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:17(swe): Subtitle: hdmv_pgs_subtitle
Metadata:
BPS : 22557
DURATION : 02:01:38.582000000
NUMBER_OF_FRAMES: 2028
NUMBER_OF_BYTES : 20579422
_STATISTICS_WRITING_APP: mkvmerge v65.0.0 ('Too Much') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2023-06-05 19:20:26
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:18(tur): Subtitle: hdmv_pgs_subtitle
Metadata:
BPS : 23025
DURATION : 02:01:02.046000000
NUMBER_OF_FRAMES: 2062
NUMBER_OF_BYTES : 20901288
_STATISTICS_WRITING_APP: mkvmerge v65.0.0 ('Too Much') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2023-06-05 19:20:26
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:19(spa): Subtitle: hdmv_pgs_subtitle
Metadata:
BPS : 874
DURATION : 00:11:19.553000000
NUMBER_OF_FRAMES: 6
NUMBER_OF_BYTES : 74243
_STATISTICS_WRITING_APP: mkvmerge v65.0.0 ('Too Much') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2023-06-05 19:20:26
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:20(spa): Subtitle: hdmv_pgs_subtitle
Metadata:
BPS : 874
DURATION : 00:11:19.553000000
NUMBER_OF_FRAMES: 6
NUMBER_OF_BYTES : 74243
_STATISTICS_WRITING_APP: mkvmerge v65.0.0 ('Too Much') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2023-06-05 19:20:26
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:21(fre): Subtitle: hdmv_pgs_subtitle
Metadata:
BPS : 2829
DURATION : 00:02:47.000000000
NUMBER_OF_FRAMES: 6
NUMBER_OF_BYTES : 59066
_STATISTICS_WRITING_APP: mkvmerge v65.0.0 ('Too Much') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2023-06-05 19:20:26
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:22(fre): Subtitle: hdmv_pgs_subtitle
Metadata:
BPS : 2829
DURATION : 00:02:47.000000000
NUMBER_OF_FRAMES: 6
NUMBER_OF_BYTES : 59066
_STATISTICS_WRITING_APP: mkvmerge v65.0.0 ('Too Much') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2023-06-05 19:20:26
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:23(ita): Subtitle: hdmv_pgs_subtitle
Metadata:
BPS : 602
DURATION : 00:19:44.558000000
NUMBER_OF_FRAMES: 8
NUMBER_OF_BYTES : 89218
_STATISTICS_WRITING_APP: mkvmerge v65.0.0 ('Too Much') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2023-06-05 19:20:26
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:24(ita): Subtitle: hdmv_pgs_subtitle
Metadata:
BPS : 602
DURATION : 00:19:44.558000000
NUMBER_OF_FRAMES: 8
NUMBER_OF_BYTES : 89218
_STATISTICS_WRITING_APP: mkvmerge v65.0.0 ('Too Much') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2023-06-05 19:20:26
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:25(fre): Audio: opus, 48000 Hz, stereo, fltp (default)
Metadata:
title : Surround 5.1
ENCODER : Lavc58.134.100 opus
BPS : 320400
DURATION : 02:02:32.417000000
NUMBER_OF_FRAMES: 367621
NUMBER_OF_BYTES : 294464421
_STATISTICS_WRITING_APP: mkvmerge v65.0.0 ('Too Much') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2023-06-05 19:20:26
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:26(ger): Audio: opus, 48000 Hz, stereo, fltp (default)
Metadata:
title : Surround 5.1
ENCODER : Lavc58.134.100 opus
BPS : 320400
DURATION : 02:02:32.417000000
NUMBER_OF_FRAMES: 367621
NUMBER_OF_BYTES : 294464421
_STATISTICS_WRITING_APP: mkvmerge v65.0.0 ('Too Much') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2023-06-05 19:20:26
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:27(ita): Audio: opus, 48000 Hz, stereo, fltp (default)
Metadata:
title : Surround 5.1
ENCODER : Lavc58.134.100 opus
BPS : 320400
DURATION : 02:02:32.417000000
NUMBER_OF_FRAMES: 367621
NUMBER_OF_BYTES : 294464421
_STATISTICS_WRITING_APP: mkvmerge v65.0.0 ('Too Much') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2023-06-05 19:20:26
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:28(spa): Audio: opus, 48000 Hz, stereo, fltp (default)
Metadata:
title : Surround 5.1
ENCODER : Lavc58.134.100 opus
BPS : 320400
DURATION : 02:02:32.417000000
NUMBER_OF_FRAMES: 367621
NUMBER_OF_BYTES : 294464421
_STATISTICS_WRITING_APP: mkvmerge v65.0.0 ('Too Much') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2023-06-05 19:20:26
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:29(eng): Audio: opus, 48000 Hz, stereo, fltp (default)
Metadata:
title : Surround 5.1
ENCODER : Lavc58.134.100 opus
BPS : 320400
DURATION : 02:02:32.417000000
NUMBER_OF_FRAMES: 367621
NUMBER_OF_BYTES : 294464421
_STATISTICS_WRITING_APP: mkvmerge v65.0.0 ('Too Much') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2023-06-05 19:20:26
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:30(eng): Audio: opus, 48000 Hz, stereo, fltp (default)
Metadata:
title : Surround
ENCODER : Lavc58.134.100 opus
BPS : 320400
DURATION : 02:02:32.389000000
NUMBER_OF_FRAMES: 367620
NUMBER_OF_BYTES : 294463620
_STATISTICS_WRITING_APP: mkvmerge v65.0.0 ('Too Much') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2023-06-05 19:20:26
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
I don't know why this is happening, I only just noticed and tried adding the '--pre-filter', 'channelmap=channel_layout=5.1' arguments, but that did not help, the above is after adding that.
Environment (please complete the following information):
Ubuntu 22.04.1
Python 3.10.6
ffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 the FFmpeg developers
Related: #98
I don't have a test file at hand, but you could try one of those options:
- Explicitly setting
-ac 6
- Using
-mapping_family 1
- Using the audio filter
channelmap=FL-FL|FR-FR|FC-FC|LFE-LFE|SL-BL|SR-BR:5.1
Per this thread.
Also note that your ffmpeg version is a bit outdated. Please follow the README instructions to get a static build: https://github.com/slhck/ffmpeg-normalize#ffmpeg
I just downloaded the static ffmpeg build ffmpeg version 6.0-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2023 the FFmpeg developers
It's a problem with Ubuntu not having the latest versions in their repositories, the 22.04.1 LTS just has that 4.4.2 version, and its the latest LTS version.
I don't exactly know how to use what you mentioned.
- It either runs without error, but the output is stereo.
['ffmpeg-normalize', '-pr', '-f', '-ar', '48000', '-c:a', 'opus', '-b:a', '448000', 'normalized_temp_single/test.mkv.audio-000.mkv', '-o', 'normalized_temp/test.mkv.audio-000.mkv.normalized.mkv', '-e', '-strict -2'] ['ffmpeg-normalize', '-pr', '-f', '-ar', '48000', '-c:a', 'opus', '-b:a', '448000', 'normalized_temp_single/test.mkv.audio-000.mkv', '-o', 'normalized_temp/test.mkv.audio-000.mkv.normalized.mkv', '-e', '-strict -2 -mapping_family 1'] ['ffmpeg-normalize', '--pre-filter', 'channelmap=channel_layout=7.1', '-pr', '-f', '-ar', '48000', '-c:a', 'opus', '-b:a', '448000', 'normalized_temp_single/test.mkv.audio-000.mkv', '-o', 'normalized_temp/test.mkv.audio-000.mkv.normalized.mkv', '-e', '-strict -2'] ['ffmpeg-normalize', '--pre-filter', 'channelmap=channel_layout=7.1', '-pr', '-f', '-ar', '48000', '-c:a', 'opus', '-b:a', '448000', 'normalized_temp_single/test.mkv.audio-000.mkv', '-o', 'normalized_temp/test.mkv.audio-000.mkv.normalized.mkv', '-e', '-strict -2 -mapping_family 1']
- Or I get an error, and I have no output, this happens for the variations where the
f"-ac {num_channels}"
is present['ffmpeg-normalize', '--pre-filter', 'channelmap=channel_layout=7.1', '-pr', '-f', '-ar', '48000', '-c:a', 'opus', '-b:a', '448000', 'normalized_temp_single/test.mkv.audio-000.mkv', '-o', 'normalized_temp/test.mkv.audio-000.mkv.normalized.mkv', '-e', '-strict -2 -mapping_family 1 -ac 8']
File: 0%| | 0/1 [00:00<?, ?it/s] Stream 1/1: 0%| | 0/100 [00:00<?, ?it/s]�[A Stream 1/1: 3%|▎ | 3.4166666666666665/100 [00:00<00:17, 5.63it/s]�[A Stream 1/1: 10%|█ | 10.0/100 [00:01<00:09, 9.64it/s] �[A Stream 1/1: 15%|█▌ | 15.15/100 [00:01<00:08, 9.81it/s]�[A Stream 1/1: 22%|██▏ | 21.766666666666666/100 [00:02<00:07, 11.02it/s]�[A Stream 1/1: 28%|██▊ | 28.349999999999998/100 [00:02<00:06, 11.76it/s]�[A Stream 1/1: 33%|███▎ | 33.46666666666667/100 [00:03<00:05, 11.25it/s] �[A Stream 1/1: 40%|████ | 40.08333333333333/100 [00:03<00:05, 11.87it/s]�[A Stream 1/1: 47%|████▋ | 46.7/100 [00:04<00:04, 12.27it/s] �[A Stream 1/1: 53%|█████▎ | 53.333333333333336/100 [00:04<00:03, 12.52it/s]�[A Stream 1/1: 58%|█████▊ | 58.43333333333334/100 [00:05<00:03, 11.77it/s] �[A Stream 1/1: 65%|██████▌ | 65.05/100 [00:05<00:02, 12.18it/s] �[A Stream 1/1: 70%|███████ | 70.11666666666667/100 [00:06<00:02, 11.56it/s]�[A Stream 1/1: 77%|███████▋ | 76.71666666666667/100 [00:06<00:01, 12.04it/s]�[A Stream 1/1: 82%|████████▏ | 81.81666666666668/100 [00:07<00:01, 11.45it/s]�[A Stream 1/1: 88%|████████▊ | 88.4/100 [00:07<00:00, 11.94it/s] �[A Stream 1/1: 95%|█████████▌| 95.01666666666667/100 [00:08<00:00, 11.37it/s]�[A Stream 1/1: 100%|██████████| 100.0/100 [00:08<00:00, 12.01it/s] Second Pass: 0%| | 0/100 [00:00<?, ?it/s]�[A �[A�[33mWARNING: Input file had loudness range of 11.5. This is larger than the loudness range target (7.0). Normalization will revert to dynamic mode. Choose a higher target loudness range if you want linear normalization. Alternatively, use the --keep-loudness-range-target or --keep-lra-above-loudness-range-target option to keep the target loudness range from the input.�[0m File: 0%| | 0/1 [00:08<?, ?it/s] Second Pass: 0%| | 0/100 [00:00<?, ?it/s]�[A Second Pass: 0%| | 0/100 [00:00<?, ?it/s]�[A �[A�[31mERROR: Error while running command /usr/local/bin/ffmpeg -hide_banner -y -i normalized_temp_single/test.mkv.audio-000.mkv -filter_complex '[0:0]channelmap=channel_layout=7.1,loudnorm=i=-23.0:lra=7.0:tp=-2.0:offset=-1.62:measured_i=-18.74:measured_lra=11.5:measured_tp=-0.14:measured_thresh=-29.36:linear=true:print_format=json[norm0]' -map_metadata 0 -map_metadata:s:a:0 0:s:a:0 -map_chapters 0 -map '[norm0]' -c:a opus -b:a 448000 -ar 48000 -c:s copy -strict -2 -mapping_family 1 -ac 8 /tmp/tmphwg7fhvq/out.mkv! Error: Error running command ['/usr/local/bin/ffmpeg', '-hide_banner', '-y', '-i', 'normalized_temp_single/test.mkv.audio-000.mkv', '-filter_complex', '[0:0]channelmap=channel_layout=7.1,loudnorm=i=-23.0:lra=7.0:tp=-2.0:offset=-1.62:measured_i=-18.74:measured_lra=11.5:measured_tp=-0.14:measured_thresh=-29.36:linear=true:print_format=json[norm0]', '-map_metadata', '0', '-map_metadata:s:a:0', '0:s:a:0', '-map_chapters', '0', '-map', '[norm0]', '-c:a', 'opus', '-b:a', '448000', '-ar', '48000', '-c:s', 'copy', '-strict', '-2', '-mapping_family', '1', '-ac', '8', '/tmp/tmphwg7fhvq/out.mkv']: Input #0, matroska,webm, from 'normalized_temp_single/test.mkv.audio-000.mkv': Metadata: title : James Bond 007 - Spectre SUMMARY : James Bond 007 - Spectre DATE_RELEASED : 2015 ENCODER : Lavf60.3.100 Duration: 00:01:00.00, start: 0.000000, bitrate: 5319 kb/s Chapters: Chapter #0:0: start 0.000000, end 60.000000 Metadata: title : Chapter 1 Stream #0:0(eng): Audio: dts (DTS-HD MA), 48000 Hz, 7.1, s32p (24 bit) Metadata: title : Surround 7.1 DURATION : 00:00:59.999000000 [out#0/matroska @ 0x5a8b480] Codec AVOption mapping_family (Channel Mapping Family) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream. Stream mapping: Stream #0:0 (dca) -> channelmap:default loudnorm:default -> Stream #0:0 (opus) Press [q] to stop, [?] for help [opus @ 0x5a8c580] Specified channel layout '7.1' is not supported [aost#0:0/opus @ 0x5a8c280] Error initializing output stream: Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height [Parsed_loudnorm_1 @ 0x5ac7000] { "input_i" : "-inf", "input_tp" : "-inf", "input_lra" : "0.00", "input_thresh" : "-70.00", "output_i" : "-inf", "output_tp" : "-inf", "output_lra" : "0.00", "output_thresh" : "-70.00", "normalization_type" : "dynamic", "target_offset" : "inf" } Conversion failed!�[0m File: 0%| | 0/1 [00:08<?, ?it/s] Second Pass: 0%| | 0/100 [00:00<?, ?it/s]�[A Second Pass: 0%| | 0/100 [00:00<?, ?it/s] File: 0%| | 0/1 [00:08<?, ?it/s] Traceback (most recent call last): File "/home/niels/.local/bin/ffmpeg-normalize", line 8, in <module> sys.exit(main()) File "/home/niels/.local/lib/python3.10/site-packages/ffmpeg_normalize/__main__.py", line 568, in main ffmpeg_normalize.run_normalization() File "/home/niels/.local/lib/python3.10/site-packages/ffmpeg_normalize/_ffmpeg_normalize.py", line 250, in run_normalization raise e File "/home/niels/.local/lib/python3.10/site-packages/ffmpeg_normalize/_ffmpeg_normalize.py", line 240, in run_normalization media_file.run_normalization() File "/home/niels/.local/lib/python3.10/site-packages/ffmpeg_normalize/_media_file.py", line 191, in run_normalization for progress in self._second_pass(): File "/home/niels/.local/lib/python3.10/site-packages/ffmpeg_normalize/_media_file.py", line 406, in _second_pass raise e File "/home/niels/.local/lib/python3.10/site-packages/ffmpeg_normalize/_media_file.py", line 397, in _second_pass raise e File "/home/niels/.local/lib/python3.10/site-packages/ffmpeg_normalize/_media_file.py", line 393, in _second_pass yield from CommandRunner().run_ffmpeg_command(cmd) File "/home/niels/.local/lib/python3.10/site-packages/ffmpeg_normalize/_cmd_utils.py", line 80, in run_ffmpeg_command yield from ff.run_command_with_progress() File "/home/niels/.local/lib/python3.10/site-packages/ffmpeg_progress_yield/ffmpeg_progress_yield.py", line 191, in run_command_with_progress raise RuntimeError(f"Error running command {self.cmd}: {_pretty_stderr}") RuntimeError: Error running command ['/usr/local/bin/ffmpeg', '-hide_banner', '-y', '-i', 'normalized_temp_single/test.mkv.audio-000.mkv', '-filter_complex', '[0:0]channelmap=channel_layout=7.1,loudnorm=i=-23.0:lra=7.0:tp=-2.0:offset=-1.62:measured_i=-18.74:measured_lra=11.5:measured_tp=-0.14:measured_thresh=-29.36:linear=true:print_format=json[norm0]', '-map_metadata', '0', '-map_metadata:s:a:0', '0:s:a:0', '-map_chapters', '0', '-map', '[norm0]', '-c:a', 'opus', '-b:a', '448000', '-ar', '48000', '-c:s', 'copy', '-strict', '-2', '-mapping_family', '1', '-ac', '8', '/tmp/tmphwg7fhvq/out.mkv']: Input #0, matroska,webm, from 'normalized_temp_single/test.mkv.audio-000.mkv': Metadata: title : James Bond 007 - Spectre SUMMARY : James Bond 007 - Spectre DATE_RELEASED : 2015 ENCODER : Lavf60.3.100 Duration: 00:01:00.00, start: 0.000000, bitrate: 5319 kb/s Chapters: Chapter #0:0: start 0.000000, end 60.000000 Metadata: title : Chapter 1 Stream #0:0(eng): Audio: dts (DTS-HD MA), 48000 Hz, 7.1, s32p (24 bit) Metadata: title : Surround 7.1 DURATION : 00:00:59.999000000 [out#0/matroska @ 0x5a8b480] Codec AVOption mapping_family (Channel Mapping Family) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream. Stream mapping: Stream #0:0 (dca) -> channelmap:default loudnorm:default -> Stream #0:0 (opus) Press [q] to stop, [?] for help [opus @ 0x5a8c580] Specified channel layout '7.1' is not supported [aost#0:0/opus @ 0x5a8c280] Error initializing output stream: Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height [Parsed_loudnorm_1 @ 0x5ac7000] { "input_i" : "-inf", "input_tp" : "-inf", "input_lra" : "0.00", "input_thresh" : "-70.00", "output_i" : "-inf", "output_tp" : "-inf", "output_lra" : "0.00", "output_thresh" : "-70.00", "normalization_type" : "dynamic", "target_offset" : "inf" } Conversion failed!
Let's focus on raw ffmpeg
commands for now. I now see that you are using -c:a opus
and not -c:a libopus
; the former is the builtin ffmpeg encoder which may not have support for all these options.
So I wonder if you can get this simple command to work:
ffmpeg -i input.mkv -c:a libopus -vn output.mkv
Perhaps try -c:a libopus
for ffmpeg-normalize, and maybe that does the job already.
oh ffs.
ffmpeg -i test.mkv -c:a opus -vn -strict -2 opus.mkv
7.1 -> stereo
ffmpeg -i test.mkv -c:a libopus -vn libopus.mkv
7.1 -> 7.1
In retrospect, I should have looked into why the opus one needed the -strict -2
and the libopus does not.
Well, now I can re-do a bunch of media, guess I will develop my script to account for that.
so yes, this is an upstream thing with ffmpeg, and the opus codec, do not use opus for surround sound!
Good to know, thanks for reporting back!
btw. my script does the whole thing with extracting the audio streams into separate files, so I can use multiprocessing and invoke ffmpeg-normalize in parallel, otherwise it only uses a single core to process the streams one by one.
I added more to make it do this with multiple files in parallel and only with a maximum number of jobs, which works great and of course is faster the more cores I give it, and my 3800xt has 8 cores, so 16 threads. I usually give it 11 so I can use it for other things simultaneously, that slows it down far enough, but still allows other things.
Oh, and in case someone else has problems with surround sound variants "5.1(side)" or "7.1(side)" etc. those need the extra -e -ac {num_channels}
argument, so -e "-ac 6"
for 5.1(side). (the arguments to ffmpeg given via -e have to be combined somehow if they contain a space, which is why i added the double quotes around the -ac 6, otherwise it will only pass the -ac, not the 6 which makes no sense to ffmpeg.)
Otherwise, it error out with:
�[A�[31mERROR: Error while running command /usr/local/bin/ffmpeg -hide_banner -y -i normalized_temp_single/test.mkv.audio-000.mkv -filter_complex '[0:0]loudnorm=i=-23.0:lra=7.0:tp=-2.0:offset=-1.64:measured_i=-26.74:measured_lra=14.6:measured_tp=-4.78:measured_thresh=-37.73:linear=true:print_format=json[norm0]' -map_metadata 0 -map_metadata:s:a:0 0:s:a:0 -map_chapters 0 -map '[norm0]' -c:a libopus -b:a 320000 -ar 48000 -c:s copy /tmp/tmpja1bhttl/out.mkv! Error: Error running command ['/usr/local/bin/ffmpeg', '-hide_banner', '-y', '-i', 'normalized_temp_single/test.mkv.audio-000.mkv', '-filter_complex', '[0:0]loudnorm=i=-23.0:lra=7.0:tp=-2.0:offset=-1.64:measured_i=-26.74:measured_lra=14.6:measured_tp=-4.78:measured_thresh=-37.73:linear=true:print_format=json[norm0]', '-map_metadata', '0', '-map_metadata:s:a:0', '0:s:a:0', '-map_chapters', '0', '-map', '[norm0]', '-c:a', 'libopus', '-b:a', '320000', '-ar', '48000', '-c:s', 'copy', '/tmp/tmpja1bhttl/out.mkv']: Input #0, matroska,webm, from 'normalized_temp_single/test.mkv.audio-000.mkv':
Metadata:
title : Blade
SUMMARY : Blade
DATE_RELEASED : 1998
ENCODER : Lavf60.3.100
Duration: 00:01:00.00, start: 0.000000, bitrate: 641 kb/s
Chapters:
Chapter #0:0: start 0.000000, end 60.000000
Metadata:
title : Chapter 15
Stream #0:0(ger): Audio: ac3, 48000 Hz, 5.1(side), fltp, 640 kb/s (default)
Metadata:
title : Surround 5.1
DURATION : 00:01:00.000000000
Stream mapping:
Stream #0:0 (ac3) -> loudnorm:default
loudnorm:default -> Stream #0:0 (libopus)
Press [q] to stop, [?] for help
[libopus @ 0x5d6b980] Invalid channel layout 5.1(side) for specified mapping family -1.
[aost#0:0/libopus @ 0x5d6b280] Error initializing output stream: Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height