Recherche avancée

Médias (1)

Mot : - Tags -/swfupload

Autres articles (111)

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

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

Sur d’autres sites (8200)

  • Revision 29744 : Update de la base de donnée

    8 juillet 2009, par kent1@… — Log

    Update de la base de donnée

  • Revision 35042 : Un truc qui trainait

    9 février 2010, par kent1@… — Log

    Un truc qui trainait

  • Nginx RTMP/HLS - stream to ffmpeg and output HLS

    20 novembre 2018, par kanazaca

    At this point my solution is working but only as RTMP, i can watch perfectly my stream using the URL :

    rtmp://X.X.X.X:1935/show/name

    But the problem is that my LG Smart Tv which uses WebOS don’t support RTMP and i would really like to play my stream there. The only solution that i can see right now is to use HLS. With HLS all works fine too, but i need to execute my ffmpeg command before open the HLS stream in TV, otherwise it will not create the files necessary to display the stream on my TV.

    So my goal is to serve a stream as HLS without having to trigger the RTMP endpoint or the FFMPEG manually.

    I’m really struggling with this, waste 3 days trying to make it work :(

    http
    {
    location /hls
    {
       # Disable cache
       add_header Cache-Control no-cache;

       # CORS setup
       add_header 'Access-Control-Allow-Origin' '*' always;
       add_header 'Access-Control-Expose-Headers' 'Content-Length';

       # allow CORS preflight requests
       if ($request_method = 'OPTIONS') {
           add_header 'Access-Control-Allow-Origin' '*';
           add_header 'Access-Control-Max-Age' 1728000;
           add_header 'Content-Type' 'text/plain charset=UTF-8';
           add_header 'Content-Length' 0;
           return 204;
       }

       types {
           application/vnd.apple.mpegurl m3u8;
           video/mp2t ts;
       }

       root /mnt/;
       }
    }

    }
    rtmp {
    server {
       listen 1935;

       chunk_size 4000;
       buflen 5s;

       application show {
           live on;

       exec_pull ffmpeg -re -i http://stream-coming.com/$name.ts -c:v libx264 -preset faster -pix_fmt yuv420p -c:a aac -f flv rtmp://localhost/show/$name;

           # Turn on HLS
           hls on;
           hls_path /mnt/hls/;
           hls_fragment 3;
           hls_playlist_length 60;
           # disable consuming the stream from nginx as rtmp
           deny play all;
       }
    }

    }

    Thanks for your time ;)