Opened 5 years ago

Closed 4 years ago

#3654 closed defect (worksforme)

amerge creating audio with echo or silence

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

Description

I have a source file that has 12 channels of mono audio. There are 4 audio programs contained on those channels. I am creating a QuickTime? proxy that represents the 4 audio programs. I was hoping to do this all in one pass, but due to limitations in ffmpeg, I have to first extract the audio programs as WAV and then call them as sources. The issue is for the first two stereo programs, the audio channels are offset and you hear an echo. The second issue is the 5.1 mix comes out as silence and the last stereo mix comes out as silence as well. I tested this with a pre-compiled version of 2.2.2 and I also downloaded a snapshot which I compiled.

ffmpeg -i PRORES_1080p_2398_12CH_MONO.mov -filter_complex "[0:2][0:3]amerge=inputs=2" -c:a pcm_s24le stereo_1-2.wav
ffmpeg version 2.2.git Copyright (c) 2000-2014 the FFmpeg developers

built on May 19 2014 17:29:44 with Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
configuration:
libavutil 52. 84.100 / 52. 84.100
libavcodec 55. 63.100 / 55. 63.100
libavformat 55. 38.101 / 55. 38.101
libavdevice 55. 13.101 / 55. 13.101
libavfilter 4. 5.100 / 4. 5.100
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100

Guessed Channel Layout for Input Stream #0.2 : mono
Guessed Channel Layout for Input Stream #0.3 : mono
Guessed Channel Layout for Input Stream #0.4 : mono
Guessed Channel Layout for Input Stream #0.5 : mono
Guessed Channel Layout for Input Stream #0.6 : mono
Guessed Channel Layout for Input Stream #0.7 : mono
Guessed Channel Layout for Input Stream #0.8 : mono
Guessed Channel Layout for Input Stream #0.9 : mono
Guessed Channel Layout for Input Stream #0.10 : mono
Guessed Channel Layout for Input Stream #0.11 : mono
Guessed Channel Layout for Input Stream #0.12 : mono
Guessed Channel Layout for Input Stream #0.13 : mono
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'PRORES_1080p_2398_12CH_MONO.mov':

Metadata:

major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2014-02-18 23:22:50
timecode : 01:45:14:18

Duration: 00:02:21.57, start: 0.000000, bitrate: 94977 kb/s

Stream #0:0(eng): Video: prores (apcs / 0x73637061), yuv422p10le, 1920x1080, 80303 kb/s, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 24k tbn, 24k tbc (default)
Metadata:

creation_time : 2014-02-18 23:22:51
handler_name : Apple Alias Data Handler
encoder : Apple ProRes? 422 (LT)

Stream #0:1(eng): Data: none (tmcd / 0x64636D74) (default)
Metadata:

creation_time : 2014-02-18 23:22:51
handler_name : Apple Alias Data Handler
timecode : 01:45:14:18

Stream #0:2(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s (default)
Metadata:

creation_time : 2014-02-18 23:22:51
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-18 23:22:51
handler_name : Apple Alias Data Handler

Stream #0:4(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s (default)
Metadata:

creation_time : 2014-02-18 23:22:51
handler_name : Apple Alias Data Handler

Stream #0:5(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s (default)
Metadata:

creation_time : 2014-02-18 23:22:51
handler_name : Apple Alias Data Handler

Stream #0:6(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s (default)
Metadata:

creation_time : 2014-02-18 23:22:51
handler_name : Apple Alias Data Handler

Stream #0:7(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s (default)
Metadata:

creation_time : 2014-02-18 23:22:51
handler_name : Apple Alias Data Handler

Stream #0:8(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s (default)
Metadata:

creation_time : 2014-02-18 23:22:51
handler_name : Apple Alias Data Handler

Stream #0:9(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s (default)
Metadata:

creation_time : 2014-02-18 23:22:51
handler_name : Apple Alias Data Handler

Stream #0:10(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s (default)
Metadata:

