Update tools/video_encode_tool.py
Browse files- tools/video_encode_tool.py +2 -10
tools/video_encode_tool.py
CHANGED
|
@@ -116,19 +116,11 @@ class VideoEncodeTool:
|
|
| 116 |
raise VideoToolError(f"Falha ao criar vídeo de transição: {e.stderr}")
|
| 117 |
return output_path
|
| 118 |
|
| 119 |
-
|
| 120 |
-
|
| 121 |
-
import shutil
|
| 122 |
-
import time
|
| 123 |
-
from typing import List
|
| 124 |
-
import logging
|
| 125 |
|
| 126 |
-
logger = logging.getLogger(__name__)
|
| 127 |
|
| 128 |
-
class VideoToolError(Exception):
|
| 129 |
-
pass
|
| 130 |
|
| 131 |
-
class VideoEditor:
|
| 132 |
def concatenate_videos(self, video_paths: List[str], output_path: str, workspace_dir: str, start:int= 0, overlap:int=3) -> str:
|
| 133 |
"""
|
| 134 |
Concatena múltiplos vídeos MP4, removendo exatamente o último frame
|
|
|
|
| 116 |
raise VideoToolError(f"Falha ao criar vídeo de transição: {e.stderr}")
|
| 117 |
return output_path
|
| 118 |
|
| 119 |
+
|
| 120 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
| 121 |
|
|
|
|
| 122 |
|
|
|
|
|
|
|
| 123 |
|
|
|
|
| 124 |
def concatenate_videos(self, video_paths: List[str], output_path: str, workspace_dir: str, start:int= 0, overlap:int=3) -> str:
|
| 125 |
"""
|
| 126 |
Concatena múltiplos vídeos MP4, removendo exatamente o último frame
|