Recherche avancée

Médias (1)

Mot : - Tags -/artwork

Autres articles (62)

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

  • Evolution #2747 : Salvatore : noter les comits dans un fichier texte

    5 juin 2012, par marcimat -

    Qu’il y ait un fichier de log avec "svn merge -cXXX url" OK… Je vois pas ce que tu veux dire, par contre avec « et à déduire la destination de la source » ? Parce que sur la branche 3.0, je SVN merge des choses venant de la DEV comme ça en calant mon terminal sur la racine de la branche : svn merge -c (...)

  • converting complex ffmpeg command to python3

    14 janvier 2020, par Martin

    I have a complicated ffmpeg command that takes audio and image as input, and exports a music video.

    ffmpeg -loop 1 -framerate 2 -i "front.png" -i "testWAVfile.wav" \
       -vf "scale=2*trunc(iw/2):2*trunc(ih/2),setsar=1,format=yuv420p" \
       -c:v libx264 -preset medium -tune stillimage \
       -crf 18 -c:a aac -shortest -vf scale=1920:1080  "outputVideo.mp4"

    I’m trying to write a python3 program cmdMusicVideo.py which will run this command in pure Python. I know that to run this command you need the ffmpeg program, I’m trying to write it in pure python3, where I’m not just spawning a separate process to run the bash command where the user needs to have ffmpeg installed.

    I’ve looked at the various solutions to running ffmpeg in python3, and they’re either :

    • A : Just running the ffmpeg command as a subprocess, where the user needs to have ffmpeg installed
    • or B : An ffmpeg pip program like ffmpeg-python

    The pip libraries I’ve checkout out all use incredibly different formatting, and I haven’t found a way to replicate my ffmpeg command. I’ve searched the loop command in their python package documentation and it doesn’t appear anywhere.

    Is there a way to convert my ffmpeg command into a python3 program where the user doesn’t need to already have ffmpeg installed on their computer ?

    The plan is to eventually turn this into its own pip package, and my concern is that if I use the A method, there would be a case where somebody tries to run my pip command but doesn’t have ffmpeg installed on their terminal (maybe using a python3 specific terminal ?)

  • 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