Skip to content

Commit 7937a64

Browse files
committed
disable rotation
1 parent 6359a83 commit 7937a64

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

open_dubbing/video_processing.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ def split_audio_video(*, video_file: str, output_directory: str) -> tuple[str, s
7878
duration = getattr(video_clip, "duration", 0)
7979
logger().info(f"Duration {duration}, type: {type(duration)}")
8080

81-
if rotation_angle in [90, 180, 270]:
82-
video_clip = video_clip.rotated(rotation_angle)
83-
logger().info(f"Keep rotation angle {rotation_angle} for video")
81+
# if rotation_angle in [90, 180, 270]:
82+
# video_clip = video_clip.rotated(rotation_angle)
83+
# logger().info(f"Keep rotation angle {rotation_angle} for video")
8484

8585
video_output_file = os.path.join(output_directory, filename + "_video.mp4")
8686
video_clip_without_audio.write_videofile(

0 commit comments

Comments
 (0)