Add some excludes and reencode video to correct format
This commit is contained in:
parent
12d17f8dd2
commit
cc5214b1ef
6
dl.ps1
6
dl.ps1
@ -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
|
Loading…
Reference in New Issue
Block a user