-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unify ffmpeg commands for stream and download
Previously, two ffmpeg commands were executed if the download flag was set. These two commands had hardcoded the same parameters. Further, since at least for the input they had the same task, they unnecessarily caused a lot of load. By unifying into one command with two outputs, the load on my test system dropped noticeably.
- Loading branch information
Showing
1 changed file
with
31 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters