Advertisement
Guest User

Untitled

a guest
Jun 1st, 2016
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. SET outfilename=%cd%\webemka.webm
  2. ffmpeg.exe -i %infilename% -y -ss %start% -t %length% %cd%\output.wav
  3. ffmpeg.exe -i %cd%\output.wav -acodec opus -frame_duration 60 -b:a %audio%k -ac 2 -dtx 1 -map 0:a %outfilename%
  4. call :getFilesize %outfilename%
  5. echo file size is %fileSize%
  6. SET /A bitrate=((8*(10240*1024-%fileSize%))/%length%)/1024
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement