Recherche avancée

Médias (1)

Mot : - Tags -/livre électronique

Autres articles (53)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (10650)

  • How can I capture and record only specific part of the desktop using ffmpeg ?

    23 juillet 2018, par Benzi Avrumi

    This is how I’m using now to record the desktop.

    Using ffmpeg.exe : ffmpeg -f gdigrab -framerate 24 -i desktop -preset ultrafast -pix_fmt yuv420p out.mp4

    Or using csharp :

    using System;  
       using System.Collections.Generic;  
       using System.Linq;  
       using System.Text;  
       using System.Threading.Tasks;  
       using System.IO;  
       using System.Diagnostics;  

       namespace Ffmpeg_App  
       {  
           class Ffmpeg  
           {  
               Process process;  

               public void Start(string FileName, int Framerate)  
               {  
                   process = new System.Diagnostics.Process();  
                   process.StartInfo.FileName = @"D:\ffmpegx86\ffmpeg.exe"; // Change the directory where ffmpeg.exe is.  
                   process.EnableRaisingEvents = false;  
                   process.StartInfo.WorkingDirectory = @"D:\ffmpegx86"; // The output directory  
                   process.StartInfo.Arguments = @"-f gdigrab -framerate " + Framerate + " -i desktop -preset ultrafast -                                                                     pix_fmt yuv420p " + FileName;  
                   process.Start();  
                   process.StartInfo.UseShellExecute = false;  
                   process.StartInfo.CreateNoWindow = false;  
                   Close();  
               }  

               public void Close()  
               {  
                   process.Close();  
               }  
           }  
       }  

    And using it like this for example :

    Ffmpeg fpeg = new Ffmpeg();


       private void Start_Click(object sender, EventArgs e)  
               {  
                   fpeg.Start("test.mp4", 24);  
               }  


       private void Stop_Click(object sender, EventArgs e)  
               {  
                   fpeg.Close();  
               }

    This will record the entire desktop window to a video file.
    But how can I record a specific rectangle area in the desktop ? For example to record only the right bottom corner rectangle size 10x10.

    So when I will play the video file I will see full screen video but only of the right bottom corner of the desktop.

  • How to use Intel QSV record screen based on ffmpeg

    18 octobre 2020, par zonda

    I want to record my screen with ffmpeg.
    
I succeeded in the normal way.
    
ffmpeg -f gdigrab -framerate 30 -draw_mouse 1 -i desktop -c:v h264 -r 30 -preset ultrafast -tune zerolatency -pix_fmt yuv420p "record.mp4"

    



    But I want use GPU record my screen now.
    
I'm trying to use Intel QSV on ffmpeg.
    
ffmpeg -f gdigrab -framerate 30 -draw_mouse 1 -i desktop -c:v h264_qsv -r 30 -tune zerolatency -pix_fmt yuv420p "record.mp4"

    



    It does not work and show :
    
[h264_qsv @ 0000000000479080] Error initializing the encoder: invalid video parameters (-15)
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height

I don't know what happened.

    



    And I'm trying simple way.
    
ffmpeg -i test_input.mp4 -c:v h264_qsv -preset:v faster test_output.mp4
    
It does not work too.

    



    My computer information :
    
acer notebook : TravelMate P243-MG
    
OS : windows 7 64bits
    
CPU : Intel i5-3210M
    
Graphics card : Nvidia GT-630M

    



    Thanks in advance !

    


  • How to video-record selenium tests running headless inside a docker ?

    1er juin 2021, par Alex

    I am running python-selenium tests inside a docker using a headless firefox.

    


    During these tests I am able to make screenshots with the selenium method for screenshots - but can I use something to 'video' record the virtual display during the whole test (several test scripts with several test methods, with many webdrivers started and stopped).

    


    So how can I video-record a complete test session ?

    


    Addendum : I have found a webpage that describes exactly what I need : here. Unfortunately I get an error when I try to do the recording. Here are the commands I am doing :

    


    xvfb-run --listen-tcp --server-num 44 --auth-file /tmp/xvfb.auth -s "-ac -screen 0 1920x1080x24" python seltest.py &
ffmpeg -f x11grab -video_size 1920x1080 -i 127.0.0.1:44 -codec:v libx264 -r 12 /tmp/behat_1.mp4


    


    and the error is (for the second command) :

    


    [x11grab @ 0x1d289c0] Cannot open display 127.0.0.1:44, error 1.
127.0.0.1:44: Input/output error