Flying Bug

Debugging and Being Debugged

Create animated GIF thumbnail from videos

 Triviality
Sep 112018
 
for D in *.mp4; do
    NAME=$(echo $D | cut -f 1 -d \.)
    ffmpeg -i $D -vf fps=1/20 $NAME-%03d.jpg
    convert -resize 320x240 -delay 30 -loop 0 $NAME-*.jpg $NAME.gif
    rm $NAME-*.jpg
done

 

 Posted by Hang at 18:22  Tagged with: convert, ffmpeg, imagemagick, mp4, thumbnail

Sorry, the comment form is closed at this time.

  How to delete a record from AWS Route53   Reverse engineering HTTP requests
September 2018
S M T W T F S
  1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30  
« Sep   Nov »

Recent Posts

  • Ubuntu 22.04
  • Goland
  • Move to static site
  • Moving Away from Google
  • Home Media Server

Recent Comments

  • Hang on Goland
  • oldiev on Symfony and Godaddy
  • Hang on How to delete a record from AWS Route53
  • Hang on To-Do List
  • friv on Relationship is the bottleneck

Tags

ada amazon android apache aws cassandra company computer development directshow e90 ec2 free friend gnat godaddy google hadoop home hosting iOS java life linux mac mail mobile mysql nosql org osx performance php project python test ubuntu upgrade vacation virtualization weather windows wordpress work xcode
© 2012 Flying Bug Suffusion theme by Sayontan Sinha