EDIT: using https://ffmpeg.org/ffmpeg-filters.html#amerge
Making it inputs=3 will give a proper 5.1 mix, opened in Audacity and it tested the channels.
I've 3 sets of audio that are stereo but each with specific mappings:
#1) L,R
#2) C,LFE
#3) SL,SR
There isn't an example on the FFMPEG trac site to show how to do this.
https://trac.ffmpeg.org/wiki/AudioChannelManipulation
This is what ffprobe reads:
There's no meta info but the title card reads:Code:Duration: 00:02:37.20, start: 0.000000, bitrate: 159994 kb/s Stream #0:0(und): Video: prores (HQ) (apch / 0x68637061), yuv422p10le(tv, bt709/unknown/unknown, progressive), 1920x1080, 150675 kb/s, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 24k tbn, 24k tbc (default) Metadata: creation_time : 2019-03-14T05:43:13.000000Z handler_name : Core Media Video encoder : Apple ProRes 422 HQ timecode : 00:59:56:01 Stream #0:1(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, stereo, s32 (24 bit), 2304 kb/s (default) Metadata: creation_time : 2019-03-14T05:43:13.000000Z handler_name : Core Media Audio Stream #0:2(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, stereo, s32 (24 bit), 2304 kb/s (default) Metadata: creation_time : 2019-03-14T05:43:13.000000Z handler_name : Core Media Audio Stream #0:3(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, stereo, s32 (24 bit), 2304 kb/s (default) Metadata: creation_time : 2019-03-14T05:43:13.000000Z handler_name : Core Media Audio Stream #0:4(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, stereo, s32 (24 bit), 2304 kb/s (default) Metadata: creation_time : 2019-03-14T05:43:13.000000Z handler_name : Core Media Audio Stream #0:5(und): Data: none (tmcd / 0x64636D74), 0 kb/s (default) Metadata: creation_time : 2019-03-14T05:43:13.000000Z handler_name : Core Media Time Code timecode : 00:59:56:01 Unsupported codec with id 0 for input stream 5
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 2 of 2
Thread
-
Last edited by sparktank; 15th Mar 2019 at 18:26. Reason: solved
-
Use https://trac.ffmpeg.org/wiki/AudioChannelManipulation#a6mono5.1 as reference.
I think it is most convenient to use https://ffmpeg.org/ffmpeg-filters.html#join but also https://ffmpeg.org/ffmpeg-filters.html#channelmap or https://ffmpeg.org/ffmpeg-filters.html#pan-1 can be used to manually align channels.
There is no ready to use example but i think you are searching for syntaxCode:[0:a:0][0:a:1][1:a:0][1:a:1][2:a:0][2:a:1]
Code:[0:a][1:a][2:a][3:a][4:a][5:a]
Similar Threads
-
FFMPEG how to merge 2 stereo .wav audio files into one of 4 channels?
By marcorocchini in forum Newbie / General discussionsReplies: 4Last Post: 24th Jun 2018, 07:25 -
FFMPEG: Guessed channel mono instead of stereo
By batko in forum Newbie / General discussionsReplies: 5Last Post: 21st Feb 2017, 16:43 -
Avisynth with 2 sets of ColorYUV settings
By pooksahib in forum Video ConversionReplies: 7Last Post: 22nd Aug 2016, 09:53 -
ffmpeg: if inputfiles is mono or stereo ---> always save .wav in stereo
By marcorocchini in forum Newbie / General discussionsReplies: 2Last Post: 1st Nov 2014, 09:42 -
What is the difference between Stereo, 2 Channels and Dual Stereo?
By LeoKac in forum AudioReplies: 4Last Post: 22nd Sep 2014, 17:05