Tag Info

New answers tagged


I use two scripts for this it uses handbreak to do the conversion, but could be modified to user ffmpeg (but remember ffmpeg is depricated). I run process.sh and it finds then loops through, running encode.sh for each file. process.sh if [ "$1" != "" ]; then dir="$1" else dir="/Data/Movies" fi if [ -e /tmp/process.lock ] ; then echo ...


You should be fine if you stick to the Bourne shell syntax, the most import of this for your application should be the for loop. #/bin/ash for filename in *.avi do ffmeg parameters "$filename" done

Top 50 recent answers are included