diff options
author | Yen Chi Hsuan <yan12125@gmail.com> | 2016-03-06 13:32:03 +0800 |
---|---|---|
committer | Yen Chi Hsuan <yan12125@gmail.com> | 2016-03-06 17:57:48 +0800 |
commit | 6d210f20905a5c31f72eff16f9f4dbbed7f52c70 (patch) | |
tree | 7b063095427d305f00cf5b29e5adc44195f5c76e /youtube_dl/utils.py | |
parent | 2def60c5f3426e4f6b7e5f0bc8a92811e5a592b9 (diff) |
[utils] Add more codecs to codec2ext
BBC uses avc3. Here's an example (thanks to @remitamine for this example)
http://rdmedia.bbc.co.uk/dash/ondemand/bbb/2/client_manifest-common_init.mpd
See also https://trac.ffmpeg.org/ticket/5217
Diffstat (limited to 'youtube_dl/utils.py')
-rw-r--r-- | youtube_dl/utils.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py index dc0bf5627..0e04e91a4 100644 --- a/youtube_dl/utils.py +++ b/youtube_dl/utils.py @@ -1900,6 +1900,9 @@ def codec2ext(codec): # is not a good fallback for file extensions return { 'avc1': 'mp4', + 'avc2': 'mp4', + 'avc3': 'mp4', + 'avc4': 'mp4', 'mp4a': 'm4a', 'vorbis': 'webm', 'vp9': 'webm', |