2014-11-27 03:01:20 +08:00
|
|
|
from __future__ import unicode_literals
|
2012-03-25 09:07:37 +08:00
|
|
|
|
2015-04-24 14:48:49 +08:00
|
|
|
from .embedthumbnail import EmbedThumbnailPP
|
2014-01-07 12:59:22 +08:00
|
|
|
from .ffmpeg import (
|
2014-10-26 23:31:52 +08:00
|
|
|
FFmpegPostProcessor,
|
|
|
|
FFmpegEmbedSubtitlePP,
|
|
|
|
FFmpegExtractAudioPP,
|
2015-01-10 12:45:51 +08:00
|
|
|
FFmpegFixupStretchedPP,
|
2016-03-02 04:08:50 +08:00
|
|
|
FFmpegFixupM3u8PP,
|
2015-01-24 01:39:12 +08:00
|
|
|
FFmpegFixupM4aPP,
|
2014-01-07 12:59:22 +08:00
|
|
|
FFmpegMergerPP,
|
|
|
|
FFmpegMetadataPP,
|
2014-12-15 08:06:25 +08:00
|
|
|
FFmpegVideoConvertorPP,
|
2015-02-28 21:43:24 +08:00
|
|
|
FFmpegSubtitlesConvertorPP,
|
2013-10-15 08:07:26 +08:00
|
|
|
)
|
2014-01-07 12:59:22 +08:00
|
|
|
from .xattrpp import XAttrMetadataPP
|
2014-08-24 03:30:13 +08:00
|
|
|
from .execafterdownload import ExecAfterDownloadPP
|
2015-03-05 05:33:56 +08:00
|
|
|
from .metadatafromtitle import MetadataFromTitlePP
|
2014-01-07 12:59:22 +08:00
|
|
|
|
2014-12-15 08:06:25 +08:00
|
|
|
|
|
|
|
def get_postprocessor(key):
|
|
|
|
return globals()[key + 'PP']
|
|
|
|
|
|
|
|
|
2014-01-07 12:59:22 +08:00
|
|
|
__all__ = [
|
2015-04-24 14:48:49 +08:00
|
|
|
'EmbedThumbnailPP',
|
2014-10-26 23:31:52 +08:00
|
|
|
'ExecAfterDownloadPP',
|
|
|
|
'FFmpegEmbedSubtitlePP',
|
|
|
|
'FFmpegExtractAudioPP',
|
2016-03-02 04:08:50 +08:00
|
|
|
'FFmpegFixupM3u8PP',
|
2015-01-24 01:39:12 +08:00
|
|
|
'FFmpegFixupM4aPP',
|
2015-01-10 12:45:51 +08:00
|
|
|
'FFmpegFixupStretchedPP',
|
2014-01-07 12:59:22 +08:00
|
|
|
'FFmpegMergerPP',
|
|
|
|
'FFmpegMetadataPP',
|
2014-10-26 23:31:52 +08:00
|
|
|
'FFmpegPostProcessor',
|
2015-02-28 21:43:24 +08:00
|
|
|
'FFmpegSubtitlesConvertorPP',
|
2014-12-15 08:06:25 +08:00
|
|
|
'FFmpegVideoConvertorPP',
|
2015-03-05 05:33:56 +08:00
|
|
|
'MetadataFromTitlePP',
|
2014-01-07 12:59:22 +08:00
|
|
|
'XAttrMetadataPP',
|
|
|
|
]
|