Recherche avancée

Médias (91)

Autres articles (52)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

Sur d’autres sites (8213)

  • Updated the AMD module requirements.

    12 juin 2013, par blueimp
    Updated the AMD module requirements.
  • Running a 2-pass video conversion using Python's subprocess module and ffmpeg

    22 novembre 2012, par ensnare

    I'm trying to convert a bunch of videos to play on my iPad. I'm using the subprocess module, which from what I understand launches a binary in a separate process from my script. I'm not sure how to handle 2-pass encoding which requires that the first process terminate before the second begin.

    Here is my code :

    def convert(filename):
     extension = filename[-3:]

     destination_filename_720 = filename[-4:] + '-a720p' + '.mp4'
     destination_filename_1080 = filename[-4:] + '-a1080p' + '.mp4'

     p = subprocess.Popen(['ffmpeg','-i', str(filename) ,
                           '-acodec' , 'aac' ,
                           '-ab' , '160k' ,
                           '-ac' , '2' ,
                           '-vcodec' , 'libx264' ,
                           '-strict' , '-2' ,
                           '-vpre' , 'ipod640' ,
                           '-threads' , '8' ,
                           '-s' , '1280x720' ,
                           '-b:v' , '2000k' ,
                           '-pass' , '1' ,
                           '-y' ,
                           destination_filename_720])

     p = subprocess.Popen(['ffmpeg','-i', str(filename) ,
                           '-acodec' , 'aac' ,
                           '-ab' , '160k' ,
                           '-ac' , '2' ,
                           '-vcodec' , 'libx264' ,
                           '-strict' , '-2' ,
                           '-vpre' , 'ipod640' ,
                           '-threads' , '8' ,
                           '-s' , '1280x720' ,
                           '-b:v' , '2000k' ,
                           '-pass' , '2' ,
                           '-y' ,
                           destination_filename_720])

    As soon as the convert() function is called, both processes are spawned immediately.

    The second process fails because the first process hasn't yet finished.

    How can I fix this ? Or, is there a better way ?

  • Revision 5f76080a4d : ads2gas : Factorize thumb instruction replacements into a separate perl module C

    15 mai 2013, par Martin Storsjo

    Changed Paths :
     Modify /build/make/Makefile


     Modify /build/make/ads2gas.pl


     Add /build/make/thumb.pm



    ads2gas : Factorize thumb instruction replacements into a separate perl module

    Change-Id : Ie7b83ad696e4743c844df8e9ef5899aca65cc92e