mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-11 08:05:43 +01:00
4f026fafbc
Instead of having to configure PPs in code, this allows us and embedding programs not to worry about imports or finer details, similarly to how we handle IEs.
33 lines
702 B
Python
33 lines
702 B
Python
from __future__ import unicode_literals
|
|
|
|
from .atomicparsley import AtomicParsleyPP
|
|
from .ffmpeg import (
|
|
FFmpegPostProcessor,
|
|
FFmpegAudioFixPP,
|
|
FFmpegEmbedSubtitlePP,
|
|
FFmpegExtractAudioPP,
|
|
FFmpegMergerPP,
|
|
FFmpegMetadataPP,
|
|
FFmpegVideoConvertorPP,
|
|
)
|
|
from .xattrpp import XAttrMetadataPP
|
|
from .execafterdownload import ExecAfterDownloadPP
|
|
|
|
|
|
def get_postprocessor(key):
|
|
return globals()[key + 'PP']
|
|
|
|
|
|
__all__ = [
|
|
'AtomicParsleyPP',
|
|
'ExecAfterDownloadPP',
|
|
'FFmpegAudioFixPP',
|
|
'FFmpegEmbedSubtitlePP',
|
|
'FFmpegExtractAudioPP',
|
|
'FFmpegMergerPP',
|
|
'FFmpegMetadataPP',
|
|
'FFmpegPostProcessor',
|
|
'FFmpegVideoConvertorPP',
|
|
'XAttrMetadataPP',
|
|
]
|