Recherche avancée

Médias (0)

Mot : - Tags -/performance

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (74)

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

Sur d’autres sites (9677)

  • Revision 406ec6b62e : Fix rollover and pass 1 time estimate Fixes a rollover of the cx_time variable

    27 février 2013, par John Koleszar

    Changed Paths : Modify /vpxenc.c Fix rollover and pass 1 time estimate Fixes a rollover of the cx_time variable for encodes that take over 4200 seconds. Also enable the time estimate in first pass. Change-Id : Ib5a98ee71bccd79a804d709cec7260651d0b7141

  • 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 e189edfeb1 : Initialize pass variable in tile test. Change-Id : I7977694223521404fc69f29ae2cf

    1er mars 2013, par Ronald S. Bultje

    Changed Paths : Modify /test/encode_test_driver.cc Modify /test/tile_independence_test.cc Initialize pass variable in tile test. Change-Id : I7977694223521404fc69f29ae2cff03e36e87299