[FFmpeg-user] amerge channel layout

Alex doenerbudenchef at yahoo.de
Wed Jun 22 10:51:07 CEST 2016


Hi all,

I have some issues with amerge channel layouts. Source file is a MXF with 2
mono stream. Output should be one stereo stream (L/R).

Source File:

Input #0, mxf, from 'file.mxf': 
  Duration: 00:04:25.96, start: 0.000000, bitrate: 51792 kb/s
    Stream #0:0: Video: mpeg2video (4:2:2), yuv422p(tv,
unknown/bt709/bt709), 1920x1080 [SAR 1:1 DAR 16:9], 50000 kb/s, 25 fps, 25
tbr, 25 tbn
    Stream #0:1: Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s
    Stream #0:2: Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s

I tried the following:

ffmpeg -y -i file.mxf -filter:v yadif -b:v 8000k -minrate 8000k -maxrate
8000k -bufsize 4000k -vcodec libx264 -bf 2 -flags +cgop -pix_fmt yuv420p -f
mp4 -filter_complex "[0:1][0:2]amerge=inputs=2,volume=14.4dB [aout]" -map
[aout] -c:a libfdk_aac -b:a 384k -ac 2 -ar 48000 -cutoff 20k -movflags
faststart -ss 00:00:00 file.mp4

But:

Guessed Channel Layout for  Input Stream #0.1 : mono
Guessed Channel Layout for  Input Stream #0.2 : mono

----
[Parsed_amerge_0 @ 0x2eae4d0] No channel layout for input 1
[Parsed_amerge_0 @ 0x2eae4d0] Input channel layouts overlap: output layout
will be determined by the number of distinct input channels
----

So it isn't really a problem because the output audio stream is correct
(stereo) "output layout will be determined by the number of distinct input
channels". But how can I set a correct channel layout to avoid these
warnings.

Thanks,
Alex





--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/amerge-channel-layout-tp4676437.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.


More information about the ffmpeg-user mailing list