aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/postprocessor/ffmpeg.py
diff options
context:
space:
mode:
authorremitamine <remitamine@gmail.com>2016-03-13 21:30:27 +0100
committerremitamine <remitamine@gmail.com>2016-03-13 21:30:27 +0100
commit2e7e561c1d9dedf1a8e5a206e1ef86cfa4599956 (patch)
tree01af156a574813ed4c1dcfbe1f3b0e0133bdc172 /youtube_dl/postprocessor/ffmpeg.py
parent8fb754bcd023953a1e55e7acb8c6aea9edef937d (diff)
parentd8515fd41c504baea129de26d60ca55dd69ae3f8 (diff)
Merge pull request #8611 from remitamine/ffmpegfd
[downloader/external] Add FFmpegFD
Diffstat (limited to 'youtube_dl/postprocessor/ffmpeg.py')
-rw-r--r--youtube_dl/postprocessor/ffmpeg.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/youtube_dl/postprocessor/ffmpeg.py b/youtube_dl/postprocessor/ffmpeg.py
index 81102f9bb..a8819f258 100644
--- a/youtube_dl/postprocessor/ffmpeg.py
+++ b/youtube_dl/postprocessor/ffmpeg.py
@@ -25,6 +25,19 @@ from ..utils import (
)
+EXT_TO_OUT_FORMATS = {
+ "aac": "adts",
+ "m4a": "ipod",
+ "mka": "matroska",
+ "mkv": "matroska",
+ "mpg": "mpeg",
+ "ogv": "ogg",
+ "ts": "mpegts",
+ "wma": "asf",
+ "wmv": "asf",
+}
+
+
class FFmpegPostProcessorError(PostProcessingError):
pass