Recherche avancée

Médias (0)

Mot : - Tags -/performance

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (75)

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

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

Sur d’autres sites (5352)

  • ffmpeg mp4 shows blurred frames after seeking in the video with internet explorer

    21 février 2014, par Larzzz

    I have a question regarding JWPlayer 5, IE and video encoding.
    Basicly I use a Wowza server to stream my files. This works on all devices (windows, iOS and Android).
    However when i play it in Internet Explorer, it behaves strange.
    It plays fine, and the entire movie looks good without any issues. But when I seek in the video, it shows a line in the center of my video, like if the previous frame is still showing some part, and it refreshes after a few frames move in the video.
    The frames itself are not broken, as if i just play the video without seeking it all looks good.
    This does not happen in Chrome, Firefox or Safari, neither does this happen on android & iOS.
    I've tested this with JW 6 as well, and it shows the same results for IE.

    Altough it's showing fine on other browsers, I still believe it's an issue with encoding, as other videos do not show this behavior.

    Example viewable here : http://www.mobileevolution.be/standardcode-withsmil.html

    The FFMPEG code i use to convert any file (.avi in this case) to an MP4 :

    "ffmpeg.exe" -i "%1" -vcodec libx264 -strict experimental -c:a aac -profile:v baseline -level 3 -movflags faststart -bufsize 1000k -tune zerolatency -b:v 1000k -minrate 600k -maxrate 1500k "%5%71000k.mp4"

    the %1, %5 and %7 are variables i send with a script.

    I have tried various options, but could not figure out what the problem is.
    I have also tried converting with handbrake, but this shows similar results.

    My questions are :
    Has anyone seen this before ?
    Does anyone know a solution ?
    What's wrong with my FFMPEG settings ?

    Thanks for any help,
    Grts

    EDIT
    pictures :
    http://www.mobileevolution.be/foto1.jpg
    http://www.mobileevolution.be/foto2.jpg
    console output :
    http://www.mobileevolution.be/consoleoutput.txt

  • HTTP Header for Duration of a MP4 for HTML 5 video

    9 mars 2014, par Mustafa

    I am trying to stream MP4 video as it is encoded from a webserver. I believe I used the appropriate flags, but it is not working correctly. When I download the video from my stream and open it with VLC, it properly shows the duration. Since a socket is not seekable, I assume it writes the metadata to end ? My Chrome browser always shows 8 seconds duration. The first 8 seconds plays at the normal speed, but afterwards the pause button turns into play button and the video plays very fast, probably as fast as it is recieved. However the audio is played at normal speed. I tried document.getElementById('myVid').duration = 20000 but it is a readonly field.

    I wonder, is there anyway to explicitly state the duration in HTTP headers or in any other way ? I cannot find any documentation about it.

    ffmpeg -i - -vcodec libx264 -acodec libvo_aacenc -ar 44100 -ac 2 -ab 128000 -f mp4 -movflags frag_keyframe+faststart pipe:1 -fflags +genpts -re -profile baseline -level 30 -preset fast

    To close-voters, that thinks it is not programming related, I use it in my own server I coded, and I need to set the duration programatically via JavaScript or setting the HTTP header. I believe it may be related to both ffmpeg or http headers, that's why I posted it here.

    app.get("/video/*", function(req,res){
       res.writeHead(200, {
           'Content-Type': 'video/mp4',
       });
       var dir = req.url.split("/").splice(2).join("/");
       var buf = new Buffer(dir, 'base64');
       var src = buf.toString();

       var Transcoder = require('stream-transcoder');
       var stream = fs.createReadStream(src);
       // I added my own flags to this module, they are at below:
       new Transcoder(stream)
           .videoCodec('libx264')
           .audioCodec("libvo_aacenc")
           .sampleRate(44100)
           .channels(2)
           .audioBitrate(128 * 1000)
           .format('mp4')
           .on('finish', function() {
               console.log("finished");
           })
           .stream().pipe(res);
    });

    exec function in that stream-transcoder module,

       a.push("-fflags");
       a.push("+genpts");
       a.push("-re");
       a.push("-profile");
       a.push("baseline");
       a.push("-level");
       a.push("30");
       a.push("-preset");
       a.push("fast");
       a.push("-strict");
       a.push("experimental");
       a.push("-frag_duration");
       a.push("" + 2 * (1000 * 1000));
       var child = spawn('ffmpeg', a, {
           cwd: os.tmpdir()
       });
  • How can I use FFMPEG to fix a mpeg.ts file

    29 septembre 2017, par Tim McClure

    I have an mpegts file that has some minor quality issues. Can I use ffmpeg to create an mp4 file from it and the mp4 file plays fine - meaning the transmuxing to mp4 corrected the problem. I am trying to use ffmpeg to re-encode the mpegts file to another mpegts file and through the transmuxing have the video file fixed. The script I am using :

    ffmpeg -re -i 20170925T214300_S051-0001.ts -pix_fmt yuv420p -vcodec libx264 -r 25 -vf "scale=1024:576" -threads 0 -b:v: 2048k -bufsize 2244k -maxrate 2560k -profile:v baseline -g 50 -x264opts no-scenecut -x264opts force-cfr -an -f mpegts mcclure.ts

    Is what I am trying to do possible ?