Custom Ffmpeg on h264
Posted: Thu Oct 28, 2021 2:20 pm
Hello,
I'm trying to use a custom ffmpeg in the h264 encoder but impossible to find the right way.
I tried to add -map 0 -map 1 -map 2 to mix 2 mono channels on 1 stereo channel but it dont'work.
I also tried : input -filter_complex '[0:1][0:2]join=inputs=2:channel_layout=stereo[audio];
and i got : Encoding: Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height.
Can you help me? Thank you!
Sebastien
I'm trying to use a custom ffmpeg in the h264 encoder but impossible to find the right way.
I tried to add -map 0 -map 1 -map 2 to mix 2 mono channels on 1 stereo channel but it dont'work.
I also tried : input -filter_complex '[0:1][0:2]join=inputs=2:channel_layout=stereo[audio];
and i got : Encoding: Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height.
Can you help me? Thank you!
Sebastien