[FFmpeg-user] Number of stream maps must match number of output streams - having trouble with the syntax

James Darnley james.darnley at gmail.com
Fri Jul 20 12:00:27 CEST 2012


On 2012-07-20 11:16, Matt Goble wrote:
> ffmpeg
> 
> -i "T:\INPUT.mov"
> -itsoffset 0.48 -i "T:\INPUT.mov"
> -map 1:0
> -map 0:1
> -map 0:2
> -map 0:3
> -map 0:4
> -map 0:5
> -vcodec copy
> -acodec copy
> "T:\OUTPUT.mov" -vcodec copy -newvideo -newaudio

> Number of stream maps must match number of output streams

What is ambiguous about this?  You have 6 maps but only 4 streams:
1 default video stream
1 default audio stream
1 newvideo stream
1 newaudio stream

You need at two more -new* options.

> FFmpeg version SVN-r25512, Copyright (c) 2000-2010 the FFmpeg developers

This is two years old, you might want to try updating if you don't like
the way to add more streams in this version.


More information about the ffmpeg-user mailing list