mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-01-29 01:27:52 +00:00
d8fb349086
Some checks are pending
CodeQL / Analyze (python) (push) Waiting to run
Core Tests / Core Tests (ubuntu-latest, 3.10) (push) Waiting to run
Core Tests / Core Tests (ubuntu-latest, 3.11) (push) Waiting to run
Core Tests / Core Tests (ubuntu-latest, 3.12) (push) Waiting to run
Core Tests / Core Tests (ubuntu-latest, 3.13) (push) Waiting to run
Core Tests / Core Tests (ubuntu-latest, pypy-3.10) (push) Waiting to run
Core Tests / Core Tests (windows-latest, 3.10) (push) Waiting to run
Core Tests / Core Tests (windows-latest, 3.12) (push) Waiting to run
Core Tests / Core Tests (windows-latest, 3.13) (push) Waiting to run
Core Tests / Core Tests (windows-latest, 3.9) (push) Waiting to run
Core Tests / Core Tests (windows-latest, pypy-3.10) (push) Waiting to run
Download Tests / Quick Download Tests (push) Waiting to run
Download Tests / Full Download Tests (ubuntu-latest, 3.10) (push) Waiting to run
Download Tests / Full Download Tests (ubuntu-latest, 3.11) (push) Waiting to run
Download Tests / Full Download Tests (ubuntu-latest, 3.12) (push) Waiting to run
Download Tests / Full Download Tests (ubuntu-latest, 3.13) (push) Waiting to run
Download Tests / Full Download Tests (ubuntu-latest, pypy-3.10) (push) Waiting to run
Download Tests / Full Download Tests (windows-latest, 3.9) (push) Waiting to run
Download Tests / Full Download Tests (windows-latest, pypy-3.10) (push) Waiting to run
Quick Test / Core Test (push) Waiting to run
Quick Test / Code check (push) Waiting to run
Release (master) / release (push) Waiting to run
Release (master) / publish_pypi (push) Blocked by required conditions
Authored by: seproDev
48 lines
1.2 KiB
Python
48 lines
1.2 KiB
Python
# flake8: noqa: F401
|
|
|
|
from .common import PostProcessor
|
|
from .embedthumbnail import EmbedThumbnailPP
|
|
from .exec import ExecAfterDownloadPP, ExecPP
|
|
from .ffmpeg import (
|
|
FFmpegConcatPP,
|
|
FFmpegCopyStreamPP,
|
|
FFmpegEmbedSubtitlePP,
|
|
FFmpegExtractAudioPP,
|
|
FFmpegFixupDuplicateMoovPP,
|
|
FFmpegFixupDurationPP,
|
|
FFmpegFixupM3u8PP,
|
|
FFmpegFixupM4aPP,
|
|
FFmpegFixupStretchedPP,
|
|
FFmpegFixupTimestampPP,
|
|
FFmpegMergerPP,
|
|
FFmpegMetadataPP,
|
|
FFmpegPostProcessor,
|
|
FFmpegSplitChaptersPP,
|
|
FFmpegSubtitlesConvertorPP,
|
|
FFmpegThumbnailsConvertorPP,
|
|
FFmpegVideoConvertorPP,
|
|
FFmpegVideoRemuxerPP,
|
|
)
|
|
from .metadataparser import (
|
|
MetadataFromFieldPP,
|
|
MetadataFromTitlePP,
|
|
MetadataParserPP,
|
|
)
|
|
from .modify_chapters import ModifyChaptersPP
|
|
from .movefilesafterdownload import MoveFilesAfterDownloadPP
|
|
from .sponskrub import SponSkrubPP
|
|
from .sponsorblock import SponsorBlockPP
|
|
from .xattrpp import XAttrMetadataPP
|
|
from ..plugins import load_plugins
|
|
|
|
_PLUGIN_CLASSES = load_plugins('postprocessor', 'PP')
|
|
|
|
|
|
def get_postprocessor(key):
|
|
return globals()[key + 'PP']
|
|
|
|
|
|
globals().update(_PLUGIN_CLASSES)
|
|
__all__ = [name for name in globals() if name.endswith('PP')]
|
|
__all__.extend(('FFmpegPostProcessor', 'PostProcessor'))
|