misc ¶
Classes:
-
BestSource–BestSource indexer.
-
CarefulSource–CarefulSource indexer
-
FFMS2–FFmpegSource2 indexer.
-
IMWRI–ImageMagick Writer-Reader indexer
-
LSMAS–L-SMASH-Works indexer.
-
ZipSource–vszip image reader indexer
BestSource ¶
BestSource(
*,
force: bool = True,
cachemode: int = ABSOLUTE,
rff: int | None = True,
**kwargs: Any
)
Bases: CacheIndexer
BestSource indexer.
Unlike the plugin's default behavior, the indexer cache file will be stored in .vsjet/vssource next to the script file.
When cachemode is 0, 1, or 2 (NEVER, CACHE_PATH, or CACHE_PATH_WRITE), the behavior falls back to the default cache handling defined by the BestSource plugin itself.
Classes:
-
CacheMode–Cache mode.
Methods:
-
get_cache_path– -
get_joined_names– -
get_videos_hash– -
normalize_filenames– -
source–Load one or more input files using the indexer and return a processed clip.
-
source_func–
Attributes:
-
force– -
indexer_kwargs–
Source code in vssource/indexers/misc.py
65 66 67 68 | |
CacheMode ¶
Bases: CustomIntEnum
Cache mode.
Methods:
-
from_param–Return the enum value from a parameter.
-
value–
Attributes:
-
ABSOLUTE–Always try to read index but only write index to disk when it will make a noticeable difference
-
ABSOLUTE_WRITE–Always try to read and write index to disk and store index files
-
CACHE_PATH–Always try to read index but only write index to disk when it will make a noticeable difference
-
CACHE_PATH_WRITE–Always try to read and write index to disk and store index files in a subtree of cachepath.
-
NEVER–Never read or write index to disk.
ABSOLUTE class-attribute instance-attribute ¶
ABSOLUTE = 3
Always try to read index but only write index to disk when it will make a noticeable difference on subsequent runs and store index files in the absolute path in cachepath with track number and index extension appended.
ABSOLUTE_WRITE class-attribute instance-attribute ¶
ABSOLUTE_WRITE = 4
Always try to read and write index to disk and store index files in the absolute path in cachepath with track number and index extension appended.
CACHE_PATH class-attribute instance-attribute ¶
CACHE_PATH = 1
Always try to read index but only write index to disk when it will make a noticeable difference on subsequent runs and store index files in a subtree of cachepath.
CACHE_PATH_WRITE class-attribute instance-attribute ¶
CACHE_PATH_WRITE = 2
Always try to read and write index to disk and store index files in a subtree of cachepath.
from_param classmethod ¶
from_param(value: Any, func_except: FuncExcept | None = None) -> Self
Return the enum value from a parameter.
Parameters:
-
(value¶Any) –Value to instantiate the enum class.
-
(func_except¶FuncExcept | None, default:None) –Exception function.
Returns:
-
Self–Enum value.
Raises:
-
NotFoundEnumValue–Variable not found in the given enum.
Source code in jetpytools/enums/base.py
40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 | |
get_cache_path staticmethod ¶
Source code in vssource/indexers/base.py
158 159 160 161 162 | |
get_joined_names classmethod ¶
Source code in vssource/indexers/base.py
54 55 56 | |
get_videos_hash classmethod ¶
Source code in vssource/indexers/base.py
58 59 60 61 62 63 64 | |
normalize_filenames classmethod ¶
Source code in vssource/indexers/base.py
71 72 73 74 75 76 77 78 79 80 81 | |
source ¶
source(
file: SPathLike | Iterable[SPathLike],
bits: int | None = None,
*,
matrix: MatrixLike | None = None,
transfer: TransferLike | None = None,
primaries: PrimariesLike | None = None,
chroma_location: ChromaLocation | None = None,
color_range: ColorRangeLike | None = None,
field_based: FieldBasedLike | None = None,
idx_props: bool = True,
ref: VideoNode | None = None,
name: str | None = None,
**kwargs: Any
) -> VideoNode
Load one or more input files using the indexer and return a processed clip.
The returned clip is passed through initialize_clip to apply bit depth conversion and frame props initialization.
Source code in vssource/indexers/base.py
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 | |
source_func classmethod ¶
Source code in vssource/indexers/misc.py
70 71 72 73 74 75 | |
CarefulSource ¶
Bases: Indexer
CarefulSource indexer
Methods:
-
get_joined_names– -
get_videos_hash– -
normalize_filenames– -
source–Load one or more input files using the indexer and return a processed clip.
-
source_func–
Attributes:
-
force– -
indexer_kwargs–
Source code in vssource/indexers/base.py
44 45 46 47 48 | |
get_joined_names classmethod ¶
Source code in vssource/indexers/base.py
54 55 56 | |
get_videos_hash classmethod ¶
Source code in vssource/indexers/base.py
58 59 60 61 62 63 64 | |
normalize_filenames classmethod ¶
Source code in vssource/indexers/base.py
71 72 73 74 75 76 77 78 79 80 81 | |
source ¶
source(
file: SPathLike | Iterable[SPathLike],
bits: int | None = None,
*,
matrix: MatrixLike | None = None,
transfer: TransferLike | None = None,
primaries: PrimariesLike | None = None,
chroma_location: ChromaLocation | None = None,
color_range: ColorRangeLike | None = None,
field_based: FieldBasedLike | None = None,
idx_props: bool = True,
ref: VideoNode | None = None,
name: str | None = None,
**kwargs: Any
) -> VideoNode
Load one or more input files using the indexer and return a processed clip.
The returned clip is passed through initialize_clip to apply bit depth conversion and frame props initialization.
Source code in vssource/indexers/base.py
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 | |
source_func classmethod ¶
Source code in vssource/indexers/base.py
66 67 68 69 | |
FFMS2 ¶
Bases: CacheIndexer
FFmpegSource2 indexer.
Unlike the plugin's default behavior, the indexer cache file will be stored in .vsjet/vssource next to the script file.
Methods:
-
get_cache_path– -
get_joined_names– -
get_videos_hash– -
normalize_filenames– -
source–Load one or more input files using the indexer and return a processed clip.
-
source_func–
Attributes:
-
force– -
indexer_kwargs–
Source code in vssource/indexers/base.py
44 45 46 47 48 | |
get_cache_path staticmethod ¶
Source code in vssource/indexers/base.py
158 159 160 161 162 | |
get_joined_names classmethod ¶
Source code in vssource/indexers/base.py
54 55 56 | |
get_videos_hash classmethod ¶
Source code in vssource/indexers/base.py
58 59 60 61 62 63 64 | |
normalize_filenames classmethod ¶
Source code in vssource/indexers/base.py
71 72 73 74 75 76 77 78 79 80 81 | |
source ¶
source(
file: SPathLike | Iterable[SPathLike],
bits: int | None = None,
*,
matrix: MatrixLike | None = None,
transfer: TransferLike | None = None,
primaries: PrimariesLike | None = None,
chroma_location: ChromaLocation | None = None,
color_range: ColorRangeLike | None = None,
field_based: FieldBasedLike | None = None,
idx_props: bool = True,
ref: VideoNode | None = None,
name: str | None = None,
**kwargs: Any
) -> VideoNode
Load one or more input files using the indexer and return a processed clip.
The returned clip is passed through initialize_clip to apply bit depth conversion and frame props initialization.
Source code in vssource/indexers/base.py
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 | |
source_func classmethod ¶
Source code in vssource/indexers/base.py
164 165 166 167 168 169 170 171 | |
IMWRI ¶
Bases: Indexer
ImageMagick Writer-Reader indexer
Methods:
-
get_joined_names– -
get_videos_hash– -
normalize_filenames– -
source–Load one or more input files using the indexer and return a processed clip.
-
source_func–
Attributes:
-
force– -
indexer_kwargs–
Source code in vssource/indexers/base.py
44 45 46 47 48 | |
get_joined_names classmethod ¶
Source code in vssource/indexers/base.py
54 55 56 | |
get_videos_hash classmethod ¶
Source code in vssource/indexers/base.py
58 59 60 61 62 63 64 | |
normalize_filenames classmethod ¶
Source code in vssource/indexers/base.py
71 72 73 74 75 76 77 78 79 80 81 | |
source ¶
source(
file: SPathLike | Iterable[SPathLike],
bits: int | None = None,
*,
matrix: MatrixLike | None = None,
transfer: TransferLike | None = None,
primaries: PrimariesLike | None = None,
chroma_location: ChromaLocation | None = None,
color_range: ColorRangeLike | None = None,
field_based: FieldBasedLike | None = None,
idx_props: bool = True,
ref: VideoNode | None = None,
name: str | None = None,
**kwargs: Any
) -> VideoNode
Load one or more input files using the indexer and return a processed clip.
The returned clip is passed through initialize_clip to apply bit depth conversion and frame props initialization.
Source code in vssource/indexers/base.py
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 | |
source_func classmethod ¶
Source code in vssource/indexers/base.py
66 67 68 69 | |
LSMAS ¶
Bases: CacheIndexer
L-SMASH-Works indexer.
Unlike the plugin's default behavior, the indexer cache file will be stored in .vsjet/vssource next to the script file.
Methods:
-
get_cache_path– -
get_joined_names– -
get_videos_hash– -
normalize_filenames– -
source–Load one or more input files using the indexer and return a processed clip.
-
source_func–
Attributes:
-
force– -
indexer_kwargs–
Source code in vssource/indexers/base.py
44 45 46 47 48 | |
get_cache_path staticmethod ¶
Source code in vssource/indexers/base.py
158 159 160 161 162 | |
get_joined_names classmethod ¶
Source code in vssource/indexers/base.py
54 55 56 | |
get_videos_hash classmethod ¶
Source code in vssource/indexers/base.py
58 59 60 61 62 63 64 | |
normalize_filenames classmethod ¶
Source code in vssource/indexers/base.py
71 72 73 74 75 76 77 78 79 80 81 | |
source ¶
source(
file: SPathLike | Iterable[SPathLike],
bits: int | None = None,
*,
matrix: MatrixLike | None = None,
transfer: TransferLike | None = None,
primaries: PrimariesLike | None = None,
chroma_location: ChromaLocation | None = None,
color_range: ColorRangeLike | None = None,
field_based: FieldBasedLike | None = None,
idx_props: bool = True,
ref: VideoNode | None = None,
name: str | None = None,
**kwargs: Any
) -> VideoNode
Load one or more input files using the indexer and return a processed clip.
The returned clip is passed through initialize_clip to apply bit depth conversion and frame props initialization.
Source code in vssource/indexers/base.py
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 | |
source_func classmethod ¶
Source code in vssource/indexers/base.py
164 165 166 167 168 169 170 171 | |
ZipSource ¶
Bases: Indexer
vszip image reader indexer
Methods:
-
get_joined_names– -
get_videos_hash– -
normalize_filenames– -
source–Load one or more input files using the indexer and return a processed clip.
-
source_func–
Attributes:
-
force– -
indexer_kwargs–
Source code in vssource/indexers/base.py
44 45 46 47 48 | |
get_joined_names classmethod ¶
Source code in vssource/indexers/base.py
54 55 56 | |
get_videos_hash classmethod ¶
Source code in vssource/indexers/base.py
58 59 60 61 62 63 64 | |
normalize_filenames classmethod ¶
Source code in vssource/indexers/base.py
71 72 73 74 75 76 77 78 79 80 81 | |
source ¶
source(
file: SPathLike | Iterable[SPathLike],
bits: int | None = None,
*,
matrix: MatrixLike | None = None,
transfer: TransferLike | None = None,
primaries: PrimariesLike | None = None,
chroma_location: ChromaLocation | None = None,
color_range: ColorRangeLike | None = None,
field_based: FieldBasedLike | None = None,
idx_props: bool = True,
ref: VideoNode | None = None,
name: str | None = None,
**kwargs: Any
) -> VideoNode
Load one or more input files using the indexer and return a processed clip.
The returned clip is passed through initialize_clip to apply bit depth conversion and frame props initialization.
Source code in vssource/indexers/base.py
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 | |
source_func classmethod ¶
Source code in vssource/indexers/base.py
66 67 68 69 | |