Recherche avancée

Médias (91)

Autres articles (104)

  • 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

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

Sur d’autres sites (13366)

  • 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


    


  • 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 ?)

  • Output file #0 does not contain any stream How can i solve this problem

    17 mai 2021, par 전재현

    I want to conver yuv file to png file
so I put this
    
"fmpeg -s 1280x1344 -pix_fmt yuv420p -vframes 64 -f image2 image%d.png"
on mac terminal
but always return Outputfile #0 does not contain any stream
How can I solve this problem
Help me please