Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
Swith to default encoding preset
Browse files Browse the repository at this point in the history
  • Loading branch information
kelciour committed Oct 9, 2020
1 parent 5bb2e7c commit 93fe7d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion playphrase.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def create_fragments(search_phrase, clips, export_mode, output_dir):

t_fade = 0.2
af = "afade=t=in:st=%s:d=%s,afade=t=out:st=%s:d=%s" % (0, t_fade, t - t_fade, t_fade)
video_encoding_mode = "ultrafast"
video_encoding_mode = "medium"

if export_mode["audio"]:
cmd = ["ffmpeg", "-y", "-ss", str(ss), "-i", video_file, "-t", str(t), "-af", af, fragment_filename + ".mp3"]
Expand Down

0 comments on commit 93fe7d3

Please # to comment.