Skip to content

Instantly share code, notes, and snippets.

@sacdallago
Created April 21, 2017 13:23
Show Gist options
  • Save sacdallago/0b6b3bd94db4df8edea5217551a84c9f to your computer and use it in GitHub Desktop.
Save sacdallago/0b6b3bd94db4df8edea5217551a84c9f to your computer and use it in GitHub Desktop.
#!/bin/bash
while read i; do
echo "------------"
echo $i
ffmpeg -loglevel error -hwaccel vdpau -n -i "$i" -c:a copy -c:v copy "${i/.trec}_converted.avi"
echo "------------"
done < ./files_to_convert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment