A bunch of scriptlets I created or found
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
$url = $args[0]
|
|
|
|
|
$file = $args[1]
|
|
|
|
|
|
|
|
|
|
if($url -eq $null)
|
|
|
|
|
{
|
|
|
|
|
$url = Read-Host -Prompt "Enter url that trails with .m3u8"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if($file -eq $null)
|
|
|
|
|
{
|
|
|
|
|
$file = Read-Host -Prompt "Enter destination file+extension"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
ffmpeg -i $url -c copy -bsf:a aac_adtstoasc $file
|