]> jfr.im git - yt-dlp.git/commit
ffmpeg: ignore extra data streams with `-dn` (fixes #2)
authorJody Bruchon <redacted>
Thu, 7 Jan 2021 17:26:50 +0000 (12:26 -0500)
committerJody Bruchon <redacted>
Thu, 7 Jan 2021 17:26:50 +0000 (12:26 -0500)
commite0da59fe5447fbc08041e89081d7587e0a887e1b
treeb7457812e5498f5c67244c330724ce4314f0cb90
parentc82fc65d039a28b0b370718572e32ca83a2a709a
ffmpeg: ignore extra data streams with `-dn` (fixes #2)

Sometimes, video files will arrive with a timecode data stream
that causes `-map 0` to error out due to the stream not being
supported in the output container. These data streams generally do
not matter, so tell ffmpeg to ignore them rather than choking on
them.
youtube_dlc/postprocessor/embedthumbnail.py
youtube_dlc/postprocessor/ffmpeg.py