Recherche avancée

Médias (1)

Mot : - Tags -/remix

Autres articles (34)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (6044)

  • avcodec/omx : Fix handling of fragmented buffers

    17 janvier 2019, par Dave Stevenson
    avcodec/omx : Fix handling of fragmented buffers
    

    See https://trac.ffmpeg.org/ticket/7687

    If an encoded frame is returned split over two or more
    IL buffers due to the size, then there is a race between
    whether get_buffer will fail, return NULL, and a truncated
    frame is passed on, or IL will return the remaining part
    of the encoded frame.
    If get_buffer returns NULL, part of the frame is left behind
    in the codec, and will be collected on the next call. That
    then leaves a frame stuck in the codec. Repeat enough times
    and the codec FIFO is full, and the pipeline stalls.

    A performance improvement in the Raspberry Pi firmware means
    that the timing has changed, and now frequently drops into the
    case where get_buffer returns NULL.

    Add code such that should a buffer be received without
    OMX_BUFFERFLAG_ENDOFFRAME that get_buffer is called with wait
    set, so we wait for the remainder of the frame.
    This code has been made conditional on the Pi build in case
    other IL implementations don't handle ENDOFFRAME correctly.

    Signed-off-by : Dave Stevenson <dave.stevenson@raspberrypi.org>
    Signed-off-by : Aman Gupta <aman@tmm1.net>
    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DH] libavcodec/omx.c
  • 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

  • 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>&amp;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.