Skip to content

Instantly share code, notes, and snippets.

@pogorelov-ss
Created June 11, 2016 20:57
Show Gist options
  • Save pogorelov-ss/73d29b1728076b821d424e4749eb9b6c to your computer and use it in GitHub Desktop.
Save pogorelov-ss/73d29b1728076b821d424e4749eb9b6c to your computer and use it in GitHub Desktop.
#
INPUT="$1"
for i in *.MP4 ; do
ffmpeg -i "$i" -threads 4 -r 50 -an -filter:v "setpts=0.12*PTS" "/home/pssu/Videos/avi/$i.avi"
sleep 3
done
#
ffmpeg -f concat -i <(for f in *.avi; do echo "file '$PWD/$f'"; done) -c copy /home/pssu/Videos/result.avi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment