ffmpeg stripping out third stream not working
Generally, I Have no idea why it's not mapped as it should. But I've found workaround for this:
ffmpeg -i 01300.mov -filter_complex "[0:v]null[video_out];[0:a]anull[audio_out]" -map [video_out] -map [audio_out] out.mov
Looks like ffmpeg cannot map this 3rd stream correctly.
Answering this since it comes up on google search (to help others looking for solutions).
This has been fixed as of this ticket, https://trac.ffmpeg.org/ticket/5492, and you can get rid of the track by adding -write_tmcd 0
to the ffmpeg command.
This is specifically for a Data (tmcd)
track. For others (subtitles, data in general, etc.), a combination of either -dn
, -map -0:d
and similar commands should help.