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

Sam Marrocco smarrocco at ringsidecreative.com
Thu Jul 18 16:43:37 CEST 2013

It appears that the existence of a Timecode (data) track in the source
file causes -map 0 to fail with the error

"Data stream encoding not supported yet (only streamcopy)"

The Timecode track seems to be brought across by default when not using
the -map 0 option.
If ALL tracks are specified with -map 0, the encode fails because the
timecode track is a datatrack.
If -map specifies channels, it must specify the video and audio tracks,
but NOT the timecode track or the encode will fail. By *not* specifying
the Timecode track the encode will succeed, and the Timecode track is
brought across by default (somehow ignored by the -map option since it
was not specified, unlike audio and video tracks which must be specified).

Therefore, given a source of:

Track 1: Video
Track 2: Audio1
Track 3: Audio2
Track 4: TC

You cannot use the -map 0 options (because of the existence of the TC
track) and you must specify explicitly:

-map 0:0 -map 0:1 -map 0:2

to encode video, audio1, audio2 AND TC, even though the TC track is not
(and cannot) be specified.

sam marrocco | chief technical officer

248 548 2500 w
248 910 3344 c



More information about the ffmpeg-user mailing list