PNG To Video

From Hack Sphere Labs Wiki
Revision as of 17:56, 28 August 2014 by Webdawg (talk | contribs) (Created page with "=capture script= <pre> #!/bin/bash while : do scrot sleep 1 done </pre> =ffmpeg command= *from http://ubuntuforums.org/showthread.php?t=2173013 <pre> #!/bin/bash #manuall s...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

capture script

#!/bin/bash
while :
do
	scrot
	sleep 1
done

ffmpeg command

#!/bin/bash
#manuall set to 10/1 or 10 frames a second
ffmpeg -r 10/1 -pattern_type glob -i '*.png' -vcodec libx264 -pix_fmt yuv420p -r 25 output.mp4