Advertisement
Guest User

ffmpeg webm to mp3

a guest
Sep 14th, 2019
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. cd "<ENTER YOUR PATH TO THE FFMPEG FOLDER>"
  2. $oplist = gci -Path "<ENTER YOUR PATH TO THE FFMPEG FOLDER>*" -Include *.webm | Select name -ExpandProperty name
  3. $i = 0  
  4. foreach ($op in $oplist){
  5. $opTitle = [IO.Path]::GetFileNameWithoutExtension($op)
  6. .\ffmpeg.exe -i .\$op .\$opTitle.mp3
  7. $i=$i+1
  8. Write-Progress -activity "Downloading MP3's. . ." -status "Scanned: $i of $($oplist.Count)" -percentComplete (($i / $oplist.Count)  * 100)
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement