projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2def60c
)
[utils] Add more codecs to codec2ext
author
Yen Chi Hsuan
<yan12125@gmail.com>
Sun, 6 Mar 2016 05:32:03 +0000
(13:32 +0800)
committer
Yen Chi Hsuan
<yan12125@gmail.com>
Sun, 6 Mar 2016 09:57:48 +0000
(17:57 +0800)
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
youtube_dl/utils.py
patch
|
blob
|
history
diff --git
a/youtube_dl/utils.py
b/youtube_dl/utils.py
index dc0bf5627a5d149da4790b1f2d938649ed7924f9..0e04e91a4202397b4a3a1c768f49827ac3a1a542 100644
(file)
--- 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',