1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-12-15 10:05:24 +01:00
yt-dlp/yt_dlp/postprocessor/__init__.py

62 lines
1.5 KiB
Python
Raw Normal View History

from __future__ import unicode_literals
from .embedthumbnail import EmbedThumbnailPP
from .ffmpeg import (
FFmpegPostProcessor,
FFmpegEmbedSubtitlePP,
FFmpegExtractAudioPP,
FFmpegFixupDurationPP,
FFmpegFixupStretchedPP,
FFmpegFixupTimestampPP,
FFmpegFixupM3u8PP,
FFmpegFixupM4aPP,
FFmpegMergerPP,
FFmpegMetadataPP,
FFmpegSubtitlesConvertorPP,
FFmpegThumbnailsConvertorPP,
FFmpegSplitChaptersPP,
2021-04-11 02:22:55 +02:00
FFmpegVideoConvertorPP,
FFmpegVideoRemuxerPP,
2013-10-15 02:07:26 +02:00
)
from .xattrpp import XAttrMetadataPP
from .exec import ExecPP, ExecAfterDownloadPP
2021-08-09 21:52:55 +02:00
from .metadataparser import (
MetadataFromFieldPP,
MetadataFromTitlePP,
MetadataParserPP,
)
from .movefilesafterdownload import MoveFilesAfterDownloadPP
2020-11-15 01:28:41 +01:00
from .sponskrub import SponSkrubPP
def get_postprocessor(key):
return globals()[key + 'PP']
__all__ = [
2021-04-11 02:22:55 +02:00
'FFmpegPostProcessor',
'EmbedThumbnailPP',
'ExecPP',
'ExecAfterDownloadPP',
'FFmpegEmbedSubtitlePP',
'FFmpegExtractAudioPP',
'FFmpegSplitChaptersPP',
'FFmpegFixupDurationPP',
'FFmpegFixupM3u8PP',
'FFmpegFixupM4aPP',
'FFmpegFixupStretchedPP',
'FFmpegFixupTimestampPP',
'FFmpegMergerPP',
'FFmpegMetadataPP',
'FFmpegSubtitlesConvertorPP',
'FFmpegThumbnailsConvertorPP',
'FFmpegVideoConvertorPP',
'FFmpegVideoRemuxerPP',
2021-08-09 21:52:55 +02:00
'MetadataParserPP',
'MetadataFromFieldPP',
'MetadataFromTitlePP',
'MoveFilesAfterDownloadPP',
2020-11-15 01:28:41 +01:00
'SponSkrubPP',
'XAttrMetadataPP',
]