Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP

Autres articles (98)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (7001)

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