aalex / toonloop

Live animation software
http://www.toonloop.com
GNU General Public License v3.0
22 stars 7 forks source link

Loop image with GStreamer #13

Open aalex opened 10 years ago

aalex commented 10 years ago

mkdir -p /tmp/images; i=0; rm -f /tmp/images/; for f in .jpg; do echo ln -s $(pwd)/$f /tmp/images/$(printf "%05d" $i).jpg; ((i++)); done

gst-launch-1.0 multifilesrc location="/tmp/images/%04d.jpg" index=0 caps="image/jpeg,framerate=(fraction)12/1" loop=true ! jpegdec ! videoconvert ! xvimagesink