Difference between revisions of "PNG To Video"

From Hack Sphere Labs Wiki
Jump to: navigation, search
(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...")
 
(No difference)

Latest revision as of 16:56, 28 August 2014

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