Recherche avancée

Médias (91)

Autres articles (62)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Liste des distributions compatibles

    26 avril 2011, par

    Le tableau ci-dessous correspond à la liste des distributions Linux compatible avec le script d’installation automatique de MediaSPIP. Nom de la distributionNom de la versionNuméro de version Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    Si vous souhaitez nous aider à améliorer cette liste, vous pouvez nous fournir un accès à une machine dont la distribution n’est pas citée ci-dessus ou nous envoyer le (...)

Sur d’autres sites (6309)

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

  • 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

  • Revision d553cc10dc : Merge "Fixed a crash windows build"

    29 mai 2014, par Yaowu Xu

    Merge "Fixed a crash windows build"