Recherche avancée

Médias (0)

Mot : - Tags -/diogene

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

Autres articles (48)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

Sur d’autres sites (9636)

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

  • ffmpeg installation on windows 8 xampp v3.2.1 php 5.5.3

    4 mai 2014, par user3454835

    I am trying to install ffmpeg extension on windows 8 xampp v3.2.1 for php 5.5.3.

    I have files of ffmpeg and i am doing following steps

    1. Placing file php_ffmpeg.dll in xampp/php/ext/
    2. Rest files i am keeping in windows/system32
    3. I have added extension=php_ffmpeg.dll in php.ini
    4. Restarted xampp

    but when i see php_info then my extension ffmpeg still not enabled.

    I think ffmpeg files are not compatible to php 5.5.3. May be i have old files so will you please provide me new and correct ffmpeg files for php 5.5.3

    or do you know why i am facing this problem ? any solution for this