0221名無しさん@ピンキー
2018/01/23(火) 12:24:59.52$wc=New-Object System.Net.WebClient
$wc.Encoding = [System.Text.Encoding]::UTF8
$source=$wc.DownloadString($orgurl)
if ($source -match '(http://(.*?).yamvideo.com/[^"]+)"'){
return $Matches[1]
}
return "";
}
$url = Read-Host "URL?"
$streamurl = findurl($url)
if ($streamurl.Length -lt 1) { exit }
&.\ffmpeg -i $streamurl -c copy temp.mp4