Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (66)

  • 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

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

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

  • Link ffmpeg to Pydub in Serverless layer

    15 mars 2021, par akai

    I'm using the Serverless framework to deploy an app on AWS. I have created a layer, defined as follows in serverless.yml :

    


    layers:
  ffmpeg:
    path: layer


    


    I also excluded it from the main file bundle :

    


    package:
  exclude:
    - layer/**


    


    and defined a lambda function :

    


     cut_audio:
    layers:
      - {Ref: FfmpegLambdaLayer}


    


    In this function I use the Pydub library, which needs to access the ffmpeg layer. At the moment I have the following error FileNotFoundError: [Errno 2] No such file or directory: 'ffprobe', meaning I have to link ffmpeg as AudioSegment.converter(path)

    


    How do I get the path of my layer ?

    


    Edit : could I solve this by bundling both Pydub and ffmpeg in the layer ?

    


    Edit 2 : the eziotedeschi/AWS-Lambda-Layer-Pydub github repository doesn't seem to help. I get the following error No module named 'pydub'. I am using Python3.8 as runtime, that might be the issue.

    


  • Max MP4 H264 Header Size

    22 octobre 2016, par SetV

    I have a requirement to cut a MP4 container H264 video encoded file into header part and content part.

    Instead of dwelling into details of the header, I want to split the file with a max MP4 video header limit.

    Is there any such limit exist ? Does splitting initial 2/4 MB from the file will hold the header completely ?

    The requirement is, if the content part of the file is accessible, the video should not be recreated. Is splitting the file into header and content will help ?

  • avcodec/v4l2_buffers : Fix infinite loop

    27 octobre 2019, par Andriy Gelman
    avcodec/v4l2_buffers : Fix infinite loop
    

    This part of the code counts the number of planes returned by the v4l2
    device for each queried capture/output buffer.
    When testing the GPU h264 encoder on Nvidia's Jetson Nano, this caused an
    infinite loop because avbuf->buf.length included some empty buffers (i.e.
    where avbuf->buf.m.planes[i].length = 0), meaning that the counter was
    never incremented and break was never reached.
    This is fixed in the commit by using a well defined iteration range.

    Signed-off-by : Aman Gupta <aman@tmm1.net>

    • [DH] libavcodec/v4l2_buffers.c