Recherche avancée

Médias (91)

Autres articles (75)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

Sur d’autres sites (11701)

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

  • 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

  • Revision 0002da32e6 : arm : Fix building vp8_subpixelvariance_neon.c with MSVC Use the right return va

    4 septembre 2014, par Martin Storsjo

    Changed Paths :
     Modify /vp8/common/arm/neon/vp8_subpixelvariance_neon.c



    arm : Fix building vp8_subpixelvariance_neon.c with MSVC

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

    Also make __builtin_prefetch a no-op on MSVC for this file.

    Change-Id : I4d2fce01d0ba106b98d3d53b137803119c2c2c08