Recherche avancée

Médias (1)

Mot : - Tags -/getid3

Autres articles (58)

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

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

Sur d’autres sites (3109)

  • avisynth : set duration of audio streams

    8 mai 2014, par Hendrik Leppkes
    avisynth : set duration of audio streams
    

    Signed-off-by : Anton Khirnov <anton@khirnov.net>

    • [DH] libavformat/avisynth.c
  • tiffenc : fix packet size calculation

    13 juin 2014, par Tristan Matthews
    tiffenc : fix packet size calculation
    

    Signed-off-by : Anton Khirnov <anton@khirnov.net>

    • [DH] libavcodec/tiffenc.c
  • FFmpeg dnn_processing with tensorflow backend : difficulties applying a filter on an image

    9 avril 2023, par ArnoBen

    I am trying to perform a video segmentation for background blurring similar to Google Meet or Zoom using FFmpeg, and I'm not very familiar with it.

    &#xA;

    Google's MediaPipe model is available as a tensorflow .pb file here (using download_hhxwww.sh).

    &#xA;

    I can load it in python and it works as expected, though I do need to format the input frames : scaling to the model input dimension, adding a batch dimension, dividing the pixel values by 255 to have a range 0-1.

    &#xA;

    FFmpeg has a filter that can use tensorflow models thanks to dnn_processing, but I'm wondering about these preprocessing steps. I tried to read the dnn_backend_tf.c file in ffmpeg's github repo, but C is not my forte. I'm guessing it adds a batch dimension somewhere otherwise the model wouldn't run, but I'm not sure about the rest.

    &#xA;

    Here is my current command :

    &#xA;

    ffmpeg \&#xA;    -i $FILE -filter_complex \&#xA;    "[0:v]scale=160:96,format=rgb24,dnn_processing=dnn_backend=tensorflow:model=$MODEL:input=input_1:output=segment[masks];[masks]extractplanes=2[mask]" \&#xA;    -map "[mask]" output.png&#xA;

    &#xA;

      &#xA;
    • I'm already applying a scaling to match the input dimension.
    • &#xA;

    • I wrote this [masks]extractplanes=2[mask] because the model outputs a HxWx2 tensor (background mask and foreground mask) and I want to keep the foreground mask.
    • &#xA;

    &#xA;

    The result I get with this command is the following (input-output) :

    &#xA;

    Output example

    &#xA;

    I'm not sure how to interpret the problems in this output. In python I can easily get a nice grayscale output :

    &#xA;

    enter image description here

    &#xA;

    I'm trying to obtain something similar with FFmpeg.

    &#xA;

    Any suggestion or insights to obtain a correct output with FFmpeg would be greatly appreciated.

    &#xA;

    PS : If I try to apply this on a video file, it hits a Segmentation Fault somewhere before getting any output so I stick with testing on an image for now.

    &#xA;