×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Bash
Posted by: Nicolás Romero
Added: Sep 14, 2015 8:22 PM
Modified: Sep 15, 2015 11:47 AM
Views: 11
sh script for convert video with ffmpeg from mp4 to webm
  1. #
  2. #Script bash
  3. #
  4. echo Convertertindo arquivos com FFMPEG
  5. echo Pasta /media/FC8E7D958E7D48E2/visualizacao
  6. cd /media/FC8E7D958E7D48E2/visualizacao
  7. echo lendo pasta e fazendo conversão
  8. for i in *.mp4;
  9.   do name=`echo $i | cut -d'.' -f1`;
  10.   echo $name;
  11.   ffmpeg -i $i -f webm convertidos/$name.webm;
  12. done