PyVideoKit-Libs 0.3.0__py3-none-any.whl → 0.4.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pyvideokit_libs/__init__.py +6 -1
- pyvideokit_libs/apply_vhs_effect.py +1 -1
- {pyvideokit_libs-0.3.0.dist-info → pyvideokit_libs-0.4.1.dist-info}/METADATA +9 -4
- {pyvideokit_libs-0.3.0.dist-info → pyvideokit_libs-0.4.1.dist-info}/RECORD +7 -7
- {pyvideokit_libs-0.3.0.dist-info → pyvideokit_libs-0.4.1.dist-info}/WHEEL +1 -1
- {pyvideokit_libs-0.3.0.dist-info → pyvideokit_libs-0.4.1.dist-info}/licenses/LICENSE +0 -0
- {pyvideokit_libs-0.3.0.dist-info → pyvideokit_libs-0.4.1.dist-info}/top_level.txt +0 -0
pyvideokit_libs/__init__.py
CHANGED
|
@@ -24,7 +24,12 @@ from .fade_video import fade_video
|
|
|
24
24
|
from .prepare_youtube import prepare_youtube
|
|
25
25
|
from .trim_video import trim_video
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
from importlib.metadata import PackageNotFoundError, version
|
|
28
|
+
|
|
29
|
+
try:
|
|
30
|
+
__version__ = version("PyVideoKit-Libs")
|
|
31
|
+
except PackageNotFoundError:
|
|
32
|
+
__version__ = "unknown"
|
|
28
33
|
|
|
29
34
|
__all__ = [
|
|
30
35
|
"FFmpegError",
|
|
@@ -114,7 +114,7 @@ def _step_2_map_inputs(input_path: Path, tmp: TempFiles, duration: float, output
|
|
|
114
114
|
base_name = input_path.stem
|
|
115
115
|
for ch in ':*?"<>|':
|
|
116
116
|
base_name = base_name.replace(ch, "-")
|
|
117
|
-
default_path = tmp.vhs.parent / f"{base_name}.mkv"
|
|
117
|
+
default_path = tmp.vhs.parent / f"{base_name}_vhs.mkv"
|
|
118
118
|
final_path = utils.resolve_output_path(default_path, output)
|
|
119
119
|
cmd = [
|
|
120
120
|
"ffmpeg", "-hide_banner", "-y",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: PyVideoKit-Libs
|
|
3
|
-
Version: 0.
|
|
4
|
-
Summary:
|
|
3
|
+
Version: 0.4.1
|
|
4
|
+
Summary: FFmpeg-based video processing library: trim, concatenate, fade, VHS effect, WAV extraction, lossless FFV1 masters and 4K ProRes exports for YouTube
|
|
5
5
|
Author-email: Evilchuck666 <carlos.martinez.medina1992@gmail.com>
|
|
6
6
|
License: GNU GENERAL PUBLIC LICENSE
|
|
7
7
|
Version 3, 29 June 2007
|
|
@@ -678,6 +678,11 @@ License: GNU GENERAL PUBLIC LICENSE
|
|
|
678
678
|
Public License instead of this License. But first, please read
|
|
679
679
|
<https://www.gnu.org/licenses/why-not-lgpl.html>.
|
|
680
680
|
|
|
681
|
+
Project-URL: Homepage, https://github.com/Evilchuck666/PyVideoKit-Libs
|
|
682
|
+
Project-URL: Source, https://github.com/Evilchuck666/PyVideoKit-Libs
|
|
683
|
+
Project-URL: Issues, https://github.com/Evilchuck666/PyVideoKit-Libs/issues
|
|
684
|
+
Project-URL: Releases, https://github.com/Evilchuck666/PyVideoKit-Libs/releases
|
|
685
|
+
Keywords: ffmpeg,video,video-processing,ffv1,prores,vhs,youtube,sox
|
|
681
686
|
Classifier: Programming Language :: Python :: 3
|
|
682
687
|
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
|
|
683
688
|
Classifier: Operating System :: OS Independent
|
|
@@ -691,7 +696,7 @@ Dynamic: license-file
|
|
|
691
696
|

|
|
692
697
|

|
|
693
698
|
|
|
694
|
-
Python library for FFmpeg-based video and audio processing. Provides the core functions behind [PyVideoKit-CLI](
|
|
699
|
+
Python library for FFmpeg-based video and audio processing. Provides the core functions behind [PyVideoKit-CLI](https://github.com/Evilchuck666/PyVideoKit-CLI) and [PyVideoKit-GUI](https://github.com/Evilchuck666/PyVideoKit-GUI), and can be used directly in your own Python projects.
|
|
695
700
|
|
|
696
701
|
---
|
|
697
702
|
|
|
@@ -814,7 +819,7 @@ All functions accept an optional `on_progress` callback `(pct: float) -> None` f
|
|
|
814
819
|
|
|
815
820
|
#### `apply_vhs_effect(input_path, output=None, on_progress=None) -> Path`
|
|
816
821
|
|
|
817
|
-
Apply a retro VHS visual and audio effect. The input must have an audio stream. Produces a
|
|
822
|
+
Apply a retro VHS visual and audio effect. The input must have an audio stream. Produces a `<name>_vhs.mkv` file next to the input.
|
|
818
823
|
|
|
819
824
|
```python
|
|
820
825
|
out = apply_vhs_effect(Path("video.mp4"))
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
pyvideokit_libs/__init__.py,sha256=
|
|
2
|
-
pyvideokit_libs/apply_vhs_effect.py,sha256=
|
|
1
|
+
pyvideokit_libs/__init__.py,sha256=r-ei7aR39PSphfbEFlzPcmApJdxoS5mCwaT6qZSIDs0,1488
|
|
2
|
+
pyvideokit_libs/apply_vhs_effect.py,sha256=yShFC33fzxBgG027GjcEJEQtGbbW9R2--yxTkPrJa00,4623
|
|
3
3
|
pyvideokit_libs/concat_videos.py,sha256=_po7RW84vlisEvbv03YekXi29JdLCy_HIpAbSEqvLGU,2369
|
|
4
4
|
pyvideokit_libs/convert_to_ffv1.py,sha256=VWmWajo6_ofLDo5VLpTvQWbe48TFNA6zen9XtYfIvP0,842
|
|
5
5
|
pyvideokit_libs/extract_audio.py,sha256=FoySaZnKKn80S4vwhKYyaEDIfjQSt_dhzc7YPqFuKUA,691
|
|
@@ -7,8 +7,8 @@ pyvideokit_libs/fade_video.py,sha256=3tuUeTepo-K9j2xkb77KCVaCvGFzZ2fMNpcn0LYSHY0
|
|
|
7
7
|
pyvideokit_libs/ffmpeg_utils.py,sha256=8zzKyhml1zJRO5sNguMhKW1yGS3cTV5l_M85aTK-fOI,7798
|
|
8
8
|
pyvideokit_libs/prepare_youtube.py,sha256=4tK2rob_W9Na1Y5lgD3AUgruNgFMq534KD3pdgIHJsY,1044
|
|
9
9
|
pyvideokit_libs/trim_video.py,sha256=Oqb76JvJTPos_fsEYG44TiNYjyxmj-x5m_ebTyOR-os,1204
|
|
10
|
-
pyvideokit_libs-0.
|
|
11
|
-
pyvideokit_libs-0.
|
|
12
|
-
pyvideokit_libs-0.
|
|
13
|
-
pyvideokit_libs-0.
|
|
14
|
-
pyvideokit_libs-0.
|
|
10
|
+
pyvideokit_libs-0.4.1.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
11
|
+
pyvideokit_libs-0.4.1.dist-info/METADATA,sha256=jFmRJsoi-P7LaTOe3mO_-1J_rSIF_pO_fWrgbLjNfI8,49179
|
|
12
|
+
pyvideokit_libs-0.4.1.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
|
|
13
|
+
pyvideokit_libs-0.4.1.dist-info/top_level.txt,sha256=c7_48-dt9O7bTckB11y9fIfv0kE3oO9txvU6az99YjU,16
|
|
14
|
+
pyvideokit_libs-0.4.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|