[FFmpeg-user] Amerge trouble

Gyan Doshi gyandoshi at gmail.com
Wed Nov 22 07:32:45 EET 2017



On 11/19/2017 6:09 PM, Bouke / VideoToolShed wrote:

>> ffmpeg -i HD422.mxf -i 8ch.wav -c:v copy -c:a pcm_s24le -filter_complex \
>> "[1:a]channelsplit=channel_layout=7.1[a0][a1][a2][a3][a4][a5][a6][a7],\
>> [a1][0:a:1][a0][0:a:0][0:a:2]amerge=inputs=5[a]" \
>> -map 0:v -map "[a]" -timecode 01:00:00:00 testmerge01.mxf \
>> -map "[a2]" -map "[a3]" -map "[a4]" -map "[a5]" -map "[a6]" -map "[a7]" -f
>> null -

> And after that promote it to 24 bits again.
> Is there a way to force the channel split to work in 24 bits?
> (No idea how to squeeze pcm_s24le into the filter_complex part…)

The default audio codec for the null muxer is pcm_s16le, and your audio 
codec option is only set for the first output, so add '-c:a pcm_s24le' 
anywhere after the output mxf filename, and before the pipe character.


Regards,
Gyan


More information about the ffmpeg-user mailing list