Recherche avancée

Médias (91)

Autres articles (83)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

Sur d’autres sites (6971)

  • Stripping a video with start point and end point defined using TimeCodes

    12 juin 2014, par Tarun

    Is anyone aware about how to strip a segment out of a video , a segment whose start point and end points are defined by TimeCode not TimeStamp.

    I tried ffmpeg and ffmbc but I dont think they support cutting video based on timeCode.

    I have also considered approach where I can attemp to convert a timecode into timestamp

    Would anyone please advise ?

  • How can I improve the up-time of my coffee pot live stream ?

    26 avril 2017, par tww0003

    Some Background on the Project :

    Like most software developers I depend on coffee to keep me running, and so do my coworkers. I had an old iPhone sitting around, so I decided to pay homage to the first webcam and live stream my office coffee pot.

    The stream has become popular within my company, so I want to make sure it will stay online with as little effort possible on my part. As of right now, it will occasionally go down, and I have to manually get it up and running again.

    My Setup :

    I have nginx set up on a digital ocean server (my nginx.conf is shown below), and downloaded an rtmp streaming app for my iPhone.

    The phone is set to stream to example.com/live/stream and then I use an ffmpeg command to take that stream, strip the audio (the live stream is public and I don’t want coworkers to feel like they have to be careful about what they say), and then make it accessible at rtmp://example.com/live/coffee and example.com/hls/coffee.m3u8.

    Since I’m not too familiar with ffmpeg, I had to google around and find the appropriate command to strip the coffee stream of the audio and I found this :

    ffmpeg -i rtmp://localhost/live/stream -vcodec libx264 -vprofile baseline -acodec aac -strict -2 -f flv -an rtmp://localhost/live/coffee

    Essentially all I know about this command is that the input stream comes from, localhost/live/stream, it strips the audio with -an, and then it outputs to rtmp://localhost/live/coffee.

    I would assume that ffmpeg -i rtmp://localhost/live/stream -an rtmp://localhost/live/coffee would have the same effect, but the page I found the command on was dealing with ffmpeg, and nginx, so I figured the extra parameters were useful.

    What I’ve noticed with this command is that it will error out, taking the live stream down. I wrote a small bash script to rerun the command when it stops, but I don’t think this is the best solution.

    Here is the bash script :

    while true;
    do
           ffmpeg -i rtmp://localhost/live/stream -vcodec libx264 -vprofile baseline -acodec aac -strict -2 -f flv -an rtmp://localhost/live/coffee
           echo 'Something went wrong. Retrying...'
           sleep 1
    done

    I’m curious about 2 things :

    1. What is the best way to strip audio from an rtmp stream ?
    2. What is the proper configuration for nginx to ensure that my rtmp stream will stay up for as long as possible ?

    Since I have close to 0 experience with nginx, ffmpeg, and rtmp streaming any help, or tips would be appreciated.

    Here is my nginx.conf file :

    worker_processes  1;

    events {
       worker_connections  1024;
    }


    http {
       include       mime.types;
       default_type  application/octet-stream;

       sendfile        on;

       keepalive_timeout  65;

       server {
           listen       80;
           server_name  localhost;

           location / {
               root   html;
               index  index.html index.htm;
           }

           error_page   500 502 503 504  /50x.html;
           location = /50x.html {
               root   html;
           }

           location /stat {
                   rtmp_stat all;
                   rtmp_stat_stylesheet stat.xsl;
                   allow 127.0.0.1;
           }
           location /stat.xsl {
                   root html;
           }
           location /hls {
                   root /tmp;
                   add_header Cache-Control no-cache;
           }
           location /dash {
                   root /tmp;
                   add_header Cache-Control no-cache;
                   add_header Access-Control-Allow-Origin *;
           }
       }
    }

    rtmp {

       server {

           listen 1935;
           chunk_size 4000;

           application live {
               live on;

               hls on;
               hls_path /tmp/hls;

               dash on;
               dash_path /tmp/dash;
           }
       }
    }

    edit :
    I’m also running into this same issue : https://trac.ffmpeg.org/ticket/4401

  • How to generate light weight videos with ffmpeg for Power Point in OS X ?

    25 septembre 2014, par Pablo

    I want to make some movies with ffmpeg to use them on a Powerpoint in Mac OS X. I am using this command, which works well but generates large movies (about 100 MB) without losing too much quality.

    ffmpeg -f image2 -r 100 -pattern_type glob -i 'img*.png' -c:v mjpeg -qscale:v 20 test.avi

    I have also tried using other codecs like mpeg4 and libx264 to generate lighter movies (about 10 MB) but they don’t work correctly in the Powerpoint presentation.

    Does anyone know how to use them correctly or how to create a light weight movie with ffmpeg that works well on Powerpoint for OS X ?