Recherche avancée

Médias (91)

Autres articles (98)

  • Taille des images et des logos définissables

    9 février 2011, par

    Dans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
    Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

  • 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 (9537)

  • FFmpeg and Ruby linkage

    9 août 2012, par Thomas Kobber Panum

    I'm getting this error :

    Failed encoding. Errors: no output file created. Full output: dyld: Library not loaded: /usr/local/lib/libogg.0.dylib
    Referenced from: /usr/local/bin/ffmpeg
    Reason: Incompatible library version: ffmpeg requires version 9.0.0 or later, but libogg.0.dylib provides version 6.0.0

    I've installed ffmpeg through brew, and installed both the 'ffmpeg' gem and the 'streamio-ffmpeg' gem.

    Running :

    otool -L /usr/local/lib/libogg.0.dylib

    gives me this output :

    /usr/local/lib/libogg.0.dylib:
       /usr/local/lib/libogg.0.dylib (compatibility version 9.0.0, current version 9.0.0)
       /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 159.1.0)

    The file I'm using ffmpeg in, looks like this :

    # lib/carrierwave/ffmpeg.rb
    require 'streamio-ffmpeg'
    module CarrierWave
     module FFMPEG
       module ClassMethods
         def resample( bitrate )
           process :resample => bitrate
         end
       end

       def resample( bitrate )
         directory = File.dirname( current_path )
         tmpfile   = File.join( directory, "tmpfile" )

         FileUtils.mv( current_path, tmpfile )

         file = ::FFMPEG::Movie.new(tmpfile)
         file.transcode( current_path, :audio_bitrate => bitrate)

         File.delete( tmpfile )
       end
     end
    end
  • Convert AAC (.m4a) files to .mp3 in directory

    25 juillet 2012, par elithrar

    I'm writing a script to convert AAC files to MP3 - specifically so I can burn them to MP3 CD's as iTunes won't transcode on the fly. I've adapted the code from Write a simple python script to convert all .wav files in a specific folder to .mp3 using lame

    It currently converts the first file in the directory and then stops.

    I have a cursory knowledge of Python, but not the subprocess module. Went through the docs and can't see why it is not continuing to process the files.

    #!/usr/bin/env python

    import os
    import os.path
    import sys
    import subprocess

    OUTPUT_DIR = '/Users/matt/Desktop/mp3/'

    def main():
       path = os.getcwd()
       filenames = [
           filename
           for filename
           in os.listdir(path)
           if filename.endswith('.m4a')
           ]

       for filename in filenames:
           subprocess.call([
               "ffmpeg", "-i",
               os.path.join(path, filename),
               "-acodec", "libmp3lame", "-ab", "256k",
               os.path.join(OUTPUT_DIR, '%s.mp3' % filename[:-4])
               ])
           return 0

    if __name__ == '__main__':
       status = main()
       sys.exit(status)
  • Revision 908233253e : Merge "ads2gas : Factorize thumb instruction replacements into a separate perl mo

    22 mai 2013, par Johann

    Merge "ads2gas : Factorize thumb instruction replacements into a separate perl
    module"