Recherche avancée

Médias (1)

Mot : - Tags -/bug

Autres articles (110)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

Sur d’autres sites (17504)

  • How to install opencv_contrib on Windows ?

    6 mai 2017, par How to code

    I want to use the function createFisherFaceRecognizer() in python,but when I wrote down model = cv2.createFisherFaceRecognizer() or cv2.face.createFisherFaceRecognizer()
    Error will occurs :

    Traceback (most recent call last) :
    File "C :\Users\Administrator\Desktop\My projects\test\RecognizeMe.py", line 5, in
    model = cv2.face.createFisherFaceRecognizer()
    AttributeError : ’module’ object has no attribute ’face’

    I referenced the methods online and found that I should install opencv_contrib.But I was stucked when I was configureing the opencv using CMake.
    Error :

    CMake Error at cmake/OpenCVUtils.cmake:895 (file) : file DOWNLOAD
    HASH mismatch

    for file: [E:/opencv-3.1.0/sources/opencv-3.1.0/3rdparty/ffmpeg/downloads/35fe6ccdda6d7a04e9056b0d73b98e76/opencv_ffmpeg_64.dll]
     expected hash: [35fe6ccdda6d7a04e9056b0d73b98e76]
       actual hash: [5171a37169c5e695c556c85dc3103d13]
            status: [28;"Timeout was reached"]

    Call Stack (most recent call first) : 3rdparty/ffmpeg/ffmpeg.cmake:15
    (ocv_download) cmake/OpenCVFindLibsVideo.cmake:206 (include)
    CMakeLists.txt:536 (include)

    CMake Error at cmake/OpenCVUtils.cmake:899 (message) : Failed to
    download opencv_ffmpeg_64.dll. Status=28 ;"Timeout was reached" Call
    Stack (most recent call first) : 3rdparty/ffmpeg/ffmpeg.cmake:15
    (ocv_download) cmake/OpenCVFindLibsVideo.cmake:206 (include)
    CMakeLists.txt:536 (include)

    How to solve this problem ?Thank you for your answer !

  • How to add arbitrary or custom metadata in MP4 ?

    13 avril 2021, par 大大大大萝卜凉

    The MP4 muxer in ffmpeg only allows certain metadata by default. I would like to add :

    


    com.android.model: Mi 10 Pro
xyz: +22.9835+113.3621/
com.android.version: 1
com.android.manufacturer: Xiaomi


    


    How can I add this with ffmpeg ?

    


  • Processing files and then re-uploading with fog and carrierwave fails on production

    2 mars 2015, par Laurie

    So I’m trying to get use carrierwave and fog to upload a file to my server, processing that file using ffmpeg to cut it into multiple small files, then upload those to s3.

    This works locally (no fog, just file storage), but breaks on production with this error :

    NoMethodError: undefined method 'to_file' for #CarrierWave::Storage::Fog::File:0x0000000639a458>

    And this trace :

    /var/deploy/webapp/web_head/shared/bundle/ruby/2.2.0/gems/carrierwave-0.10.0/lib/carrierwave/storage/fog.rb 259:in `store'
    …gems/carrierwave-0.10.0/lib/carrierwave/storage/fog.rb:  80:in `store!'
    …s/carrierwave-0.10.0/lib/carrierwave/uploader/store.rb:  59:in `block in store!'
    …rrierwave-0.10.0/lib/carrierwave/uploader/callbacks.rb:  17:in `with_callbacks'
    …s/carrierwave-0.10.0/lib/carrierwave/uploader/store.rb:  58:in `store!'
    …2.2.0/gems/carrierwave-0.10.0/lib/carrierwave/mount.rb: 375:in `store!'
    …2.2.0/gems/carrierwave-0.10.0/lib/carrierwave/mount.rb: 207:in `store_audio!'
    …/20150227144932/app/controllers/podcasts_controller.rb:  60:in `update'
    …2.0/gems/actionview-4.2.0/lib/action_view/rendering.rb:  30:in `process'
    …_language-2.0.5/lib/http_accept_language/middleware.rb:  14:in `call'
    …red/bundle/ruby/2.2.0/gems/rack-1.6.0/lib/rack/etag.rb:  24:in `call'
    …/ruby/2.2.0/gems/rack-1.6.0/lib/rack/conditionalget.rb:  38:in `call'
    …red/bundle/ruby/2.2.0/gems/rack-1.6.0/lib/rack/head.rb:  13:in `call'
    …/2.2.0/gems/rack-1.6.0/lib/rack/session/abstract/id.rb: 225:in `context'
    …/2.2.0/gems/rack-1.6.0/lib/rack/session/abstract/id.rb: 220:in `call'

    So, I have two uploaders. The uploader for the small chopped up audio files just sets the storage to fog, that’s it.

    After uploading the big audio file I run this processing function in the uploader (though the error doesn’t seem to come from here) :

    def split
     directory = File.dirname(current_path)
     tmpfile = File.join(directory,'tmpfile.mp3')
     File.rename(current_path,tmpfile)
     File.chmod(0644,tmpfile)

     sound = FFMPEG::Movie.new(tmpfile)
     @model.length = Mp3Info.open(tmpfile).length.round


     i=0
     number_of_lines= @model.ordered_lines.length
     lines = @model.ordered_lines
     while icode>

    Any ideas ?