2014-11-27 03:01:20 +08:00
|
|
|
from __future__ import unicode_literals
|
2012-03-25 09:07:37 +08:00
|
|
|
|
2014-02-22 20:55:51 +08:00
|
|
|
from .atomicparsley import AtomicParsleyPP
|
2014-01-07 12:59:22 +08:00
|
|
|
from .ffmpeg import (
|
2014-10-26 23:31:52 +08:00
|
|
|
FFmpegPostProcessor,
|
2014-02-23 01:10:07 +08:00
|
|
|
FFmpegAudioFixPP,
|
2014-10-26 23:31:52 +08:00
|
|
|
FFmpegEmbedSubtitlePP,
|
|
|
|
FFmpegExtractAudioPP,
|
2015-01-10 12:45:51 +08:00
|
|
|
FFmpegFixupStretchedPP,
|
2015-01-24 01:39:12 +08:00
|
|
|
FFmpegFixupM4aPP,
|
2014-01-07 12:59:22 +08:00
|
|
|
FFmpegMergerPP,
|
|
|
|
FFmpegMetadataPP,
|
2014-12-15 08:06:25 +08:00
|
|
|
FFmpegVideoConvertorPP,
|
2013-10-15 08:07:26 +08:00
|
|
|
)
|
2014-01-07 12:59:22 +08:00
|
|
|
from .xattrpp import XAttrMetadataPP
|
2014-08-24 03:30:13 +08:00
|
|
|
from .execafterdownload import ExecAfterDownloadPP
|
2014-01-07 12:59:22 +08:00
|
|
|
|
2014-12-15 08:06:25 +08:00
|
|
|
|
|
|
|
def get_postprocessor(key):
|
|
|
|
return globals()[key + 'PP']
|
|
|
|
|
|
|
|
|
2014-01-07 12:59:22 +08:00
|
|
|
__all__ = [
|
2014-02-22 20:55:51 +08:00
|
|
|
'AtomicParsleyPP',
|
2014-10-26 23:31:52 +08:00
|
|
|
'ExecAfterDownloadPP',
|
2014-02-23 01:10:07 +08:00
|
|
|
'FFmpegAudioFixPP',
|
2014-10-26 23:31:52 +08:00
|
|
|
'FFmpegEmbedSubtitlePP',
|
|
|
|
'FFmpegExtractAudioPP',
|
2015-01-24 01:39:12 +08:00
|
|
|
'FFmpegFixupM4aPP',
|
2015-01-10 12:45:51 +08:00
|
|
|
'FFmpegFixupStretchedPP',
|
2014-01-07 12:59:22 +08:00
|
|
|
'FFmpegMergerPP',
|
|
|
|
'FFmpegMetadataPP',
|
2014-10-26 23:31:52 +08:00
|
|
|
'FFmpegPostProcessor',
|
2014-12-15 08:06:25 +08:00
|
|
|
'FFmpegVideoConvertorPP',
|
2014-01-07 12:59:22 +08:00
|
|
|
'XAttrMetadataPP',
|
|
|
|
]
|