creation_time : 2014-02-18 23:22:51
handler_name : Apple Alias Data Handler

Stream #0:11(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s (default)
Metadata:

creation_time : 2014-02-18 23:22:51
handler_name : Apple Alias Data Handler

Stream #0:12(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s (default)
Metadata:

creation_time : 2014-02-18 23:22:51
handler_name : Apple Alias Data Handler

Stream #0:13(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s (default)
Metadata:

creation_time : 2014-02-18 23:22:51
handler_name : Apple Alias Data Handler

[Parsed_amerge_0 @ 0x7fa44b41d8c0] No channel layout for input 1
[Parsed_amerge_0 @ 0x7fa44b41d8c0] Input channel layouts overlap: output layout will be determined by the number of distinct input channels
Output #0, wav, to 'stereo_1-2.wav':

Metadata:

major_brand : qt
minor_version : 537199360
compatible_brands: qt
ISMP : 01:45:14:18
ISFT : Lavf55.38.101
Stream #0:0: Audio: pcm_s24le ([1][0][0][0] / 0x0001), 48000 Hz, stereo, s32, 2304 kb/s (default)
Metadata:

encoder : Lavc55.63.100 pcm_s24le

Stream mapping:

Stream #0:2 (pcm_s24le) -> amerge:in0
Stream #0:3 (pcm_s24le) -> amerge:in1
amerge -> Stream #0:0 (pcm_s24le)

Press [q] to stop, ? for help
Error while decoding stream #0:2: Cannot allocate memory

Last message repeated 14 times

size= 39728kB time=00:02:21.57 bitrate=2298.8kbits/s
video:0kB audio:39728kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000300%

ffmpeg -i PRORES_1080p_2398_12CH_MONO.mov -filter_complex "[0:4][0:5]amerge=inputs=2" -c:a pcm_s24le stereo_3-4.wav
ffmpeg version 2.2.git Copyright (c) 2000-2014 the FFmpeg developers

built on May 19 2014 17:29:44 with Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
configuration:
libavutil 52. 84.100 / 52. 84.100
libavcodec 55. 63.100 / 55. 63.100
libavformat 55. 38.101 / 55. 38.101
libavdevice 55. 13.101 / 55. 13.101
libavfilter 4. 5.100 / 4. 5.100
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100

Guessed Channel Layout for Input Stream #0.2 : mono
Guessed Channel Layout for Input Stream #0.3 : mono
Guessed Channel Layout for Input Stream #0.4 : mono
Guessed Channel Layout for Input Stream #0.5 : mono
Guessed Channel Layout for Input Stream #0.6 : mono
Guessed Channel Layout for Input Stream #0.7 : mono
Guessed Channel Layout for Input Stream #0.8 : mono
Guessed Channel Layout for Input Stream #0.9 : mono
Guessed Channel Layout for Input Stream #0.10 : mono
Guessed Channel Layout for Input Stream #0.11 : mono
Guessed Channel Layout for Input Stream #0.12 : mono
Guessed Channel Layout for Input Stream #0.13 : mono
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'PRORES_1080p_2398_12CH_MONO.mov':

Metadata:

major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2014-02-18 23:22:50
timecode : 01:45:14:18

Duration: 00:02:21.57, start: 0.000000, bitrate: 94977 kb/s

Stream #0:0(eng): Video: prores (apcs / 0x73637061), yuv422p10le, 1920x1080, 80303 kb/s, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 24k tbn, 24k tbc (default)
Metadata:

creation_time : 2014-02-18 23:22:51
handler_name : Apple Alias Data Handler
encoder : Apple ProRes? 422 (LT)

Stream #0:1(eng): Data: none (tmcd / 0x64636D74) (default)
Metadata:

creation_time : 2014-02-18 23:22:51
handler_name : Apple Alias Data Handler
timecode : 01:45:14:18

Stream #0:2(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s (default)
Metadata:

