Recherche avancée

Médias (91)

Autres articles (62)

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

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

Sur d’autres sites (11972)

  • Nginx + rtmp + ffmpeg best practice to publish multiple resolutions streaming from video file

    7 novembre 2019, par youssef hamdane

    I want to make livestream from video file to multiple resolutions (480,720) using nginx and rtmp, what is the best practice that I can do for that :

    1 - transcode video and store it with all resolutions that I need when user upload it using ffmpeg, and then publish every file directly

    example :

    rtmp {
       server {
           listen 1935;
           notify_method get;

           application live {
               live on;
               ffmpeg -re -i /path/video_720.mp4
              -re -i /path/video_480.mp4
              -map 0 vcodec libx264 -threads 0 -vprofile baseline -acodec aac -strict -2 -f flv rtmp://localhost:1935/show/${name}_720
              -map 0 vcodec libx264 -threads 0 -vprofile baseline -acodec aac -strict -2 -f flv rtmp://localhost:1935/show/${name}_480
           }

          application show {

               live on;

               hls on;
               hls_path /stream/live/hls;
               hls_nested on;
               record off;

               # Instruct clients to adjust resolution according to bandwidth

               hls_variant _720 BANDWIDTH=2048000; # High bitrate, HD 720p resolution
               hls_variant _480 BANDWIDTH=448000; # Medium bitrate, SD resolution

           }

       }
    }

    2 - keep original video and publish it on different resolutions with ffmpeg

    example :

    rtmp {
       server {
           listen 1935;
           notify_method get;

           application live {
               live on;    

               exec_pull ffmpeg -re -i http://server_ip/$app/$name -vcodec libx264 -threads 0 -vprofile baseline -acodec aac -strict -2 -b:v 1920k -b:a 128k -vf "scale=1280:trunc(ow/a/2)*2" -f flv rtmp://localhost:1935/show/${name}_720
               -vcodec libx264 -threads 0 -vprofile baseline -acodec aac -strict -2 -b:v 1024k -b:a 128k -vf "scale=854:trunc(ow/a/2)*2" -f flv rtmp://localhost:1935/show/${name}_480;
           }

          application show {

               live on;

               hls on;
               hls_path /home/stream/live/hls;
               hls_nested on;
               record off;

               # Instruct clients to adjust resolution according to bandwidth

               hls_variant _720 BANDWIDTH=2048000; # High bitrate, HD 720p resolution
               hls_variant _480 BANDWIDTH=448000; # Medium bitrate, SD resolution

           }

       }
    }
  • Convert Process Output to Progressbar C# [on hold]

    28 mars 2018, par adrifcastr

    So I am using FFMPEG to convert a audio file, and I need to get a progressbar to show the current conversion process. So as reading through Stackoverflow I found this, which uses a Streamreader to get the complete duration of the file and the current progress into a string. This didn’t work for me, I assumed it’s because I am using WPF. So can someone help me to get those values and then use them to calculate the percentage and show it with a Progressbar ?

    Below are samples of what’s displayed in FFMPEG’s output stream.

    //Complete Duration of the Audio file being converted
     Duration: 06:41:03.68, start: 0.000000, bitrate: 64 kb/s


    //Current conversion progress
    size=    1197kB time=00:02:02.14 bitrate=  80.3kbits/s speed=42.9x
  • w32pthreads : use the condition variable API directly when targeting newer versions...

    9 octobre 2014, par James Almer
    w32pthreads : use the condition variable API directly when targeting newer versions of Windows
    

    Wrap the function calls in a similar fashion to how it’s being done
    with the critical section API.

    Signed-off-by : James Almer <jamrial@gmail.com>
    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DBH] compat/w32pthreads.h