macks posteets tagged librerias  [ Profile ]

Sort by: Date / Title /

  1. 4 years ago
    usando la libreria ffmpeg
    1. import commands
    2. import os
    3.  
    4. def execute():
    5.         cmd = 'c:/ffmpeg/ffmpeg.exe -y -itsoffset -4 -i c:/input.mpg -vframes 1 -s 100x90 -f image2 c:/uploads/img_gen.jpg'
    6.         #c = commands.getoutput(cmd) # linux
    7.         c = os.system(self.cmd) #windows
    8.         return c
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/2058"></script>
  2. 4 years ago
    1. http://code.google.com/p/django-tagging/
    2.  
    3. #instalamos:
    4. setup.py install
    5.  
    6. #agregamos a las aplicaciones en el settings y syncronizamos para crear las tablas en la bd
    7. 1.  INSTALLED_APPS = (
    8.          ....
    9.          'tagging'
    10.  
    11. 2. Run the command  manage.py syncdb
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/1916"></script>

First / Previous / Next / Last / Page 1 of 1 (2 posteets)