creation_time : 2014-02-18 23:22:51
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-18 23:22:51
handler_name : Apple Alias Data Handler

Stream #0:4(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s (default)
Metadata:

creation_time : 2014-02-18 23:22:51
handler_name : Apple Alias Data Handler

Stream #0:5(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s (default)
Metadata:

creation_time : 2014-02-18 23:22:51
handler_name : Apple Alias Data Handler

Stream #0:6(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s (default)
Metadata:

creation_time : 2014-02-18 23:22:51
handler_name : Apple Alias Data Handler

Stream #0:7(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s (default)
Metadata:

creation_time : 2014-02-18 23:22:51
handler_name : Apple Alias Data Handler

Stream #0:8(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s (default)
Metadata:

creation_time : 2014-02-18 23:22:51
handler_name : Apple Alias Data Handler

Stream #0:9(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s (default)
Metadata:

creation_time : 2014-02-18 23:22:51
handler_name : Apple Alias Data Handler

Stream #0:10(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s (default)
Metadata:

creation_time : 2014-02-18 23:22:51
handler_name : Apple Alias Data Handler

Stream #0:11(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s (default)
Metadata:

creation_time : 2014-02-18 23:22:51
handler_name : Apple Alias Data Handler

Stream #0:12(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s (default)
Metadata:

creation_time : 2014-02-18 23:22:51
handler_name : Apple Alias Data Handler

Stream #0:13(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s (default)
Metadata:

creation_time : 2014-02-18 23:22:51
handler_name : Apple Alias Data Handler

[Parsed_amerge_0 @ 0x7f805a500000] No channel layout for input 1
[Parsed_amerge_0 @ 0x7f805a500000] Input channel layouts overlap: output layout will be determined by the number of distinct input channels
Output #0, wav, to 'stereo_3-4.wav':

Metadata:

major_brand : qt
minor_version : 537199360
compatible_brands: qt
ISMP : 01:45:14:18
ISFT : Lavf55.38.101
Stream #0:0: Audio: pcm_s24le ([1][0][0][0] / 0x0001), 48000 Hz, stereo, s32, 2304 kb/s (default)
Metadata:

encoder : Lavc55.63.100 pcm_s24le

Stream mapping:

Stream #0:4 (pcm_s24le) -> amerge:in0
Stream #0:5 (pcm_s24le) -> amerge:in1
amerge -> Stream #0:0 (pcm_s24le)

Press [q] to stop, ? for help
Error while decoding stream #0:4: Cannot allocate memory

Last message repeated 14 times

size= 39728kB time=00:02:21.57 bitrate=2298.8kbits/s
video:0kB audio:39728kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000300%

ffmpeg -i PRORES_1080p_2398_12CH_MONO.mov -filter_complex "[0:6][0:7][0:8][0:9][0:10][0:11]amerge=inputs=6" -c:a pcm_s24le surround_5-10.wav
ffmpeg version 2.2.git Copyright (c) 2000-2014 the FFmpeg developers

built on May 19 2014 17:29:44 with Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
configuration:
libavutil 52. 84.100 / 52. 84.100
libavcodec 55. 63.100 / 55. 63.100
libavformat 55. 38.101 / 55. 38.101
libavdevice 55. 13.101 / 55. 13.101
libavfilter 4. 5.100 / 4. 5.100
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100

Guessed Channel Layout for Input Stream #0.2 : mono
Guessed Channel Layout for Input Stream #0.3 : mono
Guessed Channel Layout for Input Stream #0.4 : mono
Guessed Channel Layout for Input Stream #0.5 : mono
Guessed Channel Layout for Input Stream #0.6 : mono
Guessed Channel Layout for Input Stream #0.7 : mono
Guessed Channel Layout for Input Stream #0.8 : mono
Guessed Channel Layout for Input Stream #0.9 : mono
Guessed Channel Layout for Input Stream #0.10 : mono
Guessed Channel Layout for Input Stream #0.11 : mono
Guessed Channel Layout for Input Stream #0.12 : mono
Guessed Channel Layout for Input Stream #0.13 : mono
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'PRORES_1080p_2398_12CH_MONO.mov':

