Recherche avancée

Médias (1)

Mot : - Tags -/intégration

Autres articles (95)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

  • L’utiliser, en parler, le critiquer

    10 avril 2011

    La première attitude à adopter est d’en parler, soit directement avec les personnes impliquées dans son développement, soit autour de vous pour convaincre de nouvelles personnes à l’utiliser.
    Plus la communauté sera nombreuse et plus les évolutions seront rapides ...
    Une liste de discussion est disponible pour tout échange entre utilisateurs.

Sur d’autres sites (12063)

  • 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)
  • 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
  • Revision a32a086d23 : Enable sse2 implmentation of 8x8 ADST/DCT This commit makes use of the butterfl

    20 juin 2013, par Jingning Han

    Changed Paths :
     Modify /vp9/common/vp9_rtcd_defs.sh


     Modify /vp9/encoder/x86/vp9_dct_sse2.c



    Enable sse2 implmentation of 8x8 ADST/DCT

    This commit makes use of the butterfly structure to enable the sse2
    version implementation of 8x8 ADST/DCT hybrid transform coding.

    The runtime of hybrid transform module goes down from 1170 cycles
    to 245 cycles. Overall speed-up around 1.5%.

    Change-Id : Ic808ffd21ece8a9d0410d8c0243d7b6c28ac3b3f