On Sun, Jan 24, 2021 at 11:26 AM Bouke <bo...@editb.nl> wrote: > Trying to remap channels in a 7.1 Wave file, but that gives me a strange > error. > > (I’ve reduced my lines to the most simple to reproduce.) > > When I use the same input file, but do a 5.1 remap it works as expected: > /Applications/ffmpeg -i /Volumes/Data/LC_testfiles/8chan.wav > -filter_complex > "[0:0][0:0][0:0][0:0][0:0][0:0]amerge=inputs=6,pan=5.1|c0=c0|c1=c1|c2=c2|c3=c3|c4=c4|c5=c5|[mix]" > -map "[mix]" -f null - > > BUT, with 7.1 it fails > /Applications/ffmpeg -i /Volumes/Data/LC_testfiles/8chan.wav > -filter_complex > "[0:0][0:0][0:0][0:0][0:0][0:0][0:0][0:0]amerge=inputs=8,pan=7.1|c0=c0|c1=c1|c2=c2|c3=c3|c4=c4|c5=c5|c6=c6|c7=c7|[mix]" > -map "[mix]" -f null - > > Is it me, or is this a bug? > > Bouke > > Output: > ffmpeg version 4.3.1-tessus https://evermeet.cx/ffmpeg/ Copyright (c) > 2000-2020 the FFmpeg developers > built with Apple clang version 11.0.0 (clang-1100.0.33.17) > configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg > --extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl > --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d > --enable-libfreetype --enable-libgsm --enable-libmodplug > --enable-libmp3lame --enable-libmysofa --enable-libopencore-amrnb > --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg > --enable-libopus --enable-librubberband --enable-libshine > --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora > --enable-libtwolame --enable-libvidstab --enable-libvmaf > --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx > --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 > --enable-libxavs --enable-libxvid --enable-libzimg --enable-libzmq > --enable-libzvbi --enable-version3 --pkg-config-flags=--static > --disable-ffplay > libavutil 56. 51.100 / 56. 51.100 > libavcodec 58. 91.100 / 58. 91.100 > libavformat 58. 45.100 / 58. 45.100 > libavdevice 58. 10.100 / 58. 10.100 > libavfilter 7. 85.100 / 7. 85.100 > libswscale 5. 7.100 / 5. 7.100 > libswresample 3. 7.100 / 3. 7.100 > libpostproc 55. 7.100 / 55. 7.100 > Input #0, wav, from '/Volumes/Data/LC_testfiles/8chan.wav': > Metadata: > encoded_by : Pro Tools > originator_reference: aaizN!wd5kQk > date : 2021-01-22 > creation_time : 16:15:18 > time_reference : 0 > umid : > 0x060A2B340101010501010F1013000000A2B90D6FE7648000E87D71677E54073C > Duration: 00:07:51.07, bitrate: 9264 kb/s > Stream #0:0: Audio: pcm_s24le ([1][0][0][0] / 0x0001), 48000 Hz, 7.1, > s32 (24 bit), 9216 kb/s > Stream mapping: > Stream #0:0 (pcm_s24le) -> amerge:in0 > Stream #0:0 (pcm_s24le) -> amerge:in1 > Stream #0:0 (pcm_s24le) -> amerge:in2 > Stream #0:0 (pcm_s24le) -> amerge:in3 > Stream #0:0 (pcm_s24le) -> amerge:in4 > Stream #0:0 (pcm_s24le) -> amerge:in5 > Stream #0:0 (pcm_s24le) -> amerge:in6 > Stream #0:0 (pcm_s24le) -> amerge:in7 > pan -> Stream #0:0 (pcm_s16le) > Press [q] to stop, [?] for help > [Parsed_amerge_0 @ 0x7f8654504240] No channel layout for input 1 > [Parsed_amerge_0 @ 0x7f8654504240] Input channel layouts overlap: output > layout will be determined by the number of distinct input channels > [auto_resampler_0 @ 0x7f8654508300] [SWR @ 0x7f8655811000] Value > 2147483647.000000 for parameter 'ich' out of range [0 - 64] > [auto_resampler_0 @ 0x7f8654508300] [SWR @ 0x7f8655811000] Value > 2147483647.000000 for parameter 'och' out of range [0 - 64] > [auto_resampler_0 @ 0x7f8654508300] [SWR @ 0x7f8655811000] Input channel > count and layout are unset > [auto_resampler_0 @ 0x7f8654508300] Failed to configure output pad on > auto_resampler_0 > Error reinitializing filters! >
I thought you gonna amerge mono channels into 7.1, but you use already 7.1 input. > Failed to inject frame into filter network: Invalid argument > Error while processing the decoded data for stream #0:0 > Conversion failed! > _______________________________________________ > ffmpeg-user mailing list > ffmpeg-user@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe". _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".