Recherche avancée

Médias (2)

Mot : - Tags -/map

Autres articles (38)

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (8097)

  • 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"