Recherche avancée

Médias (33)

Mot : - Tags -/creative commons

Autres articles (61)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

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

  • Seeing Blank video when using Xvfb with ffmpeg in headless mode

    4 avril 2022, par sxg

    Seeing blank video while running protractor tests in headless mode using Xvfb, ffmpeg, protractor video reporter

    



    I am using protractor framework for running automation tests. I am using protractor video recorder tool to record video on headless mode. The prerequisite for that is to start Xvfb at the background.

    



    This the setting i am using to run test in headless mode.
Steps followed to enable video in headless mode :

    



    Installed "npm i protractor-video-reporter"
Included ffmpeg setting for docker/linux.
```
 var VideoReporter = require('protractor-video-reporter');
 jasmine.getEnv().addReporter(new VideoReporter({
    baseDirectory: 'reports/videos',
    singleVideo: false,
    saveSuccessVideos: true,
    ffmpegCmd: '/usr/bin/ffmpeg',
    ffmpegArgs: [
      '-y',
      '-r', '30',
      '-f', 'x11grab',
      '-s', '1280x1024',
      '-i', 'process.env.DISPLAY',
      '-g', '300',
      '-vcodec', 'mpeg4'
    ]
  }));


    



        Executed "Xvfb :99 -ac -screen 5 1024x768x8 -listen tcp &" in a terminal
    Executed ```
       DISPLAY=:99  
       export $DISPLAY
``` in a separate window 
    Executed "env DEBUG=protractor-video-reporter protractor conf.js" in a separate terminal

Expected Result:

A video with the recordings that runs tests on google chrome

Actual Result:

Video is getting created but the video appears to be blank.

Chrome Version:73
Chromedriver Version: 2.46
Protractor version:5.4.2


    


  • How to share video stream to WSL2 while ffmpeg ? [closed]

    27 octobre 2024, par 笑先生

    Most solutions for using a camera in WSL are to build your own WSL kernel. I have realized it with the steps mentioned in Capturing webcam video with OpenCV in WSL2

    


    However, it's complicated and time-consuming. I want to realize it by sharing video streaming.

    


    Share method

    


    Step1 : Run the command below on Windows to check all the camera devices. I see an integrated camera "Integrated Webcam" (video) in the output.

    


    ffmpeg -list_devices true -f dshow -i dummy


    


    Step2 : Check the IP of Ethernet adapter vEthernet (WSL). In my computer, it's 172.24.176.1

    


    Step3 : Run the command below on Windows to share video streaming.

    


    ffmpeg -f dshow -i video="Integrated Webcam" -preset ultrafast -tune zerolatency -vcodec libx264 -f mpegts udp://172.24.176.1:5000


    


    Test

    


    Run the command to play the video streaming : ffplay udp://172.24.176.1:5000

    


    It can show the video when the command is run with a terminal of Windows (Win10).

    


    But, it cannot show anything when the command is run on with a terminal of WSL (Ubuntu 22.04). Why ?

    


  • GLIBCXX_3.4.9 not found when running ffmpeg from php in lampp server

    13 mai 2016, par Rafaf Tahsin

    I’ve written a php program which creates a video from sequence of images using ffmpeg.

    <?php
       $res = shell_exec("ffmpeg -framerate 50 -i image/image%d.png -c:v libx264 -r 30 -pix_fmt yuv420p out.mp4 2>&1");
       echo "$res";

    When I run it,

    it says GLIBCXX_3.4.15 , GLIBCXX_3.4.9 , GLIBCXX_3.4.11 not found.

    ffmpeg : /opt/lampp/lib/libstdc++.so.6 : version `GLIBCXX_3.4.15’ not

    found (required by /usr/lib/i386-linux-gnu/libjack.so.0) ffmpeg :

    /opt/lampp/lib/libstdc++.so.6 : version `GLIBCXX_3.4.9’ not found

    (required by /usr/lib/i386-linux-gnu/libzmq.so.3) ffmpeg :

    /opt/lampp/lib/libstdc++.so.6 : version `GLIBCXX_3.4.11’ not found

    (required by /usr/lib/i386-linux-gnu/libopencv_core.so.2.4) ffmpeg :

    /opt/lampp/lib/libstdc++.so.6 : version `GLIBCXX_3.4.9’ not found

    (required by /usr/lib/i386-linux-gnu/libopencv_core.so.2.4)

    But from the terminal, ffmpeg -framerate 50 -i image/image%d.png -c:v libx264 -r 30 -pix_fmt yuv420p out.mp4 command works fine. Why php can’t find the libraries while from the terminal it works fine ? and what should I do to fix the problem in php ? Thanks in advance.