Recherche avancée

Médias (91)

Autres articles (95)

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

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

  • Problèmes fréquents

    10 mars 2010, par

    PHP et safe_mode activé
    Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
    La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site

Sur d’autres sites (5553)

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

  • FFMPEG Does not work on Windows Server 2008

    25 août 2011, par Khaldoun

    I have an ASP.NET MVC Web Site ,the user can upload a video and When Done It finish uploading I show him an image extracted from the Video,
    To do this I used the FFMPEG exe to get a frame.
    Everthing works well in the developement machine , when I use the test environement it does not work !!
    I've given the read/write and execute permissions to following folders :
    1. videos(folder that store uploaded video files)
    2. thumbnails (folder that store the thumbnails of videos, captured by ffmpeg)
    3.ffmpeg.exe file at root and given read/write execute permissions to that file also.
    but it does not work.

    var _converter = new ImageConvertor(@System.Configuration.ConfigurationManager.AppSettings["FFmpegExec"].ToString());
               _converter.WorkingPath = Server.MapPath("~/VideoSamples");
               OutputPackage oo = _converter.ConvertToFLV(videoFilepath);
               FileStream outStream = System.IO.File.OpenWrite(Path.Combine(Server.MapPath("~/VideoSamples"), id.ToString() + ".flv"));
               oo.VideoStream.WriteTo(outStream);

    This Code Works on developement env but not in test env !!!
    Any Ideas Please

  • Encoding `pp::VideoFrame` and `pp::AudioBuffer` using ffmpeg

    1er août 2015, par Debanshu Kundu

    I am trying to encode video and audio streams captured using getUserMedia and store them in a file using NACL. My current progress is that I have the pp::VideoFrames and pp::AudioBuffers in NACL code and they am storing them a buffers (arrays) and now I want to pass them to a function which would encode them and mux and store in a container format. I am currently trying to do this using ffmpeg (which is already ported to NACL). I was successfully able to run a sample code for muxing a video and a audio streams (generated in the code itself) using ffmpeg.

    Now I am stuck on converting the video frames and audio samples which I have in the buffers to the format which would be acceptable by ffmpeg’s encoder. As I understand it needs those as objects of AVFrame. But I have no idea how I am going to convert pp::VideoFrame and/or pp::AudioBuffer to AVFrame.