Update tools/video_encode_tool.py
Browse files- tools/video_encode_tool.py +0 -15
tools/video_encode_tool.py
CHANGED
|
@@ -116,21 +116,6 @@ 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 os
|
| 122 |
-
import subprocess
|
| 123 |
-
import shutil
|
| 124 |
-
import time
|
| 125 |
-
from typing import List
|
| 126 |
-
import logging
|
| 127 |
-
|
| 128 |
-
logger = logging.getLogger(__name__)
|
| 129 |
-
|
| 130 |
-
class VideoToolError(Exception):
|
| 131 |
-
pass
|
| 132 |
-
|
| 133 |
-
class VideoEditor:
|
| 134 |
def concatenate_videos(self, video_paths: List[str], output_path: str, workspace_dir: str, star:int=0, overlap:int=1) -> str:
|
| 135 |
"""
|
| 136 |
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 |
def concatenate_videos(self, video_paths: List[str], output_path: str, workspace_dir: str, star:int=0, overlap:int=1) -> str:
|
| 120 |
"""
|
| 121 |
Concatena múltiplos vídeos MP4, removendo exatamente o último frame
|