Sorry, please allow me to clarify:

The command I ran was:

./ffmpeg -i x.webm -i y.webm -filter_complex "[0:v]scale=640:480[left];[1:v]scale=640:480[right];[left][right]hstack[out]" -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 "[0:v]scale=640:480[left];[1:v]scale=640:480[right];[0:a][1:a]amerge=inputs=2[a];[left][right]hstack[out]" -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
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

Reply via email to