Recherche avancée

Médias (3)

Mot : - Tags -/plugin

Autres articles (101)

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Submit enhancements and plugins

    13 avril 2011

    If you have developed a new extension to add one or more useful features to MediaSPIP, let us know and its integration into the core MedisSPIP functionality will be considered.
    You can use the development discussion list to request for help with creating a plugin. As MediaSPIP is based on SPIP - or you can use the SPIP discussion list SPIP-Zone.

Sur d’autres sites (8668)

  • How to discard broken frames from MP4 file with FFMPEG

    4 novembre 2024, par digitalfootmark

    I have a partially broken MP4. Sometimes the playback just freeze, so that only the top of the content have some garbage and the rest of the frame is empty.

    


    Is there any tricks in ffmpeg to remove those frames ?

    


    Naturally I have tried all kind of basic things, like repackaging the mp4 and re-encode it to mp4.
The file was not playable originally so it was fixed with untrunk first. And got the same results also with https://Fix.Video

    


    I believe answering this question is impossible without having a sample file.

    


  • Send email once FFMPEG video conversion has completed (php)

    14 juin 2012, par Dino

    I have a basic php script which converts an avi using ffmpeg :

    <?php
    if (exec("/usr/bin/ffmpeg -i testvideo.avi -sameq -ar 22050 convertvideo.mp4 2> logfile.log")){
    echo "Success";
    }else{
       echo "Error";
    }
    ?>

    now as an extension to this I would like to use php to check if the file is still being converted if not an email should be sent can anyone advise how I can achieve this ?

    Also despite using the code above and the file being converted successfully, the output I always get is "Error", can anyone help with this as well ?

    Thanks

  • How to start an FFmpeg process, create a pipe and write data from the parent process ?

    3 mai 2021, par xlxs

    My code is based on https://stackoverflow.com/a/32279430/5941827.

    


    I run FFmpeg with the following params :

    


    std::stringstream sstm;
sstm << "ffmpeg -loglevel error -y -f rawvideo -vcodec rawvideo -s " << std::to_string(width) << "x" << std::to_string(height) //
        << " -pix_fmt rgb24 -framerate " << std::to_string(fps) << " -i - -c:v libx264 -preset " << getPreset(encodeSpeed) << //
        " -crf " << std::to_string(crf) << " -shortest " << path;


    


    (the variables are initialized in a class constructor correctly)

    


    Then I open the pipe with pPipe = popen(sstm.str().c_str(), "w").The problem is after I fwrite to it and calling fclose, based on the contents I write sometimes less or more bytes reach FFmpeg, and I get

    


    [rawvideo @ 000000000010c3df] Invalid buffer size, packet size 196606 < expected frame_size 196608
Error while decoding stream #0:0: Invalid argument


    


    The saved output video usually has one frame more or less than the expected.
I have checked the array I'm sending trough the pipe with fwrite and it's size is correct.
It appears that based on the data I send some bytes don't get there, or more bytes than I send go through the pipe.

    


    I have also tried two different FFmpeg versions, but with the same error message.