Metadata:

major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2014-02-18 23:22:50
timecode : 01:45:14:18

Duration: 00:02:21.57, start: 0.000000, bitrate: 94977 kb/s

Stream #0:0(eng): Video: prores (apcs / 0x73637061), yuv422p10le, 1920x1080, 80303 kb/s, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 24k tbn, 24k tbc (default)
Metadata:

creation_time : 2014-02-18 23:22:51
handler_name : Apple Alias Data Handler
encoder : Apple ProRes? 422 (LT)

Stream #0:1(eng): Data: none (tmcd / 0x64636D74) (default)
Metadata:

creation_time : 2014-02-18 23:22:51
handler_name : Apple Alias Data Handler
timecode : 01:45:14:18

Stream #0:2(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s (default)
Metadata:

creation_time : 2014-02-18 23:22:51
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-18 23:22:51
handler_name : Apple Alias Data Handler

Stream #0:4(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s (default)
Metadata:

creation_time : 2014-02-18 23:22:51
handler_name : Apple Alias Data Handler

Stream #0:5(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s (default)
Metadata:

creation_time : 2014-02-18 23:22:51
handler_name : Apple Alias Data Handler

Stream #0:6(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s (default)
Metadata:

creation_time : 2014-02-18 23:22:51
handler_name : Apple Alias Data Handler

Stream #0:7(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s (default)
Metadata:

creation_time : 2014-02-18 23:22:51
handler_name : Apple Alias Data Handler

Stream #0:8(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s (default)
Metadata:

creation_time : 2014-02-18 23:22:51
handler_name : Apple Alias Data Handler

Stream #0:9(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s (default)
Metadata:

creation_time : 2014-02-18 23:22:51
handler_name : Apple Alias Data Handler

Stream #0:10(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s (default)
Metadata:

creation_time : 2014-02-18 23:22:51
handler_name : Apple Alias Data Handler

Stream #0:11(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s (default)
Metadata:

creation_time : 2014-02-18 23:22:51
handler_name : Apple Alias Data Handler

Stream #0:12(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s (default)
Metadata:

creation_time : 2014-02-18 23:22:51
handler_name : Apple Alias Data Handler

Stream #0:13(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s (default)
Metadata:

creation_time : 2014-02-18 23:22:51
handler_name : Apple Alias Data Handler

[Parsed_amerge_0 @ 0x7f89dae00000] No channel layout for input 1
[Parsed_amerge_0 @ 0x7f89dae00000] Input channel layouts overlap: output layout will be determined by the number of distinct input channels
Output #0, wav, to 'surround_5-10.wav':

Metadata:

major_brand : qt
minor_version : 537199360
compatible_brands: qt
ISMP : 01:45:14:18
ISFT : Lavf55.38.101
Stream #0:0: Audio: pcm_s24le ([1][0][0][0] / 0x0001), 48000 Hz, 5.1, s32, 6912 kb/s (default)
Metadata:

encoder : Lavc55.63.100 pcm_s24le

Stream mapping:

Stream #0:6 (pcm_s24le) -> amerge:in0
Stream #0:7 (pcm_s24le) -> amerge:in1
Stream #0:8 (pcm_s24le) -> amerge:in2
Stream #0:9 (pcm_s24le) -> amerge:in3
Stream #0:10 (pcm_s24le) -> amerge:in4
Stream #0:11 (pcm_s24le) -> amerge:in5
amerge -> Stream #0:0 (pcm_s24le)

Press [q] to stop, ? for help
Error while decoding stream #0:6: Cannot allocate memory

Last message repeated 14 times

Error while decoding stream #0:7: Cannot allocate memory

Last message repeated 14 times

Error while decoding stream #0:8: Cannot allocate memory

