2014-11-26 19:01:20 +00:00
|
|
|
from __future__ import unicode_literals
|
2012-03-25 01:07:37 +00:00
|
|
|
|
2015-04-24 06:48:49 +00:00
|
|
|
from .embedthumbnail import EmbedThumbnailPP
|
2014-01-07 04:59:22 +00:00
|
|
|
from .ffmpeg import (
|
2014-10-26 15:31:52 +00:00
|
|
|
FFmpegPostProcessor,
|
|
|
|
FFmpegEmbedSubtitlePP,
|
|
|
|
FFmpegExtractAudioPP,
|
2021-06-21 17:23:17 +00:00
|
|
|
FFmpegFixupDurationPP,
|
2015-01-10 04:45:51 +00:00
|
|
|
FFmpegFixupStretchedPP,
|
2021-06-21 17:23:17 +00:00
|
|
|
FFmpegFixupTimestampPP,
|
2016-03-01 20:08:50 +00:00
|
|
|
FFmpegFixupM3u8PP,
|
2015-01-23 17:39:12 +00:00
|
|
|
FFmpegFixupM4aPP,
|
2014-01-07 04:59:22 +00:00
|
|
|
FFmpegMergerPP,
|
|
|
|
FFmpegMetadataPP,
|
2015-02-28 13:43:24 +00:00
|
|
|
FFmpegSubtitlesConvertorPP,
|
2021-04-10 22:18:52 +00:00
|
|
|
FFmpegThumbnailsConvertorPP,
|
2021-03-14 23:02:13 +00:00
|
|
|
FFmpegSplitChaptersPP,
|
2021-04-11 00:22:55 +00:00
|
|
|
FFmpegVideoConvertorPP,
|
|
|
|
FFmpegVideoRemuxerPP,
|
2013-10-15 00:07:26 +00:00
|
|
|
)
|
2014-01-07 04:59:22 +00:00
|
|
|
from .xattrpp import XAttrMetadataPP
|
2021-08-09 12:10:24 +00:00
|
|
|
from .exec import ExecPP, ExecAfterDownloadPP
|
2021-08-09 19:52:55 +00:00
|
|
|
from .metadataparser import (
|
|
|
|
MetadataFromFieldPP,
|
|
|
|
MetadataFromTitlePP,
|
|
|
|
MetadataParserPP,
|
|
|
|
)
|
2021-01-23 12:18:12 +00:00
|
|
|
from .movefilesafterdownload import MoveFilesAfterDownloadPP
|
2020-11-15 00:28:41 +00:00
|
|
|
from .sponskrub import SponSkrubPP
|
2014-01-07 04:59:22 +00:00
|
|
|
|
2014-12-15 00:06:25 +00:00
|
|
|
|
|
|
|
def get_postprocessor(key):
|
|
|
|
return globals()[key + 'PP']
|
|
|
|
|
|
|
|
|
2014-01-07 04:59:22 +00:00
|
|
|
__all__ = [
|
2021-04-11 00:22:55 +00:00
|
|
|
'FFmpegPostProcessor',
|
2015-04-24 06:48:49 +00:00
|
|
|
'EmbedThumbnailPP',
|
2021-08-09 12:10:24 +00:00
|
|
|
'ExecPP',
|
2014-10-26 15:31:52 +00:00
|
|
|
'ExecAfterDownloadPP',
|
|
|
|
'FFmpegEmbedSubtitlePP',
|
|
|
|
'FFmpegExtractAudioPP',
|
2021-03-14 23:02:13 +00:00
|
|
|
'FFmpegSplitChaptersPP',
|
2021-06-21 17:23:17 +00:00
|
|
|
'FFmpegFixupDurationPP',
|
2016-03-01 20:08:50 +00:00
|
|
|
'FFmpegFixupM3u8PP',
|
2015-01-23 17:39:12 +00:00
|
|
|
'FFmpegFixupM4aPP',
|
2015-01-10 04:45:51 +00:00
|
|
|
'FFmpegFixupStretchedPP',
|
2021-06-21 17:23:17 +00:00
|
|
|
'FFmpegFixupTimestampPP',
|
2014-01-07 04:59:22 +00:00
|
|
|
'FFmpegMergerPP',
|
|
|
|
'FFmpegMetadataPP',
|
2015-02-28 13:43:24 +00:00
|
|
|
'FFmpegSubtitlesConvertorPP',
|
2021-04-10 22:18:52 +00:00
|
|
|
'FFmpegThumbnailsConvertorPP',
|
2014-12-15 00:06:25 +00:00
|
|
|
'FFmpegVideoConvertorPP',
|
2020-05-16 16:09:12 +00:00
|
|
|
'FFmpegVideoRemuxerPP',
|
2021-08-09 19:52:55 +00:00
|
|
|
'MetadataParserPP',
|
2021-01-26 10:20:20 +00:00
|
|
|
'MetadataFromFieldPP',
|
2015-03-04 21:33:56 +00:00
|
|
|
'MetadataFromTitlePP',
|
2021-01-23 12:18:12 +00:00
|
|
|
'MoveFilesAfterDownloadPP',
|
2020-11-15 00:28:41 +00:00
|
|
|
'SponSkrubPP',
|
2014-01-07 04:59:22 +00:00
|
|
|
'XAttrMetadataPP',
|
|
|
|
]
|