Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (36)

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

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (5589)

  • New builds for PHP 5.4 and PHP 5.3

    29 novembre 2012, par Mikko Koppanen — Imagick

    It’s been a while since I last updated this blog (September 2009 to be exact). Time flies ! Anyway, here comes the actual content : updated imagick binaries for PHP 5.3 and PHP 5.4. The download package also includes ImageMagick 6.8.0 binaries compiled with VC9 (Visual Studio 2008). I noticed that the official ImageMagick builds are now Visual Studio 2010 and that wouldn’t work well with PHP compiled with 2008.

    I am not sure if I am violating any license in distributing ImageMagick binaries but if I do, please let me know and I will remove them. The binaries are just stock ImageMagick 6.8.0, which you can download from http://imagemagick.org/.

    In order to get things running you should add the ImageMagick DLL directory into PATH, add the imagick extension to php.ini and things should be running. At least hopefully.

    The download link for the binaries is here : imagick-php54-php53.tgz.

  • FFMPEG on Fedora but PHP Compilation confliction

    11 octobre 2013, par UMI

    I have running Xampp with PHP5.5 on Fedora from Apache Friend, with default settings what the installer package do on Linux.

    When I install FFMPEG successfully and try to load from php.ini it always says :

    *

    11-Oct-2013 14:05:51 Europe/Berlin] PHP Warning:  PHP Startup: ffmpeg: Unable to initialize module
    Module compiled with module API=20060613
    PHP    compiled with module API=20121212
    These options need to match
    in Unknown on line 0

    *

    The only thing which is confusing me is that when I did phpize even that I already installed xampp server which means I have PHP running. FFMPEG phpize did not work and I had to install php-devel. Does that mean that FFMPEG is configured with PHP, other than the installed with XAMPP ? I am not sure what is happening. Whatever I do I always receive this error message in php_error_log file.

    It is amazing :) that I just run below command to see what version of PHP is, I have and below are the results which are shocking one because I am in a feeling that I have PHP 5.5 installed and running from XAMMP.

    [root@localhost ~]# php -v
    PHP 5.2.6 (cli) (built: May  8 2008 08:53:44)
    Copyright (c) 1997-2008 The PHP Group
    Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies

    How can I get this covered that if I simple install XAMPP server on linux and want to install and configure FFMPEG along with ?

  • trying to figure out what's wrong in the code using ffmpeg.exe

    5 octobre 2013, par timmack

    I'm trying to upload videos and convert it to flv format as well as capturing image as thumbnails.I'm using visual web developer 2008 express edition.I've done so many research online and found something using ffmpeg.exe so I've downloaded an ffmpeg.exe and has tried so many codes but unfortunately I'm still unable to make it work.I want to save the converted video file to a certain folder in my server as well as the captured image as for its thumbnails after uploading the video.I'm not sure if the ffmpeg.exe has the problem or my codes but I suspect it's in my codes.I need somebody to help me find out what's something missing on my codes to make it work. Here's my codes below for your reference. Thanks

    protected void Button1_Click(object sender, EventArgs e)
       {
           //Convert the Video to flv format with FFMPEG
         string  ffmpegPath = Server.MapPath("~/ffmpeg/ffmpeg.exe");
         string tempLocation = Server.MapPath("~/tempVideos/");
         string mediaOutPath = Server.MapPath("~/Videos/");
         string thumbOutPath = Server.MapPath("~/Thumbs/");
         string currentFile = System.IO.Path.GetFileName(FileUpload1.PostedFile.FileName);



    //Upload the video    

    string vidPath = "Videos/" + outputfile;

    if (FileUpload1.PostedFile != null && FileUpload1.PostedFile.FileName != "")
    {
       try
    {
       // 10240 KB means 10MB, You can change the value based on your requirement
       if (FileUpload1.PostedFile.ContentLength > 1024000000)
       {
           Page.ClientScript.RegisterClientScriptBlock(typeof(Page), "Alert", "alert('File is too big.')", true);
       }
       else
       {
           //then save it to the Folder


           Convert(tempLocation + currentFile, mediaOutPath + currentFile, thumbOutPath + currentFile);

          FileUpload1.PostedFile.SaveAs(tempLocation + currentFile);


       }
            }
    catch (Exception ex)
    {
    Response.Write("Error: " + ex.Message);
    }
    }

    Page.ClientScript.RegisterClientScriptBlock(typeof(Page), "Alert", "alert('Video file has been uploaded!')", true);
    FlashVideo1.VideoURL = "tempVideos/" + currentFile;
    }

    protected void Convert(string fileIn, string fileOut, string thumbOut)
    {
    try
    {

       string mediaOutPath = Server.MapPath("~/Videos/");
       string thumbOutPath = Server.MapPath("~/Thumbs/");
       string inputfile = FileUpload1.PostedFile.FileName;

       string infile = Path.GetFileNameWithoutExtension(inputfile);

       fileIn = Path.GetFullPath( inputfile);

       fileOut = mediaOutPath + inputfile;
       thumbOut = inputfile;

    string ffmpegPath = Server.MapPath("~/ffmpeg/ffmpeg.exe");
    System.Diagnostics.Process proc = new System.Diagnostics.Process();
    proc.EnableRaisingEvents = true;
    proc.StartInfo.FileName = ffmpegPath;


    //converting video to flv format
    proc.StartInfo.Arguments = "-i " + fileIn + "-ar 22050 -ab 32 -f flv -s 320×240 -aspect 4:3 -y" + fileOut.Split('.')[0] + ".flv";
    proc.StartInfo.UseShellExecute = false;
    proc.StartInfo.CreateNoWindow = false;
    proc.StartInfo.RedirectStandardError = true;
    proc.StartInfo.RedirectStandardOutput = true;
    proc.Start();
    proc.WaitForExit();

    //capturing thumbnail image of the video
    proc.StartInfo.Arguments = "-i \"{0}\" -an -y -s 320x240 -ss {1} -vframes 1 -f image2 \"{2}\"" + fileIn + thumbOut.Split('.')[0] + ".jpg";
    proc.StartInfo.UseShellExecute = false;
    proc.StartInfo.CreateNoWindow = false;
    proc.StartInfo.RedirectStandardError = true;
    proc.StartInfo.RedirectStandardOutput = true;
    proc.Start();
    proc.WaitForExit();
    proc.Close();
    }
    catch (Exception ex)
    {
    Response.Write("Error: " + ex.Message);
    }
    }