Channel_Layout and AMerge

Questions involving a Windows version of FFmpeg.
Post Reply
dvdboy
Posts: 5
Joined: Mon Sep 10, 2018 6:40 am

Channel_Layout and AMerge

Post by dvdboy »

Ok, this is starting to drive me a little insane...

I have a 24 channel mov file, 24 channels are all mono, so 24 tracks. I want to merge these into stereo tracks, so that 24 channels becomes 12 x stereo tracks.

Starting small, command:

Code: Select all

ffmpeg -i "C:\STUFF\TEST_1080P_2398_HDPRORES_24CH.mov" -filter_complex "[0:a:0][0:a:1]amerge=inputs=2[track01];[0:a:2][0:a:3]amerge=inputs=2[track02]" -c:a aac -b:a 96K -ac 2 -map "[track01]" -map "[track02]" ouput_4ch.mp4
Output:

Code: Select all


C:\STUFF\Software\ffmpeg-3.4.2-win64-static\bin>ffmpeg -i "C:\STUFF\TEST_1080P_2398_HDPRORES_24CH.mov" -
filter_complex "[0:a:0][0:a:1]amerge=inputs=2[track01];[0:a:2][0:a:3]amerge=inputs=2[track02]" -c:a aac -b:a 96K -ac 2 -
map "[track01]" -map "[track02]" ouput_4ch.mp4
ffmpeg version 3.4.2 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.3.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enabl
e-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-l
ibtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --en
able-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-l
ibvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libmfx --enable-cuda --enable-cuvid --enabl
e-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth
  libavutil      55. 78.100 / 55. 78.100
  libavcodec     57.107.100 / 57.107.100
  libavformat    57. 83.100 / 57. 83.100
  libavdevice    57. 10.100 / 57. 10.100
  libavfilter     6.107.100 /  6.107.100
  libswscale      4.  8.100 /  4.  8.100
  libswresample   2.  9.100 /  2.  9.100
  libpostproc    54.  7.100 / 54.  7.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\STUFF\TEST_1080P_2398_HDPRORES_24CH.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 0
    compatible_brands: qt
    creation_time   : 2015-04-27T23:01:29.000000Z
    com.apple.quicktime.title: TEST_1080P_2398_HDPRORES_24CH
    com.apple.quicktime.displayname: TEST_1080P_2398_HDPRORES_24CH
    com.apple.quicktime.description: TEST
    com.apple.quicktime.player.movie.audio.gain: 1.000000
    com.apple.quicktime.player.movie.audio.treble: 0.000000
    com.apple.quicktime.player.movie.audio.bass: 0.000000
    com.apple.quicktime.player.movie.audio.balance: 0.000000
    com.apple.quicktime.player.movie.audio.pitchshift: 0.000000
    com.apple.quicktime.player.movie.audio.mute:
    com.apple.quicktime.player.movie.visual.brightness: 0.000000
    com.apple.quicktime.player.movie.visual.color: 1.000000
    com.apple.quicktime.player.movie.visual.tint: 0.000000
    com.apple.quicktime.player.movie.visual.contrast: 1.000000
    com.apple.quicktime.player.version: 7.6.6 (7.6.6)
    com.apple.quicktime.version: 7.7.3 (2890) 0x7738000 (Mac OS X, 10.10.2, 14C109)
    title           : TEST_1080P_2398_HDPRORES_24CH
    title-eng       : TEST_1080P_2398_HDPRORES_24CH
  Duration: 00:01:02.40, start: 0.000000, bitrate: 35268 kb/s
    Stream #0:0(und): Video: prores (apch / 0x68637061), yuv422p10le(bt709, progressive), 1920x1080, 7534 kb/s, SAR 1:1
