RobCaamano commited on
Commit
cf3a2dc
·
1 Parent(s): f58528d

Update translated_video.py

Browse files
Files changed (1) hide show
  1. translated_video.py +1 -0
translated_video.py CHANGED
@@ -60,6 +60,7 @@ def create_translated_video(original_video_path, translated_audio_path, translat
60
 
61
  # Add subtitles
62
  final_video_file = os.path.join(output_dir, video_name)
 
63
 
64
  # Correct the subtitle filter string for ffmpeg
65
  subtitle_filter_str = f"subtitles='{srt_file}'"
 
60
 
61
  # Add subtitles
62
  final_video_file = os.path.join(output_dir, video_name)
63
+ final_video_file = os.path.join(final_video_file, ".mp4")
64
 
65
  # Correct the subtitle filter string for ffmpeg
66
  subtitle_filter_str = f"subtitles='{srt_file}'"