Recherche avancée

Médias (91)

Autres articles (59)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

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

  • webpdec : Fix decoding of the huffman group indices.

    3 juillet 2014, par Justin Ruggles
    webpdec : Fix decoding of the huffman group indices.
    

    Per the specification, "The red and green components of a pixel
    define the meta Huffman code used in a particular block of the ARGB
    image."

    • [DBH] libavcodec/webp.c
  • dxva : DXVA2_ModeHEVC_VLD_Main10 does not support Main

    10 juillet 2017, par wm4
    dxva : DXVA2_ModeHEVC_VLD_Main10 does not support Main
    

    This mode apparently does not support decoding of HEVC Main (8 bit).
    With D3D11 and Intel drivers on Windows 10 I get green corruption, while
    using DXVA2_ModeHEVC_VLD_Main works.

    Signed-off-by : Anton Khirnov <anton@khirnov.net>

    • [DBH] libavcodec/dxva2.c
  • Convert wav to mp3 using Meteor FS Collections on Startup

    28 juillet 2015, par TheBetterJORT

    I’m trying to transcode all wav files into a mp3 using Meteor and Meteor FS Collections. My code works when I upload a wav file to the uploader — That is it will convert the wav to a mp3 and allow me to play the file. But, I’m looking for a Meteor Solution that will transcode and add the file to the DB if the file is a wav and exist in a certain directory. According to the Meteor FSCollection it should be possible if the files have already been stored. Here is their example code : *GM is for ImageMagik, I’ve replaced gm with ffmpeg and installed ffmpeg from atmosphereJS.

    Images.find().forEach(function (fileObj) {
     var readStream = fileObj.createReadStream('images');
     var writeStream = fileObj.createWriteStream('images');
     gm(readStream).swirl(180).stream().pipe(writeStream);
    });

    I’m using Meteor-CollectionFS [https://github.com/CollectionFS/Meteor-CollectionFS]-

    if (Meteor.isServer) {
     Meteor.startup(function () {
           Wavs.find().forEach(function (fileObj) {
         var readStream = fileObj.createReadStream('.wavs/mp3');
         var writeStream = fileObj.createWriteStream('.wavs/mp3');
         this.ffmpeg(readStream).audioCodec('libmp3lame').format('mp3').pipe(writeStream);
         Wavs.insert(fileObj, function(err) {
         console.log(err);
       });
         });
         });
    }

    And here is my FS.Collection and FS.Store information. Currently everything resides in one JS file.

    Wavs = new FS.Collection("wavs", {
     stores: [new FS.Store.FileSystem("wav"),
       new FS.Store.FileSystem("mp3",

       {
         path: '~/wavs/mp3',
         beforeWrite: function(fileObj) {
           return {
             extension: 'mp3',
             fileType: 'audio/mp3'
           };
         },
         transformWrite: function(fileObj, readStream, writeStream) {
           ffmpeg(readStream).audioCodec('libmp3lame').format('mp3').pipe(writeStream);
         }
       })]
    });

    When I try and insert the file into the db on the server side I get this error : MongoError : E11000 duplicate key error index :

    Otherwise, If I drop a wav file into the directory and restart the server, nothing happens. I’m new to meteor, please help. Thank you.