[FFmpeg-user] Combining .webm side by side - frame size changes

Mike Grommet mgrommet at techfriends.com
Tue Nov 24 17:26:56 CET 2015

Sorry, please allow me to clarify:

The command I ran was:

./ffmpeg -i x.webm -i y.webm -filter_complex 
-map [out] -map 0:a -map 1:a c.webm

I was hoping to combine the audio from both the source files into the 
final target.  I am only getting one side, specifically the left 
(x.webm) side.

I've since been experimenting with the command above to add amerge. Here 
is the command I've come up with - it seems to work, but since I'm new 
to ffmpeg, I'd appreciate any guiding comments if I'm doing something 
fundamentally wrong:

./ffmpeg -i x.webm -i y.webm -filter_complex 
-map [out] -map "[a]" c.webm

On 11/24/2015 9:50 AM, Moritz Barsnick wrote:
> On Tue, Nov 24, 2015 at 09:26:01 -0600, Mike Grommet wrote:
>> Hm, so far, initial tests using hstack do combine the videos - but I'm
>> losing the audio for one of the streams in the final video.
> What were you doing and what were you expecting? In other words,
> command line and complete, uncut console output missing. ;-)
> (Does "losing audio" means it drops silent along the way, or it's never
> there? More details please.)
> But it's correct that you are trying to map the two audio inputs to
> separate output streams (not channels of the same stream), is it?
> Moritz
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user

More information about the ffmpeg-user mailing list