Recherche avancée

Médias (33)

Mot : - Tags -/creative commons

Autres articles (102)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (11099)

  • ImageMagick unable to open Paperclip upload

    4 décembre 2014, par Mark Boulder

    Why is ImageMagick unable to open my Paperclip upload ?

    I need to be able to run a few checks on it.

    Magick::ImageMagickError in TopicsController#create
    unable to open image `file.png': No such file or directory @ error/blob.c/OpenBlob/2638
    Extracted source (around line #18):
    file = Magick::ImageList.new(attachment.instance_read(:file_name))

    app/models/photo.rb:18:in `new'
    app/models/photo.rb:18:in `is_something?'
    app/models/photo.rb:3:in `block in '

    photo.rb

    class Photo < ActiveRecord::Base
     ATTACHMENT_STYLES = lambda do |attachment|
       if is_something?(attachment)
         ...
       else
         ...
       end
     end
     ATTACHMENT_PROCESSORS = lambda { |attachment| is_something?(attachment) ? [:some_processor] : [:thumbnail] }

     ...

     def self.is_animated_gif?(attachment)
       file = Magick::ImageList.new(attachment.instance_read(:file_name))

       true if file.something
     end
    end
  • Anomalie #3931 : Mettre à jour les url dans spip_loader

    21 avril 2017

    Yep, j’imaginais un test Oui => https / Non => http

    C’est pas pressé hein (vu qu’avec le loader je vois pas trop de données ultra-sensibles et perso) ?
    On peut laisser des bises ici ? Allez, go ... :-* :-* :-* :-* :-*

  • How to make mp4 from MediaStream in Chrome browser

    18 février 2017, par otiai10

    MediaRecorder.isTypeSupported('video/mp4') is false in Chrome. So I found MediaStreamRecorder https://github.com/streamproc/MediaStreamRecorder then I did

    var recorder = new MediaStreamRecorder(stream, {
     mimeType: 'video/mp4',
    });
    // also
    recorder.mimeType = 'video/mp4';

    But the output is webm as I checked with ffmpeg -i

    Input #0, matroska,webm, from '/Users/otiai10/Downloads/example.mp4':
     Metadata:
       encoder         : Chrome
     Duration: N/A, start: 0.000000, bitrate: N/A
       Stream #0:0(eng): Video: vp8, yuv420p, 640x480, SAR 1:1 DAR 4:3, 30 fps, 30 tbr, 1k tbn, 1k tbc (default)

    The video is playable in Chrome but NOT on QuickTime Player, in evidence.

    Here are more details and (not !) working example of this problem.

    It was said muaz-khan/Ffmpeg.js can convert webm to mp4, but the file size matters.

    Is there any workaround to record and save as mp4 ?