Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (25)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (5071)

  • Revision 1220b49c89 : arm : Fix building vp8_mse16x16_neon.c with MSVC Use the right return values - v

    16 septembre 2014, par Scott LaVarnway

    Changed Paths :
     Modify /vp8/encoder/arm/neon/vp8_mse16x16_neon.c



    arm : Fix building vp8_mse16x16_neon.c with MSVC

    Use the right return values - vadd_s64 returns int64x1_t, not
    a normal int64_t.

    Change-Id : Ife17213087c1dfb5faaa647f804d2fd140f3a0eb

  • PHP variable into FFMPEG

    14 juillet 2015, par kunal

    i am making web tool which should be able to search the file within the Archive and then get the duration of the video with FFMPEG Code.

    for search the file in the Archive , here is my code !

    $command ='find /mnt/archiev/ -name '.$_POST['MXF'].'.mxf';

       if (!($stream = ssh2_exec($con, $command))) {
                       echo "fail: unable to execute command\n";
                   } else {
                       $errorStream = ssh2_fetch_stream($stream, SSH2_STREAM_STDERR);

                       $FILE = stream_get_contents($stream);

    / check if file exist or not and then run the Next command.

    if(!($FILE))
    {
           echo "file Doesnt Exist in the Archieve. please enter the correct file ID";
           ssh2_exec($con, "logout");
           exit;
    }
    elseif
    {

    $commandA= ffmpeg -i '.$FILE.' 2>&1 | grep "Duration:"';
    (!($stream2 = ssh2_exec($con, $command))) {
                           echo "fail: unable to execute command\n";
                       } else {
                           $errorStream2 = ssh2_fetch_stream($stream2, SSH2_STREAM_STDERR);

                           $Duration = stream_get_contents($stream);
                           var_dump($duration);
    }
    }

    My problem is this code returns me NUll value , but it supposed to return me the Duration of video !

    Here $FILE has the file Path , where searched File exist but when i use this with ffmpeg code it returns null

    does anyone have idea how can i make it work, i need to be able to find the files within the archiev and then with stream_get_contens() funcation i get the path of the video and this path i need to use within the FFMPEG as a input but it doesnt work and return the NULL.

    which suppossed to retrun the video Duration.

    please help !!!

    thanks in adavance.

  • Using ffmpeg Silencedetect in C#

    11 septembre 2018, par jayjay

    I want to build a programm which splitts a long audio file into small peaces.
    I like to use ffmpeg silencedetect. From the console it works fine and returns the detected silence etc.
    Now i want to count many resulting tracks there are an gave the user the possibiliy to change the time parameter of the silencedetect function.
    I want to call the silencedetect function from C# code.
    But i don´t know how to work with the output in C#.

    Thank you for your help.

    Greetings Jan