Eueuiaa commited on
Commit
8907df0
·
verified ·
1 Parent(s): f8b5c30

Update tools/video_encode_tool.py

Browse files
Files changed (1) hide show
  1. 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
- import os
120
- import subprocess
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