remove RecodeVideo, too resource intensive
This commit is contained in:
@@ -154,7 +154,6 @@ func DownloadVideo(out_dir, temp_dir, url string, opts DownloadOptions, progress
|
|||||||
SetExecutable(ytdlpBinary).
|
SetExecutable(ytdlpBinary).
|
||||||
Paths(homePath).
|
Paths(homePath).
|
||||||
Paths(tempPath).
|
Paths(tempPath).
|
||||||
RecodeVideo("mp4").
|
|
||||||
ProgressFunc(100*time.Millisecond, func(prog ytdlp.ProgressUpdate) {
|
ProgressFunc(100*time.Millisecond, func(prog ytdlp.ProgressUpdate) {
|
||||||
if prog.Status == ytdlp.ProgressStatusFinished ||
|
if prog.Status == ytdlp.ProgressStatusFinished ||
|
||||||
prog.Status == ytdlp.ProgressStatusStarting ||
|
prog.Status == ytdlp.ProgressStatusStarting ||
|
||||||
|
|||||||
Reference in New Issue
Block a user