Advertisement
Guest User

Untitled

a guest
Apr 27th, 2015
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.51 KB | None | 0 0
  1. #!/bin/bash
  2. #Convert files using ffmpeg
  3. DIR="/Volumes/Misc/To Convert 2"
  4. for i in $DIR; do ffmpeg -i "$i" -c:v libx264 -crf 19 -preset slow -c:a aac -strict experimental -b:a 192k -ac 2 "/Volumes/Misc/Converted/${i%.*}.m4v"
  5. done
  6.  
  7. ffmpeg version 2.6.1-tessus Copyright (c) 2000-2015 the FFmpeg developers
  8. built with Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)
  9. configuration: --cc=/usr/bin/clang --prefix=/Users/tessus/data/ext/ffmpeg/sw --as=yasm --extra-version=tessus --disable-shared --enable-static --disable-ffplay --enable-gpl --enable-pthreads --enable-postproc --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libx265 --enable-libxvid --enable-libspeex --enable-bzlib --enable-zlib --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libxavs --enable-libsoxr --enable-libwavpack --enable-version3 --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvpx --enable-libgsm --enable-libopus --enable-libmodplug --enable-fontconfig --enable-libfreetype --enable-libass --enable-libbluray --enable-filters --disable-indev=qtkit --disable-indev=x11grab_xcb --enable-runtime-cpudetect
  10. libavutil 54. 20.100 / 54. 20.100
  11. libavcodec 56. 26.100 / 56. 26.100
  12. libavformat 56. 25.101 / 56. 25.101
  13. libavdevice 56. 4.100 / 56. 4.100
  14. libavfilter 5. 11.102 / 5. 11.102
  15. libswscale 3. 1.101 / 3. 1.101
  16. libswresample 1. 1.100 / 1. 1.100
  17. libpostproc 53. 3.100 / 53. 3.100
  18. /Volumes/Misc/ToConvert: Operation not permitted
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement