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

Sam Marrocco smarrocco at ringsidecreative.com
Thu Jul 18 16:01:49 CEST 2013


On 7/18/2013 9:47 AM, Carl Eugen Hoyos wrote:


Sorry I am not a native speaker and probably did not
explain well.

In the past, when a mov file was written with more than
one audio stream, all audio streams were marked as
"default" streams, meaning if you prepared a mov file
for an iDevice containing a movie with several language
tracks, all tracks were played simultaneously on playback.
(Making the feature of muxing several audio tracks into
mov useless to some degree.)

A change was committed that marked the first of several
audio tracks as "default" and all other tracks as "non-
default" (or as I badly named it: "silent").
This allows to select the language you like at playback
and at the same time default playing (without selecting
a language) works fine.

There is apparently a usecase (that I still don't
understand completely) where you want all audio tracks to
be marked as "default" (or non-silent).
I am searching for a volunteer to help me testing this
use-case.

Note that even for the mentioned use-case that currently
does not work out-of-the-box, it is still possible to
activate the silent tracks in your application (iiuc).





Thank you for the explanation. I believe I now understand the issues better.
So using -map 0 should "activate" the other tracks and "pass them through". The resulting output is:


ffmpeg-20130507-git-399f6ef-win64-static\bin\ffmpeg.exe" -i "C:\Users\root\Desktop\MultiChannel.mov" -vcodec prores_ks -pix_fmt yuv444p10le -profile:v 3 -acodec copy -t 1 -map 0 -f mov "D:\\MultiChannel\MultiChannel.mov"
ffmpeg version N-52837-g399f6ef Copyright (c) 2000-2013 the FFmpeg developers
  built on May  7 2013 01:14:14 with gcc 4.7.3 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      52. 29.100 / 52. 29.100
  libavcodec     55.  7.100 / 55.  7.100
  libavformat    55.  4.101 / 55.  4.101
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 63.101 /  3. 63.101
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000003ce7e0] Stream #1: not enough frames to estimate rate; consider increasing probesize
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000003ce7e0] Stream #2: not enough frames to estimate rate; consider increasing probesize
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000003ce7e0] Stream #3: not enough frames to estimate rate; consider increasing probesize
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000003ce7e0] Stream #4: not enough frames to estimate rate; consider increasing probesize
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000003ce7e0] Stream #5: not enough frames to estimate rate; consider increasing probesize
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000003ce7e0] Stream #6: not enough frames to estimate rate; consider increasing probesize
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000003ce7e0] Stream #7: not enough frames to estimate rate; consider increasing probesize
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000003ce7e0] Stream #8: not enough frames to estimate rate; consider increasing probesize
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000003ce7e0] Stream #9: not enough frames to estimate rate; consider increasing probesize
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Users\root\Desktop\MultiChannel.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    creation_time   : 2013-07-17 21:37:47
  Duration: 00:00:45.05, start: 0.000000, bitrate: 1199347 kb/s
    Stream #0:0(eng): Video: rawvideo (raw  / 0x20776172), rgb24, 1920x1080, 1193199 kb/s, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 239760 tbn, 239760 tbc
    Metadata:
      creation_time   : 2013-07-17 21:37:47
      handler_name    : Apple Alias Data Handler
      timecode        : 00:59:45:00
    Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, mono, s16, 768 kb/s
    Metadata:
      creation_time   : 2013-07-17 21:40:27
      handler_name    : Apple Alias Data Handler
    Stream #0:2(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, mono, s16, 768 kb/s
    Metadata:
      creation_time   : 2013-07-17 21:40:28
      handler_name    : Apple Alias Data Handler
    Stream #0:3(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, mono, s16, 768 kb/s
    Metadata:
      creation_time   : 2013-07-17 21:40:28
      handler_name    : Apple Alias Data Handler
    Stream #0:4(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, mono, s16, 768 kb/s
    Metadata:
      creation_time   : 2013-07-17 21:40:29
      handler_name    : Apple Alias Data Handler
    Stream #0:5(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, mono, s16, 768 kb/s
    Metadata:
      creation_time   : 2013-07-17 21:40:30
      handler_name    : Apple Alias Data Handler
    Stream #0:6(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, mono, s16, 768 kb/s
    Metadata:
      creation_time   : 2013-07-17 21:40:30
      handler_name    : Apple Alias Data Handler
    Stream #0:7(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, mono, s16, 768 kb/s
    Metadata:
      creation_time   : 2013-07-17 21:40:31
      handler_name    : Apple Alias Data Handler
    Stream #0:8(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, mono, s16, 768 kb/s
    Metadata:
      creation_time   : 2013-07-17 21:40:31
      handler_name    : Apple Alias Data Handler
    Stream #0:9(eng): Data: none (tmcd / 0x64636D74)
    Metadata:
      creation_time   : 2013-07-17 21:40:32
      handler_name    : Apple Alias Data Handler
      timecode        : 00:59:45:00
Data stream encoding not supported yet (only streamcopy)


No file is created--It looks as though the ninth track (apple timecode) is preventing completion using -map 0.



sam marrocco | chief technical officer
ringside.cutters.picnic.moonlink

248 548 2500 w
248 910 3344 c

ringsidecreative.com

<http://ringsidecreative.com/>


More information about the ffmpeg-user mailing list