Recherche avancée

Médias (91)

Autres articles (50)

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

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

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

Sur d’autres sites (6224)

  • Video encoder with low CPU usage on Atom 230

    8 février 2016, par Alexandr Zarubkin

    What are my options for screen capturing on Atom 230 CPU that will result in reasonably low CPU usage ?
    I’m using ffmpeg and would like to leave CPU power to other applications while recording a screencast without lags.
    Maybe there’s hardware support for certain codec ?

  • FFmpeg : Encode x264 with AMD GPU on Windows ?

    20 septembre 2023, par ZeroTek

    I am currently trying to record a Video on my Lenovo Laptop with its Built-In Webcam using FFmpeg on Windows 10. One of my goals is to keep the CPU Usage as low as possible, that's why i want to push the h264 encoding to the GPU. 
Now it gets a bit tricky here with my Laptop. Because it uses two GPUs. The first GPU is a Intel HD 5500 Graphics Unit as Part of the CPU. This one is most likly used for non-demanding Applications like office etc. to save Energy. The other one is a AMD R5 M330 that will be used for graphic intense applications like gaming.

    



    Currently, i am using the following command to encode the Webcam Stream on the Intel HD GPU :

    



    ffmpeg -f dshow -vcodec mjpeg -video_size 1280x720 -framerate 30 video="Lenovo EasyCamera":audio="Mikrofon (Realtek High Definition Audio)" -c:v h264_qsv -g 60 -q 28 -look_ahead 0 -preset:v faster -c:a aac -q:a 0.6 -r 30 output.mp4


    



    This does work so far but it seems this GPU does not have enough Power to keep up with the framerate on higher bitrates or with a high amount of i-frames. The Video starts lacking and skipping frames. If i am using CPU encoding everything works smooth.

    



    Now that my Laptop got that second AMD GPU with a lot more Power it would be a nice Try to encode on that one, but i can't find any information about how to encode on AMD Hardware on Windows 10. So my question is : How does the ffmpeg command look like to use AMD Hardware for h264 encoding ?

    


  • Bash Scripting FFMPEG how to wait the process to complete

    9 décembre 2013, par user1738671

    I have a strange problem. I have a folder monitor with incrontab that launches an automatic transcoding script on CLOSE_WRITE state of a file I dropped in. The problem is that the script doesn't wait until the ffmpeg process finishes before continuing with the rest of the script commands. This means that the original file get deleted before the transcoding is finished, which is bad.

    First question :
    What is the root cause of this behaviour ?

    Second question : In a bash script, what is the best way to make sure an ffmpeg process is done before get going with the rest of the script ?

    Script :

    #/bin/bash

    #transcoding
    /usr/bin/ffmpeg -i "sourcefile push with incron as $1" -vcodec somecode -acodec somecodec "destination file"

    #delete source
    rm "path/to/file$1"

    Should I encapsulate my FFMPEG in a while statement ?