Browse Source

Log status

pull/2/merge
Luke Childs 8 years ago
parent
commit
8ee5d34bf7
  1. 3
      gifgen

3
gifgen

@ -46,5 +46,8 @@ input_filename=${input##*/}
output=${input_filename%.*}.gif
# Encode GIF
echo "Generating palette..."
ffmpeg -v warning -i $input -vf "fps=$fps,palettegen" -y $palette
echo "Encoding GIF..."
ffmpeg -v warning -i $input -i $palette -lavfi "fps=$fps [x]; [x][1:v] paletteuse" -y $output
echo "Done!"

Loading…
Cancel
Save