Recherche avancée

Médias (33)

Mot : - Tags -/creative commons

Autres articles (72)

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

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

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

Sur d’autres sites (10233)

  • 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

           }

       }
    }
  • ffmpeg concat video and image issue

    11 octobre 2018, par Dion Russell

    I have a video it’s 190 seconds long.
    I want to show a part of the video with audio and a watermark (from 28th second to 154th second)
    and then the video fades out, and then show an image for 5 seconds at the end of the video.

    everything was working fine until i added concat and endpic.jpg

    Here is the script it wrote but it’s not working. It’s really driving me crazy.

    ffmpeg -y -ss 28 -i input.mp4 -loop 1 -i watermark.png -loop 1 -t 5 -i endpic.jpg -f lavfi -t 5 -i anullsrc -filter_complex "[1]fade=in:st=3:d=1:alpha=1,fade=out:st=20:d=1:alpha=1[w]; [0][w]overlay=main_w-overlay_w-10:main_h-overlay_h-10[sonh];[sonh]fade=out:st=154:d=1[sonhh];[sonhh:v][sonhh:a][2:v][3:a]concat=n=2:v=1:a=1[v][a]" -t 155 -map "[v]" -map "[a]" output.mp4
  • avformat/hlsenc : optimize help message default value.

    5 juillet 2017, par Steven Liu
    avformat/hlsenc : optimize help message default value.
    

    show the hls_segment_type default always 0, show the flag name better

    Signed-off-by : Steven Liu <lq@chinaffmpeg.org>

    • [DH] libavformat/hlsenc.c