[FFmpeg-user] acodec copy and multiple audio streams
Tim Nicholson
nichot20 at yahoo.com
Fri May 4 10:07:02 CEST 2012
On 02/05/12 04:56, Dieter Knopf wrote:
> Hello,
>
> i have a problem converting a mkv file with multiple audio streams
> with the -acodec copy command.
>
> Here is my command:
> fmpeg -i foo -sn -acodec copy -vcodec libx264 -preset slow -tune film
> -profile high -crf 21 -threads 0 -s hd720 foo2
>
> This works perfect, except the second audio stream got lost after this.
> There are two audio streams #0:1 and #0:2, but "Streaming mapping"
> shows only #0:1 -> #0:1 (copy).
>
I refer you to http://ffmpeg.org/ffmpeg.html#Stream-selection
and
http://ffmpeg.org/ffmpeg.html#Advanced-options
I think you will find you need -map 0:a
> Thanks
>
> Dieter
--
Tim
More information about the ffmpeg-user
mailing list