Recherche avancée

Médias (1)

Mot : - Tags -/biomaping

Autres articles (44)

  • Qu’est ce qu’un éditorial

    21 juin 2013, par

    Ecrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
    Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
    Vous pouvez personnaliser le formulaire de création d’un éditorial.
    Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)

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

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

  • OpenFaas. Write python function with FFmpeg using

    11 août 2021, par Валентин Никин

    I need to write OpenFaas function which can accept binary file as parameter. This function will extract some data from that binary file. Based on that data function will generate ffmpeg command. And finally function must be call ffmpeg to process generated command and return file as output.

    


    Function language must be python, because I need to use some python modules to process input binary file.

    


    The main questions :

    


      

    1. Can I accept binary a file as function parameter (in python function) ?
    2. 


    3. Can I call ffmpeg from python function, and return binary file as output ?
    4. 


    


    I have already met with alexellis official example (https://github.com/alexellis/openfaas-streaming-templates) but that example used bash language.

    


    I have one idea, but I don't know is it correct.
Maybe I can use example with bash, to accept binary file as parameter, then I call python script, after that I call ffmpeg, and return file as output as described in the example.
But I need some python modules available with pip. So, I don't know how I can got this.

    


    I'm newest in OpenFaas, so any idea would be appriciated

    


  • Generating fragmented mp4 ffmpeg is causing the video to have a duration of 0ms in bento4

    23 octobre 2020, par noboss

    Im using ffmpeg to generate a fragmented mp4 with the following command :

    


    ffmpeg -re -i ./input.mp4 -g 52 \
-strict experimental -acodec aac -ab 64k -vcodec libx264 -vb 448k \
-f mp4 -movflags frag_keyframe+empty_moov \
./output.mp4


    


    When I'm playing it in an HTMLMediaElement the video.duration = Infinity.
When I inspect the file with mp4info from bento4 I get :

    


    File:
  major brand:      isom
  minor version:    200
  compatible brand: isom
  compatible brand: iso2
  compatible brand: avc1
  compatible brand: mp41
  fast start:       yes

Movie:
  duration:   612961 ms
  time scale: 1000
  fragments:  no

Found 2 Tracks
Track 1:
  flags:        3 ENABLED IN-MOVIE
  id:           1
  type:         Video
  duration: 0 ms
  language: und
  media:
    sample count: 15322
    timescale:    12800
    duration:     7844864 (media timescale units)
    duration:     612880 (ms)
    bitrate (computed): 2587.007 Kbps
[...]
Track 2:
  flags:        3 ENABLED IN-MOVIE
  id:           2
  type:         Audio
  duration: 0 ms
  language: eng
  media:
    sample count: 26398
    timescale:    44100
    duration:     27031552 (media timescale units)
    duration:     612960 (ms)
    bitrate (computed): 128.584 Kbps
[...]


    


    Has someone any idea what I'm doing wrong ?

    


  • yocto, how to build ffmpeg dev packages

    28 mai 2018, par Alek

    I got a yocto built for imx board. I can build ffmpeg package, but need also to populate headers and libraries in my SDK. Building using bitbake core-image-minimal -c populate_sdk does not add ffmpeg headers to SDK image.

    Didn’t have any problems with prervious libraires like modbus, etc.

    How to build ffmpeg development packages ?

    Thanks in advance.