[FFmpeg-user] Offlist, Is mixing of audio channels happening by default in ffmpeg?

Nathan Lewis nlewis at crawford.com
Thu Aug 1 15:53:02 CEST 2013


On Wed, Jul 31, 2013 at 6:12 PM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:

> No, please test:
> avio_wb24(pb, 0xF);
>
> Thank you, Carl Eugen


That does not  have any effect on the output file.  In QT Player, Sound
Track 1 is the only one enabled.   I used this command:

 ./ffmpeg -i A.mov -c:v copy -c:a copy -map 0:1 -map 0:2 -map 0:3 -map 0:4
-map 0:5 -ss 120 -t 60 -r 30000/1001 B.mov


ffmpeg version N-55126-g69fe25c Copyright (c) 2000-2013 the FFmpeg
developers
  built on Aug  1 2013 09:35:41 with llvm-gcc 4.2.1 (LLVM build 2336.1.00)
  configuration: --enable-libopenjpeg --enable-nonfree --enable-gpl
--enable-libfaac --enable-libmp3lame --enable-libvpx --enable-pthreads
--enable-libx264 --enable-version3
  libavutil      52. 40.100 / 52. 40.100
  libavcodec     55. 19.100 / 55. 19.100
  libavformat    55. 12.102 / 55. 12.102
  libavdevice    55.  3.100 / 55.  3.100
  libavfilter     3. 82.100 /  3. 82.100
  libswscale      2.  4.100 /  2.  4.100
  libswresample   0. 17.103 /  0. 17.103
  libpostproc    52.  3.100 / 52.  3.100
Guessed Channel Layout for  Input Stream #0.2 : mono
Guessed Channel Layout for  Input Stream #0.3 : mono
Guessed Channel Layout for  Input Stream #0.4 : mono
Guessed Channel Layout for  Input Stream #0.5 : mono
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'A.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 537134592
    compatible_brands: qt
    creation_time   : 2012-10-18 09:59:25
  Duration: 00:25:20.72, start: 0.000000, bitrate: 45253 kb/s
    Stream #0:0(eng): Data: none (tmcd / 0x64636D74)
    Metadata:
      timecode        : 01:25:05;00
    Stream #0:1(eng): Video: prores (apcn / 0x6E637061), yuv422p10le,
720x486, 42159 kb/s, SAR 8:9 DAR 320:243, 29.97 fps, 29.97 tbr, 30k tbn,
30k tbc
    Metadata:
      timecode        : 01:25:05;00
    Stream #0:2(eng): Audio: pcm_s16be (twos / 0x736F7774), 48000 Hz, mono,
s16, 768 kb/s
    Metadata:
      timecode        : 01:25:05;00
    Stream #0:3(eng): Audio: pcm_s16be (twos / 0x736F7774), 48000 Hz, mono,
s16, 768 kb/s
    Metadata:
      timecode        : 01:25:05;00
    Stream #0:4(eng): Audio: pcm_s16be (twos / 0x736F7774), 48000 Hz, mono,
s16, 768 kb/s
    Metadata:
      timecode        : 01:25:05;00
    Stream #0:5(eng): Audio: pcm_s16be (twos / 0x736F7774), 48000 Hz, mono,
s16, 768 kb/s
    Metadata:
      timecode        : 01:25:05;00
    Stream #0:6(eng): Subtitle: eia_608 (c608 / 0x38303663)
File 'B.mov' already exists. Overwrite ? [y/N] y
Output #0, mov, to 'B.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 537134592
    compatible_brands: qt
    encoder         : Lavf55.12.102
    Stream #0:0(eng): Video: prores (apcn / 0x6E637061), yuv422p10le,
720x486 [SAR 8:9 DAR 320:243], q=2-31, 42159 kb/s, 29.97 fps, 30k tbn,
29.97 tbc
    Metadata:
      timecode        : 01:25:05;00
    Stream #0:1(eng): Audio: pcm_s16be (twos / 0x736F7774), 48000 Hz, mono,
768 kb/s
    Metadata:
      timecode        : 01:25:05;00
    Stream #0:2(eng): Audio: pcm_s16be (twos / 0x736F7774), 48000 Hz, mono,
768 kb/s
    Metadata:
      timecode        : 01:25:05;00
    Stream #0:3(eng): Audio: pcm_s16be (twos / 0x736F7774), 48000 Hz, mono,
768 kb/s
    Metadata:
      timecode        : 01:25:05;00
    Stream #0:4(eng): Audio: pcm_s16be (twos / 0x736F7774), 48000 Hz, mono,
768 kb/s
    Metadata:
      timecode        : 01:25:05;00
Stream mapping:
  Stream #0:1 -> #0:0 (copy)
  Stream #0:2 -> #0:1 (copy)
  Stream #0:3 -> #0:2 (copy)
  Stream #0:4 -> #0:3 (copy)
  Stream #0:5 -> #0:4 (copy)
Press [q] to stop, [?] for help
    Last message repeated 23 times     0kB time=00:00:00.00 bitrate=N/A
frame= 1798 fps= 44 q=-1.0 Lsize=  334449kB time=00:01:00.01
bitrate=45653.5kbits/s
video:311882kB audio:22498kB subtitle:0 global headers:0kB muxing overhead
0.020677%


More information about the ffmpeg-user mailing list