Advertisement
Guest User

Untitled

a guest
Jul 17th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.50 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. echo "=== Конвертер для SGS"
  4. echo
  5.  
  6. outfile="$1.mp4"
  7.  
  8. echo "Входной файл: $1"
  9. echo "Выходной файл: $outfile"
  10.  
  11. ffmpeg -i $1 -aspect 16:9 -s 800x480 -vcodec libx264 -vpre slow -b 1000k -r 50 \
  12. -acodec libfaac -ab 128k -sameq -pass 1 -f rawvideo -an -y -threads 0 /dev/null && \
  13. ffmpeg -i $1 -aspect 16:9 -s 800x480 -vcodec libx264 -vpre slow -b 1000k -r 50 \
  14. -acodec libfaac -ab 128k -ac 2 -sameq -pass 2 -threads 0 $outfile
  15.  
  16. echo
  17. echo "Готово!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement