Recherche avancée

Médias (0)

Mot : - Tags -/diogene

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (54)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

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

  • using node-fluent-ffmpeg to transcode with ffmpeg on windows not working

    25 juillet 2015, par jansmolders86

    I’m trying to use the module node-fluent-ffmpeg (https://github.com/schaermu/node-fluent-ffmpeg) to transcode and stream a videofile. Since I’m on a Windows machine, I first downloaded FFMpeg from the official site (http://ffmpeg.zeranoe.com/builds/). Then I extracted the files in the folder C :/FFmpeg and added the path to the system path (to the bin folder to be precise). I checked if FFmpeg worked by typing in the command prompt : ffmpeg -version. And it gave a successful response.

    After that I went ahead and copied/altered the following code from the module (https://github.com/schaermu/node-fluent-ffmpeg/blob/master/examples/express-stream.js) :

    app.get('/video/:filename', function(req, res) {
    res.contentType('avi');
    console.log('Setting up stream')

    var stream = 'c:/temp/' + req.params.filename
    var proc = new ffmpeg({ source: configfileResults.moviepath + req.params.filename, nolog: true, timeout: 120, })
       .usingPreset('divx')
       .withAspect('4:3')
       .withSize('640x480')
       .writeToStream(res, function(retcode, error){
           if (!error){
               console.log('file has been converted succesfully',retcode);
           }else{
               console.log('file conversion error',error);
           }
       });
    });

    I’ve properly setup the client with flowplayer and tried to get it running but
    nothing happens. I checked the console and it said :

    file conversion error timeout

    After that I increased the timeout but somehow, It only starts when I reload the page. But of course immediately stops because of the page reload. Do I need to make a separate node server just for the transcoding of files ? Or is there some sort of event I need to trigger ?

    I’m probably missing something simple but I can’t seem to get it to work.
    Hopefully someone can point out what I’ve missed.

    Thanks

  • Running ffmpeg.exe through windows service fails to complete while dealing with large files

    28 avril 2013, par Harun

    I am using ffmpeg.exe to convert video files to flv format. For that purpose i use a windows service to run the conversion process in background. While trying to convert large files(i experienced it when the file size is >14MB) through windows service it gets stuck at the line which starts the process(ie, process.start();).

    But when i tried to execute ffmpeg.exe directly from command prompt it worked with out any problems.

    My code in windows service is as follows :

    private Thread WorkerThread;
    protected override void OnStart(string[] args)
    {

      WorkerThread = new Thread(new ThreadStart(StartHandlingVideo));
      WorkerThread.Start();
    }

    protected override void OnStop()
    {
      WorkerThread.Abort();
    }

    private void StartHandlingVideo()
    {  
      FilArgs = string.Format("-i {0} -ar 22050 -qscale 1 {1}", InputFile, OutputFile);
      Process proc;
      proc = new Process();

      try
      {

        proc.StartInfo.FileName = spath + "\\ffmpeg\\ffmpeg.exe";
        proc.StartInfo.Arguments = FilArgs;
        proc.StartInfo.UseShellExecute = false;
        proc.StartInfo.CreateNoWindow = false;
        proc.StartInfo.RedirectStandardOutput = true;
        proc.StartInfo.RedirectStandardError = true;

        eventLog1.WriteEntry("Going to start process of convertion");

        proc.Start();

        string StdOutVideo = proc.StandardOutput.ReadToEnd();
        string StdErrVideo = proc.StandardError.ReadToEnd();

        eventLog1.WriteEntry("Convertion Successful");
        eventLog1.WriteEntry(StdErrVideo);              
    }
    catch (Exception ex)
    {
        eventLog1.WriteEntry("Convertion Failed");
        eventLog1.WriteEntry(ex.ToString());            
    }
    finally
    {
        proc.WaitForExit();
        proc.Close();
    }

    How can I get rid of this situation.

  • Windows FFMPEG will not find my files at all [migrated]

    22 mars 2014, par user2441247

    I have a folder full of images that go from 0 to whatever number, and I need to turn these images to a video. They are all .PNG files. Here is my command I am using :

    ffmpeg.exe -f image2 -framerate 30 -pattern_type sequence -start_number 1 -r 30 -i "img%%04d.jpg" -s 1280x720 test.avi

    When I run this I get this error :

    [image2 @ 002be580] Could find no file with path 'img%04d.jpg' and index in the range 1-5

    img%04d.jpg: No such file or directory

    What can I change to get this to work ?