Recherche avancée

Médias (1)

Mot : - Tags -/stallman

Autres articles (97)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

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

Sur d’autres sites (13863)

  • FFMPEG ldash 1 low latency option but dash.js not low latency and buggy with lag and start always at 0 cannot control

    7 avril 2021, par Jintor

    I can't figure out how to fix this. playing a supposed low latency mpeg-dash manifest but it's with lots of lag, and play-stop-wait-play-stop-wait....

    


    I have latest ubuntu with latest ffmpeg

    


    here the command

    


    ffmpeg -re -i file.webm -c:v libx264 -preset ultrafast -tune zerolatency -c:a aac -ac 2 -strict -2 -crf 18 -profile:v baseline -maxrate 1000k -pix_fmt yuv420p -bufsize 969k -ldash 1 -streaming 1 -use_template 0 -use_timeline 1 -seg_duration 1 -remove_at_exit 0 -f dash index.mpd


    


    and player side

    


    <code class="echappe-js">&lt;script src='http://stackoverflow.com/templates/account_js/dashjs/dash.3.1.0.min.js'&gt;&lt;/script&gt;&#xA;    

    &#xA; &lt;script&gt;&amp;#xA;    (function(){&amp;#xA;        var url = &quot;index.mpd&quot;;&amp;#xA;        var player = dashjs.MediaPlayer().create();&amp;#xA;        player.initialize(document.querySelector(&quot;#videoPlayer&quot;), url, true);&amp;#xA;        player.updateSettings({&amp;#xA;            streaming: {&amp;#xA;                 lowLatencyEnabled: true, &amp;#xA;                 liveDelay: 3,&amp;#xA;                 liveCatchup: {&amp;#xA;                    enabled: true,&amp;#xA;                    minDrift: 0.05,&amp;#xA;                    maxDrift: 0,&amp;#xA;                    playbackRate: 0.5,&amp;#xA;                    latencyThreshold: 30    &amp;#xA;                  }&amp;#xA;            }&amp;#xA;        });&amp;#xA;    })();     &amp;#xA;    video = document.getElementById(&quot;videoPlayer&quot;);&amp;#xA;    video.addEventListener(&quot;loadedmetadata&quot;, function(){ video.muted = true; video.play(); }, false);&amp;#xA;    &lt;/script&gt;&#xA;

    &#xA;

    but it's NOT low latency, It forces to start at 0 and cannot control the video

    &#xA;

    is there a better config setup and what need to be fixed : ffmpeg options or dash.js config

    &#xA;

  • Video - extract image from DASH m4s file using ffmpeg

    6 juillet 2017, par Yogevnn

    I’m trying to create a thumbnail from a dash stream m4s file.

    I have the mpd, init.mp4 file and the m4s files.

    I have the code using nodeJS ffmpeg package that extracts image from an mp4 file :

    try {
    var process = new ffmpeg('video.mp4');
    process.then(function (video) {
       // Callback mode
       video.fnExtractFrameToJPG('C:\\files\\nodejs', {
           start_time: `1:50:30`,
           frame_rate : 1,
           file_name : 'my_frame_%t_%s'
       }, function (error, files) {
           if (!error)
               console.log('Frames: ' + files);
       });
    }, function (err) {
       console.log('Error: ' + err);
    });
    } catch (e) {
    console.log(e.code);
    console.log(e.msg);
    }

    But because i’m reading my files from a dash-stream i’m getting an m4s files.

    I’ve tried to convert the m4s format into mp4 and then use the code above, but the ffmpeg( fluent-ffmpeg to be exact) is returning an error message

    an error occured : ffmpeg exited with code 1 :
    C :\files\nodejs\testFiles\000000.m4s : Invalid data found when
    processing input

    The code i used to convert is :

    var proc = new fluent({source: "C:\\files\\nodejs\\testFiles\\000000.m4s",
    nolog: true})

    //useless i think - not working
    //proc.setFfmpegPath("C:\\files\\ffmpeg-20170620-ae6f6d4-win64-static\\bin")

    proc.withSize('50%').withFps(24).toFormat('mp4')

    .on('end', function(){
    console.log('file has been converted successfully');
    })
    .on('error', function(err){
       console.log('an error occured: ' + err.message);

    })

    .saveToFile("C:\\files\\nodejs\\new.mp4");

    Is it possible to convert a single m4s file to mp4 ?

    If not, what is the right way of converting m4s to mp4 using ffmpeg with nodejs ?

    I couldn’t find any reference for that, but if it is possible to extract an image directly from the m4s file i think it will solve the problem faster.

    It is possible to use this site to download all the *.m4s files, mpd and init.mp4 files using the network section (f12 in Chrome browser) and check the code.

  • dashenc : set DASH related options for the subsequent matroska muxer when using webm

    29 octobre 2017, par Peter Große
    dashenc : set DASH related options for the subsequent matroska muxer when using webm
    

    This patch is inspired by the ffmpeg webm_chunk muxer and fixes that all resulting
    tracks have the same track number.

    Signed-off-by : Peter Große <pegro@friiks.de>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/dashenc.c