[FFmpeg-user] Converting Every Audio-Stream and copy all other Streams

Christian Maaß christian at maass.it
Fri Jul 19 08:20:14 CEST 2013


Sorry, here is the complete console output:





# ffmpeg -i Video1.mkv -map 0 -vcodec copy -acodec ac3 -acodec ac3 -async 1000 -ab 640000 -scodec copy -y Video2.mkv

ffmpeg version 0.8.10, Copyright (c) 2000-2011 the FFmpeg developers

  built on Apr 26 2013 00:49:23 with gcc 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)

  configuration: --prefix=/opt/cross-project/x86/sys-root/usr --disable-static --enable-shared --disable-yasm --enable-gpl --disable-encoder=snow --disable-decoder=snow

  libavutil    51.  9. 1 / 51.  9. 1

  libavcodec   53.  8. 0 / 53.  8. 0

  libavformat  53.  5. 0 / 53.  5. 0

  libavdevice  53.  1. 1 / 53.  1. 1

  libavfilter   2. 23. 0 /  2. 23. 0

  libswscale    2.  0. 0 /  2.  0. 0

  libpostproc  51.  2. 0 / 51.  2. 0

[matroska,webm @ 0x8068340] max_analyze_duration 5000000 reached at 5002000

[matroska,webm @ 0x8068340] Estimating duration from bitrate, this may be inaccurate

Input #0, matroska,webm, from 'Video1.mkv':

  Duration: 01:33:42.04, start: 0.000000, bitrate: 3072 kb/s

    Stream #0.0(eng): Video: h264 (High), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)

    Stream #0.1(ger): Audio: dca (DTS), 48000 Hz, 5.1, s16, 1536 kb/s (default)

    Stream #0.2(eng): Audio: dca (DTS), 48000 Hz, 5.1, s16, 1536 kb/s

    Stream #0.3(ger): Subtitle: [0][0][0][0] / 0x0000 (default) (forced)

Number of stream maps must match number of output streams



It is the version which was perinstalled on my QNAP-NAS.



Kind regards

Christian Maaß



-----Ursprüngliche Nachricht-----
Von: ffmpeg-user-bounces at ffmpeg.org [mailto:ffmpeg-user-bounces at ffmpeg.org] Im Auftrag von Nicolas George
Gesendet: Freitag, 19. Juli 2013 00:23
An: FFmpeg user questions
Betreff: Re: [FFmpeg-user] Converting Every Audio-Stream and copy all other Streams



Le decadi 30 messidor, an CCXXI, Christian Maaß a écrit :

> But when I try it I get the the following message:

>

> Input #0, matroska,webm, from 'Video1.mkv':

>   Duration: 01:33:42.04, start: 0.000000, bitrate: 3072 kb/s

>     Stream #0.0(eng): Video: h264 (High), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)

>     Stream #0.1(ger): Audio: dca (DTS), 48000 Hz, 5.1, s16, 1536 kb/s (default)

>     Stream #0.2(eng): Audio: dca (DTS), 48000 Hz, 5.1, s16, 1536 kb/s

>     Stream #0.3(ger): Subtitle: [0][0][0][0] / 0x0000 (default)

> (forced) Number of stream maps must match number of output streams



You trimmed your console output. You should not have done so. I suspect it would have shown the version you are using is very old, because the error message you quote was removed two years ago. The options you are trying to use are recent.



Please post the complete output to confirm this hypothesis.



Regards,



--

  Nicolas George


More information about the ffmpeg-user mailing list