I copied the very first example line basically from https://trac.ffmpeg.org/wiki/Slideshow
It prints 'doin shit' and 'done' with no errors, but I don't see any stupid mp4 in my c:\python27\mypy folder. Also my windows 7 is total shit (kinda like how ffmpeg is total shit and python is total shit), I go start/and type 'ffmpeg' in the stupid search box. It doesn't find shit. Of course it never finds anything else either, maybe indexing is turned off or something. Isn't it great to not be able to locate files on your computer? Why would you want to do that? Just part of the new world order sabotaging all computation. They have working hard drive search but keep it secret for their computers and roll out this fail search for all their pawns. Nothing works, you can't make money anywhere, and we're all rental slaves in a giant kleptocracy where it's illegal to homestead your own land.
It prints 'doin shit' and 'done' with no errors, but I don't see any stupid mp4 in my c:\python27\mypy folder. Also my windows 7 is total shit (kinda like how ffmpeg is total shit and python is total shit), I go start/and type 'ffmpeg' in the stupid search box. It doesn't find shit. Of course it never finds anything else either, maybe indexing is turned off or something. Isn't it great to not be able to locate files on your computer? Why would you want to do that? Just part of the new world order sabotaging all computation. They have working hard drive search but keep it secret for their computers and roll out this fail search for all their pawns. Nothing works, you can't make money anywhere, and we're all rental slaves in a giant kleptocracy where it's illegal to homestead your own land.
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 31 32 33 34 35 36 37 38 39 40 |
import pygame,time,copy,math,random,sys,traceback,ffmpeg,os def zeroprefix(n): ndigits = 6 numzeros = ndigits - len ( str (n)) return ' '.join([' 0 ' for i in range (numzeros)]) + str (n) sw = 64 sh = 64 screen = pygame.display.set_mode((sw,sh)) try : cc = 0 running = True while running: print cc for e in pygame.event.get(): if e. type = = pygame.QUIT: running = False screen.fill(( 255 , 255 , 255 )) if cc % 8 = = 0 : screen.fill(( 0 , 0 , 0 )) else : screen.fill(( 255 , 255 , 255 )) pygame.image.save(screen, 'img' + zeroprefix(cc) + '.bmp' ) cc + = 1 if cc = = 32 : running = False print 'doin shit' os.system( "ffmpeg -r 8.33333333 -i img%06d.bmp -vcodec mpeg4 -y c:\mypy\movie.mp4" ) #os.system('ffmpeg -framerate 8.33333333 -i img%06d.bmp c:\mypy\output.mp4') print 'done' except Exception, e: tb = sys.exc_info()[ 2 ] traceback.print_exception(e.__class__, e, tb) pygame.quit() |
User has been warned for this post. Reason: Poe's Law