Add some excludes and reencode video to correct format

This commit is contained in:
Isaac Shoebottom 2023-11-14 21:00:48 -04:00
parent 12d17f8dd2
commit cc5214b1ef

6
dl.ps1
View File

@ -1,6 +1,6 @@
$Output = [int] (Get-ChildItem -Exclude *.ps1, *.txt, *.html, *.js, *.css | Select-Object BaseName -Last 1 | Select-Object -ExpandProperty BaseName) $Output = [int] (Get-ChildItem -Exclude *.ps1, *.txt, *.html, *.js, *.css, *.exe | Select-Object BaseName -Last 1 | Select-Object -ExpandProperty BaseName)
$Output++ $Output++
$Output = $Output.ToString().PadLeft(5, '0') + ".mp4" $Output = $Output.ToString().PadLeft(5, '0') + ".mp4"
yt-dlp.exe $args[0] -o $Output # yt-dlp.exe --cookies-from-browser "vivaldi" $args[0] -o $Output
yt-dlp.exe $args[0] --recode-video mp4 -o $Output
./generate-max.ps1 ./generate-max.ps1