Skip to content

Commit

Permalink
🗃️ Automatically use WebM container for AV1 + opus
Browse files Browse the repository at this point in the history
  • Loading branch information
database64128 committed Aug 25, 2021
1 parent a772e17 commit af895e0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions YoutubeDl.Wpf/ViewModels/HomeViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,11 @@ private void StartDownload()
dlProcess.StartInfo.ArgumentList.Add("--merge-output-format");
dlProcess.StartInfo.ArgumentList.Add($"{Settings.Container}");
}
else if (Settings.Format.Contains("AV1 + Opus WebM"))
{
dlProcess.StartInfo.ArgumentList.Add("--merge-output-format");
dlProcess.StartInfo.ArgumentList.Add("webm");
}
}
else if (Settings.Container != "Auto") // custom container
{
Expand Down

0 comments on commit af895e0

Please sign in to comment.