Last message repeated 14 times

Error while decoding stream #0:9: Cannot allocate memory

Last message repeated 14 times

Error while decoding stream #0:10: Cannot allocate memory

Last message repeated 14 times

size= 119185kB time=00:02:21.57 bitrate=6896.5kbits/s
video:0kB audio:119185kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000100%

ffmpeg -i PRORES_1080p_2398_12CH_MONO.mov -filter_complex "[0:12][0:13]amerge=inputs=2" -c:a pcm_s24le stereo_11-12.wav
ffmpeg version 2.2.git Copyright (c) 2000-2014 the FFmpeg developers

built on May 19 2014 17:29:44 with Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
configuration:
libavutil 52. 84.100 / 52. 84.100
libavcodec 55. 63.100 / 55. 63.100
libavformat 55. 38.101 / 55. 38.101
libavdevice 55. 13.101 / 55. 13.101
libavfilter 4. 5.100 / 4. 5.100
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100

Guessed Channel Layout for Input Stream #0.2 : mono
Guessed Channel Layout for Input Stream #0.3 : mono
Guessed Channel Layout for Input Stream #0.4 : mono
Guessed Channel Layout for Input Stream #0.5 : mono
Guessed Channel Layout for Input Stream #0.6 : mono
Guessed Channel Layout for Input Stream #0.7 : mono
Guessed Channel Layout for Input Stream #0.8 : mono
Guessed Channel Layout for Input Stream #0.9 : mono
Guessed Channel Layout for Input Stream #0.10 : mono
Guessed Channel Layout for Input Stream #0.11 : mono
Guessed Channel Layout for Input Stream #0.12 : mono
Guessed Channel Layout for Input Stream #0.13 : mono
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'PRORES_1080p_2398_12CH_MONO.mov':

Metadata:

major_brand : qt
minor_version : 537199360
compatible_brands: qt
creation_time : 2014-02-18 23:22:50
timecode : 01:45:14:18

Duration: 00:02:21.57, start: 0.000000, bitrate: 94977 kb/s

Stream #0:0(eng): Video: prores (apcs / 0x73637061), yuv422p10le, 1920x1080, 80303 kb/s, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 24k tbn, 24k tbc (default)
Metadata:

creation_time : 2014-02-18 23:22:51
handler_name : Apple Alias Data Handler
encoder : Apple ProRes? 422 (LT)

Stream #0:1(eng): Data: none (tmcd / 0x64636D74) (default)
Metadata:

creation_time : 2014-02-18 23:22:51
handler_name : Apple Alias Data Handler
timecode : 01:45:14:18

Stream #0:2(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s (default)
Metadata:

creation_time : 2014-02-18 23:22:51
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-18 23:22:51
handler_name : Apple Alias Data Handler

Stream #0:4(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s (default)
Metadata:

creation_time : 2014-02-18 23:22:51
handler_name : Apple Alias Data Handler

Stream #0:5(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s (default)
Metadata:

creation_time : 2014-02-18 23:22:51
handler_name : Apple Alias Data Handler

Stream #0:6(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s (default)
Metadata:

creation_time : 2014-02-18 23:22:51
handler_name : Apple Alias Data Handler

Stream #0:7(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s (default)
Metadata:

creation_time : 2014-02-18 23:22:51
handler_name : Apple Alias Data Handler

Stream #0:8(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s (default)
Metadata:

creation_time : 2014-02-18 23:22:51
handler_name : Apple Alias Data Handler

Stream #0:9(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s (default)
Metadata:

creation_time : 2014-02-18 23:22:51
handler_name : Apple Alias Data Handler

Stream #0:10(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s (default)
Metadata:

creation_time : 2014-02-18 23:22:51
handler_name : Apple Alias Data Handler

Stream #0:11(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s (default)
Metadata:

creation_time : 2014-02-18 23:22:51
handler_name : Apple Alias Data Handler

Stream #0:12(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s (default)
Metadata:

creation_time : 2014-02-18 23:22:51
handler_name : Apple Alias Data Handler

Stream #0:13(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, mono, s32, 1152 kb/s (default)
Metadata:

creation_time : 2014-02-18 23:22:51
handler_name : Apple Alias Data Handler

[Parsed_amerge_0 @ 0x7ff480f00520] No channel layout for input 1
[Parsed_amerge_0 @ 0x7ff480f00520] Input channel layouts overlap: output layout will be determined by the number of distinct input channels
Output #0, wav, to 'stereo_11-12.wav':

Metadata:

major_brand : qt
minor_version : 537199360
compatible_brands: qt
ISMP : 01:45:14:18
ISFT : Lavf55.38.101
Stream #0:0: Audio: pcm_s24le ([1][0][0][0] / 0x0001), 48000 Hz, stereo, s32, 2304 kb/s (default)
Metadata:

encoder : Lavc55.63.100 pcm_s24le

Stream mapping:

Stream #0:12 (pcm_s24le) -> amerge:in0
Stream #0:13 (pcm_s24le) -> amerge:in1
amerge -> Stream #0:0 (pcm_s24le)

Press [q] to stop, ? for help
Error while decoding stream #0:12: Cannot allocate memory

Last message repeated 14 times

size= 39728kB time=00:02:21.57 bitrate=2298.8kbits/s
video:0kB audio:39728kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000300%

If all the WAV files would extract properly, I then would execute the following to create a proxy from the sources. Wish FFMPEG would just merge all the input channels, and then you could specify which channels to take.

ffmpeg -i PRORES_1080p_2398_12CH_MONO.mov -i stereo_1-2.wav -i stereo_3-4.wav -i surround_5-10.wav -i stereo_11-12.wav -map 0:0 -c:v libx264 -pix_fmt yuv420p -b:v 1024k -bt 91k -bufsize 409.6k -r 23.976 -s 640x360 -aspect 16:9 -trellis 1 -coder ac -subq 7 -me_range 16 -bf 3 -b_strategy 1 -refs 3 -partitions partb8x8+partp4x4+partp8x8+parti8x8 -flags +loop -me_method hex -direct-pred 1 -rc_lookahead 40 -qmin 3 -qmax 51 -qdiff 4 -weightb 1 -8x8dct 1 -fast-pskip 1 -b-pyramid 1 -sc_threshold 40 -sn -threads 24 -y -map 1:0 -c:a aac -cutoff 15000 -ab 128k -ac 2 -strict experimental -async 1 -map 2:0 -c:a aac -cutoff 15000 -ab 128k -ac 2 -strict experimental -async 1 -map 3:0 -c:a aac -cutoff 15000 -ab 384k -ac 2 -strict experimental -async 1 -map 4:0 -c:a aac -cutoff 15000 -ab 128k -ac 2 -strict experimental -async 1 h264_640x360_2398_proxy.mov

Change History (3)

comment:1 Changed 5 years ago by cehoyos

Did you upload the sample?

comment:2 Changed 5 years ago by chrisj

I am uploading a sample now. I was worried about sharing the content I tested with. I created a new test file which I am uploading now. The extraction of the surround channels to WAV no longer results in silence, but the echo of the audio between the channels is present. This file should be easier to help test as it contains a sequence of bars and tone & a countdown sequence with a short tone every second.

3654_PRORES_1080p_2398_12CH_MONO.mov & 3654_PRORES_1080p_2398_12CH_MONO.mov.txt are uploading now and will be in the incoming folder in 20 minutes.

Last edited 5 years ago by chrisj (previous) (diff)

comment:3 Changed 4 years ago by richardpl

  • Component changed from undetermined to avfilter
  • Resolution set to worksforme
  • Status changed from new to closed
  • Version changed from unspecified to git-master

I cannot reproduce this with latest git. Also last command does not work as 13th stream is not audio.

Note: See TracTickets for help on using tickets.