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