[FFmpeg-user] Extracting multiple audio stream into one file

loeffler at eyetrap.net loeffler at eyetrap.net
Wed May 6 23:14:20 CEST 2015


Updating the version is not that easy because I am working in a large  
render farm environment - but I will bring up this topic to the admins.

I tried your suggestion but I am getting an error: "Data stream  
encoding not supported yet (only streamcopy)"

ffmpeg  -i '/storage/orig_qt/SUB_01_INGEST.mov' -map 0 -acodec: copy  
-vn '/storage/orig_qt/SUB_01_INGEST.wav'

ffmpeg version 1.1.4 Copyright (c) 2000-2013 the FFmpeg developers
   built on Mar 26 2013 16:57:26 with gcc 4.4.7 (GCC) 20120313 (Red  
Hat 4.4.7-3)
   configuration: --enable-gpl --enable-nonfree --enable-libfdk_aac  
--enable-libmp3lame --enable-libtheora --enable-libvorbis  
--enable-libvpx --enable-libx264 --prefix=/usr
   libavutil      52. 13.100 / 52. 13.100
   libavcodec     54. 86.100 / 54. 86.100
   libavformat    54. 59.106 / 54. 59.106
   libavdevice    54.  3.102 / 54.  3.102
   libavfilter     3. 32.100 /  3. 32.100
   libswscale      2.  1.103 /  2.  1.103
   libswresample   0. 17.102 /  0. 17.102
   libpostproc    52.  2.100 / 52.  2.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x37c87e0] Stream #0: not enough frames to  
estimate rate; consider increasing probesize
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x37c87e0] Stream #1: not enough frames to  
estimate rate; consider increasing probesize
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x37c87e0] Stream #2: not enough frames to  
estimate rate; consider increasing probesize
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x37c87e0] Stream #5: not enough frames to  
estimate rate; consider increasing probesize
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x37c87e0] Stream #6: not enough frames to  
estimate rate; consider increasing probesize
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x37c87e0] Stream #7: not enough frames to  
estimate rate; consider increasing probesize
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/orig_qt/SUB_01_INGEST.mov':
   Metadata:
     creation_time   : 2014-04-02 21:43:58
     timecode        : 09:59:46;14
   Duration: 00:31:55.62, start: 0.098771, bitrate: 56741 kb/s
     Stream #0:0(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz,  
stereo, s32, 2304 kb/s
     Metadata:
       creation_time   : 2014-04-02 22:15:55
       handler_name    : Apple Alias Data Handler
     Stream #0:1(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz,  
stereo, s32, 2304 kb/s
     Metadata:
       creation_time   : 2014-04-02 22:15:55
       handler_name    : Apple Alias Data Handler
     Stream #0:2(eng): Data: none (tmcd / 0x64636D74)
     Metadata:
       creation_time   : 2014-04-02 22:15:55
       handler_name    : Apple Alias Data Handler
       timecode        : 09:59:46;14
     Stream #0:3(eng): Video: prores (apch / 0x68637061), yuv422p10le,  
720x486, 52112 kb/s, 29.97 fps, 29.97 tbr, 2997 tbn, 2997 tbc
     Metadata:
       creation_time   : 2014-04-08 23:32:05
       handler_name    : Apple Alias Data Handler
       timecode        : 09:59:46;14
     Stream #0:4(eng): Video: prores (apch / 0x68637061), yuv422p10le,  
720x486, 52112 kb/s, 29.97 fps, 29.97 tbr, 2997 tbn, 2997 tbc
     Metadata:
       creation_time   : 2014-04-02 22:15:54
       handler_name    : Apple Alias Data Handler
       timecode        : 09:59:46;14
     Stream #0:5(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz,  
stereo, s32, 2304 kb/s
     Metadata:
       creation_time   : 2014-04-02 22:15:55
       handler_name    : Apple Alias Data Handler
     Stream #0:6(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz,  
stereo, s32, 2304 kb/s
     Metadata:
       creation_time   : 2014-04-02 22:15:55
       handler_name    : Apple Alias Data Handler
     Stream #0:7(eng): Data: none (tmcd / 0x64636D74)
     Metadata:
       creation_time   : 2014-04-02 22:15:55
       handler_name    : Apple Alias Data Handler
       timecode        : 09:59:46;14
Data stream encoding not supported yet (only streamcopy)

Quoting Moritz Barsnick <barsnick at gmx.net>:

> Hi,
>
>> I am trying to extract multiple audio stream into one file but I am  
>> getting only the first track. Is that even possible?
>
> Yes, it is so. ffmpeg defaults to processing only the first of each  
> type of input stream. You must either specify the ones you desire  
> explicitly, or use "-map 0" to process all streams from input 0.  
> (Plus "-vn" to ignore video, in your case).
>
> Cheers,
> 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