videopython 0.62.0__tar.gz → 0.62.1__tar.gz
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.
- {videopython-0.62.0 → videopython-0.62.1}/PKG-INFO +1 -1
- {videopython-0.62.0 → videopython-0.62.1}/pyproject.toml +1 -1
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/base/video.py +11 -4
- {videopython-0.62.0 → videopython-0.62.1}/.gitignore +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/LICENSE +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/README.md +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/__init__.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/_exceptions.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/_ffmpeg.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/__init__.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/_device.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/_ollama.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/_optional.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/_predictor.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/_revisions.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/_text_chunks.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/auto_edit/__init__.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/auto_edit/_speech.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/auto_edit/backend.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/auto_edit/catalog.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/auto_edit/editor.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/auto_edit/local.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/auto_edit/models.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/auto_edit/resolve.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/dubbing/__init__.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/dubbing/_phrases.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/dubbing/_synthesis.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/dubbing/_tts_backend.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/dubbing/audio_ops.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/dubbing/config.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/dubbing/dubber.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/dubbing/models.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/dubbing/pipeline.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/dubbing/quality.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/dubbing/remux.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/dubbing/separation.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/dubbing/timing.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/dubbing/translation.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/dubbing/voice_sample.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/effects.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/errors.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/generation/__init__.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/generation/_speech_graphs.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/generation/_speech_tokens.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/generation/audio.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/generation/image.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/generation/video.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/keyframe.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/ops.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/transforms.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/understanding/__init__.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/understanding/_detector.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/understanding/_pyannote_patches.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/understanding/audio.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/understanding/classification.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/understanding/faces.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/understanding/image.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/understanding/objects.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/understanding/temporal.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/video_analysis/__init__.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/video_analysis/_identity.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/video_analysis/analyzer.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/video_analysis/detectors.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/video_analysis/models.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/video_analysis/sampling.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/video_analysis/source_metadata.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/audio/__init__.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/audio/analysis.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/audio/audio.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/base/__init__.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/base/_dimensions.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/base/_video_io.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/base/description.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/base/draw_detections.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/base/fonts/Anton-OFL.txt +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/base/fonts/Anton-Regular.ttf +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/base/fonts/BebasNeue-OFL.txt +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/base/fonts/BebasNeue-Regular.ttf +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/base/fonts/DejaVuSans.ttf +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/base/fonts/LICENSE_DEJAVU +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/base/fonts/Lato-Bold.ttf +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/base/fonts/Lato-OFL.txt +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/base/fonts/Poppins-Bold.ttf +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/base/fonts/Poppins-OFL.txt +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/base/fonts/__init__.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/base/transcription.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/editing/__init__.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/editing/_ass.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/editing/_easing.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/editing/_schema.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/editing/audio_ops.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/editing/effects.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/editing/errors.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/editing/operation.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/editing/progress.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/editing/streaming.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/editing/transcription_overlay.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/editing/transforms.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/editing/video_edit.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/mcp/__init__.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/mcp/_models.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/mcp/server.py +0 -0
- {videopython-0.62.0 → videopython-0.62.1}/src/videopython/py.typed +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: videopython
|
|
3
|
-
Version: 0.62.
|
|
3
|
+
Version: 0.62.1
|
|
4
4
|
Summary: LLM-friendly Python video editing with JSON plans, local AI, and MCP tools.
|
|
5
5
|
Project-URL: Homepage, https://videopython.com
|
|
6
6
|
Project-URL: Repository, https://github.com/bartwojtowicz/videopython/
|
|
@@ -533,11 +533,18 @@ class Video:
|
|
|
533
533
|
return self.fps is not None and self.frames is not None and self.audio is not None
|
|
534
534
|
|
|
535
535
|
def split(self, frame_index: int | None = None) -> tuple[Video, Video]:
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
536
|
+
"""Split before a frame and divide audio at the same time.
|
|
537
|
+
|
|
538
|
+
``None`` selects ``len(self.frames) // 2``. The index must be strictly
|
|
539
|
+
between zero and the frame count so both parts contain frames.
|
|
540
|
+
|
|
541
|
+
Raises:
|
|
542
|
+
ValueError: If the split would leave either part empty.
|
|
543
|
+
"""
|
|
544
|
+
if frame_index is None:
|
|
540
545
|
frame_index = len(self.frames) // 2
|
|
546
|
+
if not 0 < frame_index < len(self.frames):
|
|
547
|
+
raise ValueError("Split must leave at least one frame on each side")
|
|
541
548
|
|
|
542
549
|
split_videos = (
|
|
543
550
|
self.from_frames(self.frames[:frame_index], self.fps),
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/understanding/_pyannote_patches.py
RENAMED
|
File without changes
|
|
File without changes
|
{videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/understanding/classification.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{videopython-0.62.0 → videopython-0.62.1}/src/videopython/ai/video_analysis/source_metadata.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|