Recherche avancée

Médias (1)

Mot : - Tags -/getid3

Autres articles (44)

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

  • ANNEXE : Les extensions, plugins SPIP des canaux

    11 février 2010, par

    Un plugin est un ajout fonctionnel au noyau principal de SPIP. MediaSPIP consiste en un choix délibéré de plugins existant ou pas auparavant dans la communauté SPIP, qui ont pour certains nécessité soit leur création de A à Z, soit des ajouts de fonctionnalités.
    Les extensions que MediaSPIP nécessite pour fonctionner
    Depuis la version 2.1.0, SPIP permet d’ajouter des plugins dans le répertoire extensions/.
    Les "extensions" ne sont ni plus ni moins que des plugins dont la particularité est qu’ils se (...)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

Sur d’autres sites (3941)

  • FFMPEG HLS live stream doesn't include webvtt caption/subtitles

    1er février 2023, par Pit Digger

    I have following cmd that is generating a live stream from a vod file. I have webvtt file for the vod file. But when running following command it doesnt generated a fragmented webvtt.

    


    C:\projects\vod-as-live\tmp> ffmpeg -i c:/video_test/output_english.mp4 -i C:\VIDEO_TEST\subtitles_en.vtt -c copy -c:s webvtt -filter_complex "[0:v]split=3[v1][v2][v3]; [v1]copy[v1out]; [v2]scale=w=1280:h=720[v2out]; [v3]scale=w=640:h=360[v3out]" \
    -map [v1out] -c:v:0 libx264 -x264-params "nal-hrd=cbr:force-cfr=1" \
    -b:v:0 2M -maxrate:v:0 2M -minrate:v:0 2M -bufsize:v:0 10M -preset fast -g 48 -sc_threshold 0 -keyint_min 48 -map [v2out] -c:v:1 libx264 -x264-params "nal-hrd=cbr:force-cfr=1" \
    -b:v:1 1M -maxrate:v:1 1M -minrate:v:1 1M -bufsize:v:1 1M -preset fast -g 48 -sc_threshold 0 -keyint_min 48 -map [v3out] -c:v:2 libx264 -x264-params "nal-hrd=cbr:force-cfr=1" \
    -b:v:2 500K -maxrate:v:2 500K -minrate:v:2 500K -bufsize:v:2 500K -preset fast -g 48 -sc_threshold 0 -keyint_min 48 \
    -map a:0 -c:a:0 aac -b:a:0 96k -ac 2 -map a:0 -c:a:1 aac -b:a:1 96k -ac 2 -map a:0 -c:a:2 aac -b:a:2 48k -ac 2 \
    -f hls -hls_time 6 -hls_list_size 10 -hls_flags independent_segments -hls_segment_type mpegts -hls_segment_filename stream_%v_data%02d.ts -master_pl_name master.m3u8 -var_stream_map "v:0,a:0 v:1,a:1 v:2,a:2" stream_%v.m3u8


    


    If I try following link it works and I see a vtt playlist and related vtt fragments generated fine. https://ffmpeg.org/pipermail/ffmpeg-user/2016-October/034006.html

    


  • ffmpeg channels don't work (PHP)

    15 avril 2016, par Y.Saad

    I have a lot of channels with " ffmpeg " (4 channels) that start automatically, I create a code for show the first channel and after 5 seconds show the second .. Etc All things as right but I have a small problem the seconds channel doesn’t start automatically, I need to make stop to the first channel

    Code for 4 channel work 100% but without function for show first channel and after 5 seconds show the second ... Etc

    <?php

    ffmpeg -i http://clay24.webhop.net:8000/live/mario/mario/13.ts -i http://clay24.webhop.net:8000/live/mario/mario/12.ts -i http://clay24.webhop.net:8000/live/mario/mario/10.ts -map 0 -c:a aac -b:a 64k -strict -2 -preset fast -crf 25 -vcodec libx264 -f flv rtmp://178.33.231.108:1989/mylive/1 -map 1 -c:a aac -b:a 64k -strict -2 -preset fast -crf 25 -vcodec libx264 -f flv rtmp://178.33.231.108:1989/mylive/21 -map 2 -c:a aac -b:a 64k -strict -2 -preset fast -crf 25 -vcodec libx264 -f flv rtmp://178.33.231.108:1989/mylive/24

    ?>

    the second code with functions

    <?php
    echo'
       <code class="echappe-js">&lt;script&gt;<br />
    <br />
                    window.addEventListener(&quot;load&quot;, function() {<br />
    <br />
    var urls = iframes = [ &quot;'; ffmpeg -i http://mygameravatar.zapto.org:43666/live/test1/test2/81.ts -c:a aac -b:a 64k -preset fast -crf 25 -vcodec libx264 -f flv rtmp://178.33.231.108:1989/mylive/2 <br />
            echo '];<br />
    <br />
    var iframes = document.querySelectorAll(&quot;div&quot;);<br />
    <br />
    var n = 0;<br />
    <br />
    var interval = setInterval(function() {<br />
     <br />
     iframes[++n].src = urls[n - 1];<br />
     iframes[n].style.display = &quot;block&quot;;<br />
     console.log(n);<br />
     if (n === iframes.length -1) {<br />
       clearInterval(interval);<br />
       console.log(&quot;all iframes loaded&quot;)<br />
     }<br />
     <br />
    }, 5000)<br />
    <br />
    })<br />
            &lt;/script&gt;
    ’ ;

    ffmpeg -i http://mygameravatar.zapto.org:43666/live/test1/test2/297.ts -c:a aac -b:a 64k -preset fast -crf 25 -vcodec libx264 -f flv rtmp ://178.33.231.108:1989/mylive/1

    echo ’

    ’ ;
     ?>

  • scale a video to multiple qualities and add watermark

    8 mars 2019, par jared zek

    hello I have a ffmpeg command that scales a video to 2 different qualities and adds a watermark, the problem here is that the watermark is scaled along with the videos and it looks horrible

    D:\electron\brenda\node_modules\ffmpeg-static\bin\win32\x64\ffmpeg.exe -i C:\Users\Andy\Desktop\entrada\videoplayback.mp4 -i C:\Users\Andy\Desktop\entrada\marca.png -filter_complex [0:0]scale=854:480[wm]; [wm][1:0]overlay=x=0:y=0[out] -map [out] -map 0:a -movflags faststart -preset fast -y C:\Users\Andy\Desktop\salida/480_videoplayback.mp4 -filter_complex [0:0]scale=640:360[wm]; [wm][1:0]overlay=x=0:y=0[out] -map [out] -map 0:a -movflags faststart -preset fast -y C:\Users\Andy\Desktop\salida/360_videoplayback.mp4

    video scaled to 360 with watermark

    I want the watermark to remain in its original size and not escalate with the video, thank you for your help I’ve been here for hours