#3510 closed defect (fixed)
Many errors, glitchy audio output with -filter_complex "[0:1][0:2][0:3][0:4][0:5][0:6] amerge=inputs=6"
Reported by: | Ian Kennedy | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | avfilter |
Version: | git-master | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | yes | |
Analyzed by developer: | no |
Description (last modified by )
Many errors, glitchy audio output with -filter_complex "[0:1][0:2][0:3][0:4][0:5][0:6] amerge=inputs=6"
Sample media here:
https://dl.dropboxusercontent.com/u/67080212/AMERGE_REPRO_MEDIA.zip
If I extract the 6 channels into discrete WAV files then read them as inputs and merge it works. It'd be nice to do this in one pass instead of two.
Command Spew:
C:\X264Test>ffmpeg -y -i source.mov -filter_complex "[0:1][0:2][0:3][0:4][0:5][0:6] amerge=inputs=6" -vn foo.wav ffmpeg version N-61914-g657cee1 Copyright (c) 2000-2014 the FFmpeg developers built on Mar 28 2014 22:02:04 with gcc 4.8.2 (GCC) configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-zlib libavutil 52. 69.100 / 52. 69.100 libavcodec 55. 55.104 / 55. 55.104 libavformat 55. 36.100 / 55. 36.100 libavdevice 55. 11.100 / 55. 11.100 libavfilter 4. 3.100 / 4. 3.100 libswscale 2. 5.102 / 2. 5.102 libswresample 0. 18.100 / 0. 18.100 libpostproc 52. 3.100 / 52. 3.100 Guessed Channel Layout for Input Stream #0.7 : stereo Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'source.mov': Metadata: major_brand : qt minor_version : 537199360 compatible_brands: qt creation_time : 2014-02-20 17:18:14 Duration: 00:02:05.04, start: 0.000000, bitrate: 55224 kb/s Stream #0:0(eng): Video: prores (apch / 0x68637061), yuv422p10le, 720x480, 45979 kb/s, SAR 32:27 DAR 16:9, 23.98 fps, 23.98 tbr, 23976 tbn, 23976 tbc (default) Metadata: creation_time : 2014-02-20 17:18:14 handler_name : Apple Alias Data Handler timecode : 00:00:00:00 Stream #0:1(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels (FL), s32, 1152 kb/s (default) Metadata: creation_time : 2014-02-20 17:18:14 handler_name : Apple Alias Data Handler Stream #0:2(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels (FR), s32, 1152 kb/s (default) Metadata: creation_time : 2014-02-20 17:18:14 handler_name : Apple Alias Data Handler Stream #0:3(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s (default) Metadata: creation_time : 2014-02-20 17:18:14 handler_name : Apple Alias Data Handler Stream #0:4(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels (LFE), s32, 1152 kb/s (default) Metadata: creation_time : 2014-02-20 17:18:14 handler_name : Apple Alias Data Handler Stream #0:5(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels (BL), s32, 1152 kb/s (default) Metadata: creation_time : 2014-02-20 17:18:14 handler_name : Apple Alias Data Handler Stream #0:6(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels (BR), s32, 1152 kb/s (default) Metadata: creation_time : 2014-02-20 17:18:14 handler_name : Apple Alias Data Handler Stream #0:7(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, stereo, s32, 2304 kb/s (default) Metadata: creation_time : 2014-02-20 17:18:14 handler_name : Apple Alias Data Handler Stream #0:8(eng): Data: none (tmcd / 0x64636D74) (default) Metadata: creation_time : 2014-02-20 17:19:22 handler_name : Apple Alias Data Handler timecode : 00:00:00:00 [Parsed_amerge_0 @ 0402a8e0] No channel layout for input 1 Output #0, wav, to 'foo.wav': Metadata: major_brand : qt minor_version : 537199360 compatible_brands: qt ISFT : Lavf55.36.100 Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 5.1, s16, 4608 kb/s (default) Stream mapping: Stream #0:1 (pcm_s24le) -> amerge:in0 Stream #0:2 (pcm_s24le) -> amerge:in1 Stream #0:3 (pcm_s24le) -> amerge:in2 Stream #0:4 (pcm_s24le) -> amerge:in3 Stream #0:5 (pcm_s24le) -> amerge:in4 Stream #0:6 (pcm_s24le) -> amerge:in5 amerge -> Stream #0:0 (pcm_s16le) Press [q] to stop, [?] for help Error while decoding stream #0:1: Error number -12 occurred Last message repeated 14 times Error while decoding stream #0:2: Error number -12 occurred Last message repeated 14 times Error while decoding stream #0:3: Error number -12 occurred Last message repeated 14 times ... size= 56640kB time=00:02:04.80 bitrate=3717.7kbits/s video:0kB audio:56640kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000176%
Change History (5)
comment:1 by , 11 years ago
Description: | modified (diff) |
---|---|
Reproduced by developer: | set |
Status: | new → open |
Version: | 2.2 → git-master |
comment:2 by , 11 years ago
comment:3 by , 11 years ago
The build is from Zeranoe, whatever was latest at the time I ran it.
The content comes from a post house...I have no idea how they generated it.
comment:4 by , 11 years ago
Component: | undetermined → avfilter |
---|---|
Resolution: | → fixed |
Status: | open → closed |
Fixed (worked around) by Tobias Rapp in d76f0c03
comment:5 by , 11 years ago
Thanks for taking a look. The workaround is a pain...but I understand...
This sample seems badly interleaved: it starts with 47 audio packets, one second worth, on stream #0 before anything else on any other stream.
Is this kind of interleaving common with this kind of file?
Also, your ffmpeg build is broken, for a completely different reason that I would like to diagnose. Can you explain precisely how you obtained it?