Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (43)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

  • Possibilité de déploiement en ferme

    12 avril 2011, par

    MediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
    Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)

Sur d’autres sites (5345)

  • FFMPEG HLS Live Stream to RTMP. How to signal end of stream

    4 août 2021, par Andre Escudero

    I'm taking a HLS m3u8 live stream as input and sending to RTMP (facebook RTMP)

    


    ffmpeg -i https://mylivestream.m3u8 -acodec copy -vcodec copy -f flv rtmps://facebookrtmp/key


    


    Now when the HLS m3u8 live stream stops updating( no new segments being added) FFMPEG stops sending data to facebook rtmp. But Facebook does not end the stream because I think ffmpeg is not sending the deleteStream command it just disconnects. Ending the ffmpeg process at this point also does not end the stream. It only ends the stream if the process is ended while they are still new segments.

    


    Is there anyway to send deleteStream when HLS is over ?

    


  • C++ Parse data from FFMPEG pipe output

    5 janvier 2017, par Simon

    I want to play around with data coming from an RTSP stream (e.g., do motion detection). Instead of using the cumbersome ffmpeg C API for decoding the stream, I decided to try something different. FFmpeg offers the possibility to pipe its output to stdout. Therefore, I wrote a C++ program which calls popen() to make an external call to ffmpeg and grabs the output. My aim is now to extract the YUV images from the resulting stream. As a first test, I decoded an h264 video file and wrote the stdout output coming from the ffmpeg call to a file.

    #include <iostream>
    #include <fstream>
    #include

    using namespace std;

    int main()
    {
     FILE *in;
     char buff[512];

     if(!(in = popen("ffmpeg -i input.mp4 -c:v rawvideo -an -r 1 -f rawvideo pipe:1", "r")))
     {
       return 1;
     }

     ofstream outputFile("output.yuv");
     while(fgets(buff, sizeof(buff), in) != NULL)
     {
       outputFile &lt;&lt; buff;
     }

     outputFile.close();
     pclose(in);
     return 0;
    }
    </fstream></iostream>

    The resulting raw video can be played with vlc afterwards :

    vlc --rawvid-fps 1 --rawvid-width 1280 --rawvid-height 544 --rawvid-chroma I420 output.yuv

    Here, I chose the width and height from the video (a trailer of the Simpsons movie from http://www.dvdloc8.com/clip.php?movieid=12167&clipid=3). This first test worked very well. The resulting file is the same as when calling the ffmpeg binary directly with

    ffmpeg -i input.mp4 -c:v rawvideo -an -f output_ffmpeg.yuv

    Now I want to do some processing with the images coming from the ffmpeg output instead of dumping it to a file. My question is : Is there a clever way of parsing the stdout data from ffmpeg ? Ideally, I want to parse the stream into a sequence of instances of a YUVImage class (for example).

  • Anomalie #4431 : vider le cache /local supprime CACHEDIR.TAG et remove.txt

    6 février 2020, par b b

    Ouep, c’était sur spip-zone https://www.mail-archive.com/spip-zone@rezo.net/msg49170.html et la proposition que j’y faisais est restée sans réponse...

    je propose :
    
    - de fixer rapidement en patchant purger_repertoire()
    - puis d’améliorer action_purger_dist() à tête reposée, après avoir dressé la liste des répertoires à cibler (cf mon mail précédent) Comme ça, ceinture, bretelles et rapidité du fix :)

    Pour la rapidité du fix on repassera :p