Recherche avancée

Médias (0)

Mot : - Tags -/performance

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

Autres articles (4)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

  • Utilisation et configuration du script

    19 janvier 2011, par

    Informations spécifiques à la distribution Debian
    Si vous utilisez cette distribution, vous devrez activer les dépôts "debian-multimedia" comme expliqué ici :
    Depuis la version 0.3.1 du script, le dépôt peut être automatiquement activé à la suite d’une question.
    Récupération du script
    Le script d’installation peut être récupéré de deux manières différentes.
    Via svn en utilisant la commande pour récupérer le code source à jour :
    svn co (...)

Sur d’autres sites (3683)

  • ffmpeg-Error "Buffer queue overflow, dropping." when merging two videos with delay

    20 septembre 2016, par Stefan Urbansky

    I want to merge two videos (as example the iphone video from https://peach.blender.org/trailer-page/). The videos are placed on an background image with the overlay filter and the second video starts 3 seconds later.

    And I need that the audio is mixed.

    Here is my code :

    ffmpeg \
       -loop 1 -i background.png  \
       -itsoffset 0  -i trailer_iphone.m4v \
       -itsoffset 3  -i trailer_iphone.m4v \
       \
       -y \
       -t 36 \
       -filter_complex "
           [2:a] adelay=3000 [2delayed];
           [1:a][2delayed] amerge=inputs=2 [audio];
           [0][1:v] overlay=10:10:enable='between(t,0,33)' [lv1];
           [lv1][2:v] overlay=10:300:enable='between(t,0,36)' [video]
       " \
       \
       -threads 0 \
       -map "[video]" -map "[audio]" \
       -vcodec libx264 -acodec aac \
       merged-video.mp4

    I get the error message :

    [Parsed_overlay_3 @ 0x7fe892502ac0] [framesync @ 0x7fe892502b88] Buffer queue overflow, dropping.

    And the merged video has many dropped frames.

    I know that are some other posting with this error message. But the suggested solutions doesn’t work for me.

    How can I fix the problem ?

  • Making a movie from the url using ffmpeg and phantomjs

    1er novembre 2016, par Matt

    Im Taking screen shots from a url, using phantomjs using the setIntreval function (25 right now) and then piping the output to the ffmpeg (Using the frame rate -r 24).
    Here is the Code. ffmpeg.js

    var page = require('webpage').create();
    page.viewportSize = { width: 1024, height: 768 };

    page.open('http://ewoken.github.io/Leaflet.MovingMarker/', function () {
     setInterval(function() {
       page.render('/dev/stdout', { format: "png" });
     }, 25);
    });

    Then I run the script using this.

    phantomjs ffmpeg.js | ffmpeg -y -c:v png -f image2pipe -r 24 -t 10 -i - -c:v libx264 -pix_fmt yuv420p -movflags +faststart output.mp4

    Like In the command Im getting the 10 sec video with the page, But Its all speeding up fast first and completely freezes with a last frame.

    Can you guys help me, with a work around, enabling me to record the page , AS IS ? Like if there is a 3000 delay animation in the movie, It should appear like real in the movie, like smooth and in real time.

    Thank you guys. Stuck on this for a long time now.

    Cheers,

  • shell - looping command with several variables

    19 janvier 2017, par o_ren

    I’m running an FFmpeg command from a script which takes several arguments and passes them to the command.

    #!/bin/bash

    while getopts "i:b:" flag
    do
     case "$flag" in
       i) input="$OPTARG";;
       b) IFS=, read -a bitrate <<< "$OPTARG";;
     esac
    done

    for rate in "${bitrate[@]}";
     do
       ffmpeg -i $input -video_size 100x100 -b:v $bitrate -y output.mp4
     done

    exit

    I use getopts to take the variables and for loop to run the command.
    To run the script I use script.sh -i input.mov -b 1000,2000,3000 and FFmpeg runs 3 times, each with different $bitrate value.

    What if I want to pass another var - scale, to the command and run it like this :
    script.sh -b 1000,2000,3000 -s 100x100,200x200,300x300 so the first run would use -b 1000 and -s 100x100, second run use -b 2000 and -s 200x200 and so on.
    Is this posooble ? I would like to keep using getopts if possible.