2021-09-29 16:53:33 -04:00
|
|
|
# flake8: noqa: F401
|
|
|
|
|
2021-11-09 17:44:42 -05:00
|
|
|
from .common import PostProcessor
|
2015-04-24 02:48:49 -04:00
|
|
|
from .embedthumbnail import EmbedThumbnailPP
|
2022-04-11 18:32:57 -04:00
|
|
|
from .exec import ExecAfterDownloadPP, ExecPP
|
2014-01-06 23:59:22 -05:00
|
|
|
from .ffmpeg import (
|
2022-01-13 06:01:08 -05:00
|
|
|
FFmpegConcatPP,
|
2022-04-11 18:32:57 -04:00
|
|
|
FFmpegCopyStreamPP,
|
2014-10-26 11:31:52 -04:00
|
|
|
FFmpegEmbedSubtitlePP,
|
|
|
|
FFmpegExtractAudioPP,
|
2021-12-20 01:06:46 -05:00
|
|
|
FFmpegFixupDuplicateMoovPP,
|
2021-06-21 13:23:17 -04:00
|
|
|
FFmpegFixupDurationPP,
|
2016-03-01 15:08:50 -05:00
|
|
|
FFmpegFixupM3u8PP,
|
2015-01-23 12:39:12 -05:00
|
|
|
FFmpegFixupM4aPP,
|
2022-04-11 18:32:57 -04:00
|
|
|
FFmpegFixupStretchedPP,
|
|
|
|
FFmpegFixupTimestampPP,
|
2014-01-06 23:59:22 -05:00
|
|
|
FFmpegMergerPP,
|
|
|
|
FFmpegMetadataPP,
|
2022-04-11 18:32:57 -04:00
|
|
|
FFmpegPostProcessor,
|
|
|
|
FFmpegSplitChaptersPP,
|
2015-02-28 08:43:24 -05:00
|
|
|
FFmpegSubtitlesConvertorPP,
|
2021-04-10 18:18:52 -04:00
|
|
|
FFmpegThumbnailsConvertorPP,
|
2021-04-10 20:22:55 -04:00
|
|
|
FFmpegVideoConvertorPP,
|
|
|
|
FFmpegVideoRemuxerPP,
|
2013-10-14 20:07:26 -04:00
|
|
|
)
|
2021-08-09 15:52:55 -04:00
|
|
|
from .metadataparser import (
|
|
|
|
MetadataFromFieldPP,
|
|
|
|
MetadataFromTitlePP,
|
|
|
|
MetadataParserPP,
|
|
|
|
)
|
2021-09-29 16:53:33 -04:00
|
|
|
from .modify_chapters import ModifyChaptersPP
|
2021-01-23 07:18:12 -05:00
|
|
|
from .movefilesafterdownload import MoveFilesAfterDownloadPP
|
2022-06-11 03:08:51 -04:00
|
|
|
from .mp4direct import MP4FixupTimestampPP
|
2020-11-14 19:28:41 -05:00
|
|
|
from .sponskrub import SponSkrubPP
|
2021-09-29 16:53:33 -04:00
|
|
|
from .sponsorblock import SponsorBlockPP
|
|
|
|
from .xattrpp import XAttrMetadataPP
|
2022-04-11 18:32:57 -04:00
|
|
|
from ..utils import load_plugins
|
2021-09-29 16:53:33 -04:00
|
|
|
|
|
|
|
_PLUGIN_CLASSES = load_plugins('postprocessor', 'PP', globals())
|
2014-01-06 23:59:22 -05:00
|
|
|
|
2014-12-14 19:06:25 -05:00
|
|
|
|
|
|
|
def get_postprocessor(key):
|
|
|
|
return globals()[key + 'PP']
|
|
|
|
|
|
|
|
|
2021-11-09 17:44:42 -05:00
|
|
|
__all__ = [name for name in globals().keys() if name.endswith('PP')]
|
|
|
|
__all__.extend(('PostProcessor', 'FFmpegPostProcessor'))
|