DAR 16:9, 23.98 fps, 23.98 tbr, 24k tbn, 24k tbc (default)
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
      encoder         : Apple ProRes 422 HQ
      timecode        : 01:00:00:00
    Stream #0:1(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (FL), s32 (24 bit), 1152 kb/s (default)

    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:2(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (FR), s32 (24 bit), 1152 kb/s (default)

    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:3(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, mono, s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:4(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (LFE), s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:5(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (BL), s32 (24 bit), 1152 kb/s (default)

    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:6(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (BR), s32 (24 bit), 1152 kb/s (default)

    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:7(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (DL), s32 (24 bit), 1152 kb/s (default)

    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:8(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (DR), s32 (24 bit), 1152 kb/s (default)

    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:9(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (FL), s32 (24 bit), 1152 kb/s (default)

    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:10(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (FR), s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:11(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, mono, s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:12(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (LFE), s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:13(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (BL), s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:14(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (BR), s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:15(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (DL), s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:16(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (DR), s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:17(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (FL), s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:18(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (FR), s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:19(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, mono, s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:20(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (LFE), s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:21(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (BL), s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:22(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (BR), s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:23(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (DL), s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:24(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (DR), s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:25(und): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
      timecode        : 01:00:00:00
Stream mapping:
  Stream #0:1 (pcm_s24le) -> amerge:in0
  Stream #0:2 (pcm_s24le) -> amerge:in1
  Stream #0:3 (pcm_s24le) -> amerge:in0
  Stream #0:4 (pcm_s24le) -> amerge:in1
  amerge -> Stream #0:0 (aac)
  amerge -> Stream #0:1 (aac)
Press [q] to stop, [?] for help
[Parsed_amerge_0 @ 0000000000590ec0] No channel layout for input 1
[Parsed_amerge_1 @ 0000000000590de0] No channel layout for input 1
Output #0, mp4, to 'ouput_4ch.mp4':
  Metadata:
    major_brand     : qt
    minor_version   : 0
    compatible_brands: qt
    title-eng       : TEST_1080P_2398_HDPRORES_24CH
    com.apple.quicktime.title: TEST_1080P_2398_HDPRORES_24CH
    com.apple.quicktime.displayname: TEST_1080P_2398_HDPRORES_24CH
    com.apple.quicktime.description: TEST
    com.apple.quicktime.player.movie.audio.gain: 1.000000
    com.apple.quicktime.player.movie.audio.treble: 0.000000
    com.apple.quicktime.player.movie.audio.bass: 0.000000
    com.apple.quicktime.player.movie.audio.balance: 0.000000
    com.apple.quicktime.player.movie.audio.pitchshift: 0.000000
    com.apple.quicktime.player.movie.audio.mute:
    com.apple.quicktime.player.movie.visual.brightness: 0.000000
    com.apple.quicktime.player.movie.visual.color: 1.000000
    com.apple.quicktime.player.movie.visual.tint: 0.000000
    com.apple.quicktime.player.movie.visual.contrast: 1.000000
    com.apple.quicktime.player.version: 7.6.6 (7.6.6)
    com.apple.quicktime.version: 7.7.3 (2890) 0x7738000 (Mac OS X, 10.10.2, 14C109)
    title           : TEST_1080P_2398_HDPRORES_24CH
    encoder         : Lavf57.83.100
    Stream #0:0: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 96 kb/s
    Metadata:
      encoder         : Lavc57.107.100 aac
    Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 96 kb/s
    Metadata:
      encoder         : Lavc57.107.100 aac
size=    1440kB time=00:01:02.40 bitrate= 189.0kbits/s speed=16.9x
video:0kB audio:1393kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 3.382048%
[aac @ 00000000029b8480] Qavg: 18769.088
[aac @ 00000000029b1460] Qavg: 22371.266

The bit that concerns me:

Code: Select all

[Parsed_amerge_0 @ 0000000000590ec0] No channel layout for input 1
[Parsed_amerge_1 @ 0000000000590de0] No channel layout for input 1
But the command works. As soon as I 'scale' this to 3 stereo tracks:

Code: Select all


C:\STUFF\Software\ffmpeg-3.4.2-win64-static\bin>ffmpeg -i "C:\STUFF\TEST_1080P_2398_HDPRORES_24CH.mov" -
filter_complex "[0:a:0][0:a:1]amerge=inputs=2[track01];[0:a:2][0:a:3]amerge=inputs=2[track02];[0:a:4][0:a:5]amerge=input
s=2[track03]" -c:a aac -b:a 96K -ac 2 -map "[track01]" -map "[track02]" -map "[track03]" output_6ch.mp4

ffmpeg version 3.4.2 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.3.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enabl
e-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-l
ibtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --en
able-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-l
ibvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libmfx --enable-cuda --enable-cuvid --enabl
e-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth
  libavutil      55. 78.100 / 55. 78.100
  libavcodec     57.107.100 / 57.107.100
  libavformat    57. 83.100 / 57. 83.100
  libavdevice    57. 10.100 / 57. 10.100
  libavfilter     6.107.100 /  6.107.100
  libswscale      4.  8.100 /  4.  8.100
  libswresample   2.  9.100 /  2.  9.100
  libpostproc    54.  7.100 / 54.  7.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\STUFF\TEST_1080P_2398_HDPRORES_24CH.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 0
    compatible_brands: qt
    creation_time   : 2015-04-27T23:01:29.000000Z
    com.apple.quicktime.title: TEST_1080P_2398_HDPRORES_24CH
    com.apple.quicktime.displayname: TEST_1080P_2398_HDPRORES_24CH
    com.apple.quicktime.description: TEST
    com.apple.quicktime.player.movie.audio.gain: 1.000000
    com.apple.quicktime.player.movie.audio.treble: 0.000000
    com.apple.quicktime.player.movie.audio.bass: 0.000000
    com.apple.quicktime.player.movie.audio.balance: 0.000000
    com.apple.quicktime.player.movie.audio.pitchshift: 0.000000
    com.apple.quicktime.player.movie.audio.mute:
    com.apple.quicktime.player.movie.visual.brightness: 0.000000
    com.apple.quicktime.player.movie.visual.color: 1.000000
    com.apple.quicktime.player.movie.visual.tint: 0.000000
    com.apple.quicktime.player.movie.visual.contrast: 1.000000
    com.apple.quicktime.player.version: 7.6.6 (7.6.6)
    com.apple.quicktime.version: 7.7.3 (2890) 0x7738000 (Mac OS X, 10.10.2, 14C109)
    title           : TEST_1080P_2398_HDPRORES_24CH
    title-eng       : TEST_1080P_2398_HDPRORES_24CH
  Duration: 00:01:02.40, start: 0.000000, bitrate: 35268 kb/s
    Stream #0:0(und): Video: prores (apch / 0x68637061), yuv422p10le(bt709, progressive), 1920x1080, 7534 kb/s, SAR 1:1
DAR 16:9, 23.98 fps, 23.98 tbr, 24k tbn, 24k tbc (default)
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
      encoder         : Apple ProRes 422 HQ
      timecode        : 01:00:00:00
    Stream #0:1(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (FL), s32 (24 bit), 1152 kb/s (default)

    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:2(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (FR), s32 (24 bit), 1152 kb/s (default)

    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:3(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, mono, s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:4(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (LFE), s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:5(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (BL), s32 (24 bit), 1152 kb/s (default)

    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:6(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (BR), s32 (24 bit), 1152 kb/s (default)

    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:7(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (DL), s32 (24 bit), 1152 kb/s (default)

    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:8(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (DR), s32 (24 bit), 1152 kb/s (default)

    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:9(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (FL), s32 (24 bit), 1152 kb/s (default)

    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:10(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (FR), s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:11(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, mono, s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:12(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (LFE), s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:13(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (BL), s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:14(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (BR), s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:15(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (DL), s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:16(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (DR), s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:17(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (FL), s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:18(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (FR), s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:19(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, mono, s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:20(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (LFE), s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:21(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (BL), s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:22(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (BR), s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:23(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (DL), s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:24(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (DR), s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:25(und): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
      timecode        : 01:00:00:00
Stream mapping:
  Stream #0:1 (pcm_s24le) -> amerge:in0
  Stream #0:2 (pcm_s24le) -> amerge:in1
  Stream #0:3 (pcm_s24le) -> amerge:in0
  Stream #0:4 (pcm_s24le) -> amerge:in1
  Stream #0:5 (pcm_s24le) -> amerge:in0
  Stream #0:6 (pcm_s24le) -> amerge:in1
  amerge -> Stream #0:0 (aac)
  amerge -> Stream #0:1 (aac)
  amerge -> Stream #0:2 (aac)
Press [q] to stop, [?] for help
[Parsed_amerge_0 @ 00000000009a0120] No channel layout for input 1
[Parsed_amerge_1 @ 00000000009a0200] No channel layout for input 1
[Parsed_amerge_2 @ 00000000009a0060] No channel layout for input 1
[auto_resampler_0 @ 00000000009a0c80] [SWR @ 0000000002fadf40] Input channel layout '2 channels (BL+BR)' is not supporte
d
[auto_resampler_0 @ 00000000009a0c80] Failed to configure output pad on auto_resampler_0
Error reinitializing filters!
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #0:6
Conversion failed!
So the command complains but executes with 4 channels, but fails with 6 channels:

Code: Select all

[Parsed_amerge_0 @ 00000000009a0120] No channel layout for input 1
[Parsed_amerge_1 @ 00000000009a0200] No channel layout for input 1
[Parsed_amerge_2 @ 00000000009a0060] No channel layout for input 1
[auto_resampler_0 @ 00000000009a0c80] [SWR @ 0000000002fadf40] Input channel layout '2 channels (BL+BR)' is not supporte
d
[auto_resampler_0 @ 00000000009a0c80] Failed to configure output pad on auto_resampler_0
Error reinitializing filters!
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #0:6
Conversion failed!
How do I define the layout for input 1?

Thanks

richardpl
Posts: 58
Joined: Sat Aug 01, 2015 6:35 pm

Re: Channel_Layout and AMerge

Post by richardpl »

Use aformat=channel_layouts=stereo after each amerge.

dvdboy
Posts: 5
Joined: Mon Sep 10, 2018 6:40 am

Re: Channel_Layout and AMerge

Post by dvdboy »

richardpl wrote:
Mon Oct 22, 2018 4:24 pm
Use aformat=channel_layouts=stereo after each amerge.
Hi Richard,

How do I add that filter?

Code: Select all

ffmpeg -i "C:\STUFF\TEST_1080P_2398_HDPRORES_24CH.mov" /
-filter_complex "[0:a:0][0:a:1]amerge=inputs=2;aformat=channel_layouts=stereo[track01]" /
-c:a aac -b:a 96K -ac 2 -map "[track01]" /
output_23OCT_0903_2ch.mp4
I still get the 'warning / error'. I've tried:

Code: Select all

-filter_complex "[0:a:0][0:a:1]amerge=inputs=2;aformat=channel_layouts=stereo[track01]" 
-filter_complex "[0:a:0][0:a:1]amerge=inputs=2:aformat=channel_layouts=stereo[track01]" 
-filter_complex "[0:a:0][0:a:1]amerge=inputs=2,aformat=channel_layouts=stereo[track01]" 
Many Thanks

richardpl
Posts: 58
Joined: Sat Aug 01, 2015 6:35 pm

Re: Channel_Layout and AMerge

Post by richardpl »

Use:

Code: Select all

amerge=inputs=2,aformat=channel_layouts=stereo
for each output.
If this still does not work, post FULL UNCUT ffmpeg command AND output.

dvdboy
Posts: 5
Joined: Mon Sep 10, 2018 6:40 am

Re: Channel_Layout and AMerge

Post by dvdboy »

Still errors, here is the output:

Code: Select all


C:\STUFF\Software\ffmpeg-3.4.2-win64-static\bin>ffmpeg -i "C:\STUFF\TEST_1080P_2398_HDPRORES_24CH.mov" -
filter_complex "[0:a:0][0:a:1]amerge=inputs=2,aformat=channel_layouts=stereo[track01];[0:a:2][0:a:3]amerge=inputs=2,afor
mat=channel_layouts=stereo[track02];[0:a:4][0:a:5]amerge=inputs=2,aformat=channel_layouts=stereo[track03]" -c:a aac -b:a
 96K -ac 2 -map "[track01]" -map "[track02]" -map "[track03]" output_24OCT_0840_6ch.mp4
ffmpeg version 3.4.2 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.3.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enabl
e-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-l
ibtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --en
able-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-l
ibvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libmfx --enable-cuda --enable-cuvid --enabl
e-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth
  libavutil      55. 78.100 / 55. 78.100
  libavcodec     57.107.100 / 57.107.100
  libavformat    57. 83.100 / 57. 83.100
  libavdevice    57. 10.100 / 57. 10.100
  libavfilter     6.107.100 /  6.107.100
  libswscale      4.  8.100 /  4.  8.100
  libswresample   2.  9.100 /  2.  9.100
  libpostproc    54.  7.100 / 54.  7.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\STUFF\TEST_1080P_2398_HDPRORES_24CH.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 0
    compatible_brands: qt
    creation_time   : 2015-04-27T23:01:29.000000Z
    com.apple.quicktime.title: TEST_1080P_2398_HDPRORES_24CH
    com.apple.quicktime.displayname: TEST_1080P_2398_HDPRORES_24CH
    com.apple.quicktime.description: TEST
    com.apple.quicktime.player.movie.audio.gain: 1.000000
    com.apple.quicktime.player.movie.audio.treble: 0.000000
    com.apple.quicktime.player.movie.audio.bass: 0.000000
    com.apple.quicktime.player.movie.audio.balance: 0.000000
    com.apple.quicktime.player.movie.audio.pitchshift: 0.000000
    com.apple.quicktime.player.movie.audio.mute:
    com.apple.quicktime.player.movie.visual.brightness: 0.000000
    com.apple.quicktime.player.movie.visual.color: 1.000000
    com.apple.quicktime.player.movie.visual.tint: 0.000000
    com.apple.quicktime.player.movie.visual.contrast: 1.000000
    com.apple.quicktime.player.version: 7.6.6 (7.6.6)
    com.apple.quicktime.version: 7.7.3 (2890) 0x7738000 (Mac OS X, 10.10.2, 14C109)
    title           : TEST_1080P_2398_HDPRORES_24CH
    title-eng       : TEST_1080P_2398_HDPRORES_24CH
  Duration: 00:01:02.40, start: 0.000000, bitrate: 35268 kb/s
    Stream #0:0(und): Video: prores (apch / 0x68637061), yuv422p10le(bt709, progressive), 1920x1080, 7534 kb/s, SAR 1:1
DAR 16:9, 23.98 fps, 23.98 tbr, 24k tbn, 24k tbc (default)
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
      encoder         : Apple ProRes 422 HQ
      timecode        : 01:00:00:00
    Stream #0:1(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (FL), s32 (24 bit), 1152 kb/s (default)

    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:2(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (FR), s32 (24 bit), 1152 kb/s (default)

    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:3(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, mono, s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:4(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (LFE), s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:5(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (BL), s32 (24 bit), 1152 kb/s (default)

    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:6(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (BR), s32 (24 bit), 1152 kb/s (default)

    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:7(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (DL), s32 (24 bit), 1152 kb/s (default)

    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:8(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (DR), s32 (24 bit), 1152 kb/s (default)

    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:9(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (FL), s32 (24 bit), 1152 kb/s (default)

    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:10(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (FR), s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:11(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, mono, s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:12(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (LFE), s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:13(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (BL), s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:14(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (BR), s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:15(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (DL), s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:16(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (DR), s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:17(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (FL), s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:18(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (FR), s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:19(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, mono, s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:20(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (LFE), s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:21(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (BL), s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:22(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (BR), s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:23(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (DL), s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:24(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (DR), s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:25(und): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
      timecode        : 01:00:00:00
File 'output_24OCT_0840_6ch.mp4' already exists. Overwrite ? [y/N] y
Stream mapping:
  Stream #0:1 (pcm_s24le) -> amerge:in0
  Stream #0:2 (pcm_s24le) -> amerge:in1
  Stream #0:3 (pcm_s24le) -> amerge:in0
  Stream #0:4 (pcm_s24le) -> amerge:in1
  Stream #0:5 (pcm_s24le) -> amerge:in0
  Stream #0:6 (pcm_s24le) -> amerge:in1
  aformat -> Stream #0:0 (aac)
  aformat -> Stream #0:1 (aac)
  aformat -> Stream #0:2 (aac)
Press [q] to stop, [?] for help
[Parsed_amerge_0 @ 000000000066c1c0] No channel layout for input 1
[Parsed_amerge_2 @ 000000000066c360] No channel layout for input 1
[Parsed_amerge_4 @ 000000000066c500] No channel layout for input 1
[auto_resampler_2 @ 000000000066cf80] [SWR @ 0000000003133ec0] Input channel layout '2 channels (BL+BR)' is not supporte
d
[auto_resampler_2 @ 000000000066cf80] Failed to configure output pad on auto_resampler_2
Error reinitializing filters!
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #0:6
Conversion failed!

C:\STUFF\Software\ffmpeg-3.4.2-win64-static\bin>
Command:

Code: Select all

ffmpeg -i "C:\STUFF\TEST_1080P_2398_HDPRORES_24CH.mov" -filter_complex "
[0:a:0][0:a:1]amerge=inputs=2,aformat=channel_layouts=stereo[track01];
[0:a:2][0:a:3]amerge=inputs=2,aformat=channel_layouts=stereo[track02];
[0:a:4][0:a:5]amerge=inputs=2,aformat=channel_layouts=stereo[track03]" 
-c:a aac -b:a 96K -ac 2 
-map "[track01]" -map "[track02]" -map "[track03]" 
output_24OCT_0840_6ch.mp4
Error:

Code: Select all

[Parsed_amerge_0 @ 000000000066c1c0] No channel layout for input 1
[Parsed_amerge_2 @ 000000000066c360] No channel layout for input 1
[Parsed_amerge_4 @ 000000000066c500] No channel layout for input 1
[auto_resampler_2 @ 000000000066cf80] [SWR @ 0000000003133ec0] Input channel layout '2 channels (BL+BR)' is not supported
[auto_resampler_2 @ 000000000066cf80] Failed to configure output pad on auto_resampler_2
Error reinitializing filters!
Failed to inject frame into filter network: Invalid argument
Error while processing the decoded data for stream #0:6
Conversion failed!

richardpl
Posts: 58
Joined: Sat Aug 01, 2015 6:35 pm

Re: Channel_Layout and AMerge

Post by richardpl »

Ah, the only way is to use aformat=channel_layouts=mono for every input before amerge:

Code: Select all

[0:a:0]aformat=channel_layouts=mono[a],[0:a:1]aformat=channel_layouts=mono[b],[a][b]amerge[track01]
Repeat similar for rest of tracks.

dvdboy
Posts: 5
Joined: Mon Sep 10, 2018 6:40 am

Re: Channel_Layout and AMerge

Post by dvdboy »

Fantastic! That seems to have worked:

Code: Select all

C:\STUFF\Software\ffmpeg-3.4.2-win64-static\bin>ffmpeg -i "C:\STUFF\TEST_1080P_2398_HDPRORES_24CH.mov" -
filter_complex "[0:a:0]aformat=channel_layouts=mono[ch01],[0:a:1]aformat=channel_layouts=mono[ch02],[ch01][ch02]amerge[t
rack01];[0:a:2]aformat=channel_layouts=mono[ch03],[0:a:3]aformat=channel_layouts=mono[ch04],[ch03][ch04]amerge[track02];
[0:a:4]aformat=channel_layouts=mono[ch05],[0:a:5]aformat=channel_layouts=mono[ch06],[ch05][ch06]amerge[track03]" -c:a aa
c -b:a 96K -ac 2 -map "[track01]" -map "[track02]" -map "[track03]" output_25OCT_1116_6ch.mp4
ffmpeg version 3.4.2 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 7.3.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enabl
e-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-l
ibtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --en
able-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-l
ibvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libmfx --enable-cuda --enable-cuvid --enabl
e-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth
  libavutil      55. 78.100 / 55. 78.100
  libavcodec     57.107.100 / 57.107.100
  libavformat    57. 83.100 / 57. 83.100
  libavdevice    57. 10.100 / 57. 10.100
  libavfilter     6.107.100 /  6.107.100
  libswscale      4.  8.100 /  4.  8.100
  libswresample   2.  9.100 /  2.  9.100
  libpostproc    54.  7.100 / 54.  7.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\STUFF\TEST_1080P_2398_HDPRORES_24CH.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 0
    compatible_brands: qt
    creation_time   : 2015-04-27T23:01:29.000000Z
    com.apple.quicktime.title: TEST_1080P_2398_HDPRORES_24CH
    com.apple.quicktime.displayname: TEST_1080P_2398_HDPRORES_24CH
    com.apple.quicktime.description: TEST
    com.apple.quicktime.player.movie.audio.gain: 1.000000
    com.apple.quicktime.player.movie.audio.treble: 0.000000
    com.apple.quicktime.player.movie.audio.bass: 0.000000
    com.apple.quicktime.player.movie.audio.balance: 0.000000
    com.apple.quicktime.player.movie.audio.pitchshift: 0.000000
    com.apple.quicktime.player.movie.audio.mute:
    com.apple.quicktime.player.movie.visual.brightness: 0.000000
    com.apple.quicktime.player.movie.visual.color: 1.000000
    com.apple.quicktime.player.movie.visual.tint: 0.000000
    com.apple.quicktime.player.movie.visual.contrast: 1.000000
    com.apple.quicktime.player.version: 7.6.6 (7.6.6)
    com.apple.quicktime.version: 7.7.3 (2890) 0x7738000 (Mac OS X, 10.10.2, 14C109)
    title           : TEST_1080P_2398_HDPRORES_24CH
    title-eng       : TEST_1080P_2398_HDPRORES_24CH
  Duration: 00:01:02.40, start: 0.000000, bitrate: 35268 kb/s
    Stream #0:0(und): Video: prores (apch / 0x68637061), yuv422p10le(bt709, progressive), 1920x1080, 7534 kb/s, SAR 1:1
DAR 16:9, 23.98 fps, 23.98 tbr, 24k tbn, 24k tbc (default)

    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
      encoder         : Apple ProRes 422 HQ
      timecode        : 01:00:00:00
    Stream #0:1(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (FL), s32 (24 bit), 1152 kb/s (default)

    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:2(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (FR), s32 (24 bit), 1152 kb/s (default)

    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:3(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, mono, s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:4(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (LFE), s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:5(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (BL), s32 (24 bit), 1152 kb/s (default)

    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:6(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (BR), s32 (24 bit), 1152 kb/s (default)

    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:7(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (DL), s32 (24 bit), 1152 kb/s (default)

    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:8(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (DR), s32 (24 bit), 1152 kb/s (default)

    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:9(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (FL), s32 (24 bit), 1152 kb/s (default)

    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:10(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (FR), s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:11(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, mono, s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:12(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (LFE), s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:13(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (BL), s32 (24 bit), 1152 kb/s (default
)
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:14(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (BR), s32 (24 bit), 1152 kb/s (default
)
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:15(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (DL), s32 (24 bit), 1152 kb/s (default)
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:16(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (DR), s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:17(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (FL), s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:18(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (FR), s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:19(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, mono, s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:20(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (LFE), s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:21(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (BL), s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:22(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (BR), s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:23(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (DL), s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:24(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 1 channels (DR), s32 (24 bit), 1152 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
    Stream #0:25(und): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
    
    Metadata:
      creation_time   : 2015-04-27T23:01:29.000000Z
      handler_name    : Core Media Data Handler
      timecode        : 01:00:00:00
Stream mapping:
  Stream #0:1 (pcm_s24le) -> aformat
  Stream #0:2 (pcm_s24le) -> aformat
  Stream #0:3 (pcm_s24le) -> aformat
  Stream #0:4 (pcm_s24le) -> aformat
  Stream #0:5 (pcm_s24le) -> aformat
  Stream #0:6 (pcm_s24le) -> aformat
  amerge -> Stream #0:0 (aac)
  amerge -> Stream #0:1 (aac)
  amerge -> Stream #0:2 (aac)
Press [q] to stop, [?] for help
[Parsed_amerge_2 @ 000000000057c560] Input channel layouts overlap: output layout will be determined by the number of di
stinct input channels
[Parsed_amerge_5 @ 000000000057c8a0] Input channel layouts overlap: output layout will be determined by the number of di
stinct input channels
[Parsed_amerge_8 @ 000000000057c2e0] Input channel layouts overlap: output layout will be determined by the number of di
stinct input channels
Output #0, mp4, to 'output_25OCT_1116_6ch.mp4':
  Metadata:
    major_brand     : qt
    minor_version   : 0
    compatible_brands: qt
    title-eng       : TEST_1080P_2398_HDPRORES_24CH
    com.apple.quicktime.title: TEST_1080P_2398_HDPRORES_24CH
    com.apple.quicktime.displayname: TEST_1080P_2398_HDPRORES_24CH
    com.apple.quicktime.description: TEST
    com.apple.quicktime.player.movie.audio.gain: 1.000000
    com.apple.quicktime.player.movie.audio.treble: 0.000000
    com.apple.quicktime.player.movie.audio.bass: 0.000000
    com.apple.quicktime.player.movie.audio.balance: 0.000000
    com.apple.quicktime.player.movie.audio.pitchshift: 0.000000
    com.apple.quicktime.player.movie.audio.mute:
    com.apple.quicktime.player.movie.visual.brightness: 0.000000
    com.apple.quicktime.player.movie.visual.color: 1.000000
    com.apple.quicktime.player.movie.visual.tint: 0.000000
    com.apple.quicktime.player.movie.visual.contrast: 1.000000
    com.apple.quicktime.player.version: 7.6.6 (7.6.6)
    com.apple.quicktime.version: 7.7.3 (2890) 0x7738000 (Mac OS X, 10.10.2, 14C109)
    title           : TEST_1080P_2398_HDPRORES_24CH
    encoder         : Lavf57.83.100
    Stream #0:0: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 96 kb/s
    Metadata:
      encoder         : Lavc57.107.100 aac
    Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 96 kb/s
    Metadata:
      encoder         : Lavc57.107.100 aac
    Stream #0:2: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 96 kb/s
    Metadata:
      encoder         : Lavc57.107.100 aac
size=    2169kB time=00:01:02.40 bitrate= 284.8kbits/s speed=11.8x
video:0kB audio:2099kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 3.358721%
[aac @ 0000000002a3f940] Qavg: 18769.088
[aac @ 0000000002e90d40] Qavg: 3772.957
[aac @ 0000000002e91bc0] Qavg: 22274.488
I seem to get this message, which I'm not sure if it's anything to worry about:

Code: Select all

[Parsed_amerge_2 @ 000000000057c560] Input channel layouts overlap: output layout will be determined by the number of distinct input channels
[Parsed_amerge_5 @ 000000000057c8a0] Input channel layouts overlap: output layout will be determined by the number of distinct input channels
[Parsed_amerge_8 @ 000000000057c2e0] Input channel layouts overlap: output layout will be determined by the number of distinct input channels
But it does generate a file without errors.

Many Thanks for your help!

richardpl
Posts: 58
Joined: Sat Aug 01, 2015 6:35 pm

Re: Channel_Layout and AMerge

Post by richardpl »

That message is just informal one, and should not have any impact on output.

Post Reply