Recherche avancée

Médias (0)

Mot : - Tags -/interaction

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (104)

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

  • Soumettre bugs et patchs

    10 avril 2011

    Un logiciel n’est malheureusement jamais parfait...
    Si vous pensez avoir mis la main sur un bug, reportez le dans notre système de tickets en prenant bien soin de nous remonter certaines informations pertinentes : le type de navigateur et sa version exacte avec lequel vous avez l’anomalie ; une explication la plus précise possible du problème rencontré ; si possibles les étapes pour reproduire le problème ; un lien vers le site / la page en question ;
    Si vous pensez avoir résolu vous même le bug (...)

  • Formulaire personnalisable

    21 juin 2013, par

    Cette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
    Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire. (...)

Sur d’autres sites (8865)

  • How to find the actual size occupied by an AVFrame ?

    23 septembre 2013, par jsp99

    The main task at hand is to find the actual size of a decoded AVFrame.

    Here is some background information about the problem -
    I wrote a program which takes as input a media file and displays all the video frames of the file, on the screen. My Code (written in C using SDL and ffmpeg) worked perfectly with .wmv files. When it came to .mkv files, it failed (SIGSEGV) due to the following reason :

    Example : Suppose I have a decoded frame from my video stream of file (filename.mkv) in AVFrame *pFrame. The frame has a pix_fmt (pFrame->pix_fmt) of yuv420p. It has dimensions 640 * 346. The Y-plane has it's linesize (pFrame->linesize[0]) as 672.

    I think you get the point here. When I use avpicture_get_size() to get the size of the frame, it calculates a wrong size. It takes pix_fmt, width and height as arguments. Nowhere does it consider 672 instead of 640.

    avpicture_get_size() : Calculates the size in bytes that a picture of the given width and height would occupy if stored in the given picture format.

    I got around this problem by adding some yuv420p frame specific code, which can find the size of the frame in situations like above.

    • Can someone explain why are most of the decoded frames (from video streams of most of the formats) this way ? And why is it not this way with the wmv format ?

    But if I have to find the actual size occupied by an AVFrame of another format (Eg: yuv410p), I have to write the format specific code again. Coming to the main problem,

    • How can I find the actual size occupied the decoded AVFrame (size in bytes occupied by the data of the AVFrame) ?

    • I tried using av_image_get_buffer_size(), but I couldn't understand how to use the align parameter. Can someone explain the usage of the parameter align ? Tried using many other functions in pixdesc.c, but I am missing something.

  • ffmpeg taking so much time to extract frames from mpeg-ts file

    19 septembre 2016, par Syed Azaruddin

    I got a problem from one mpeg-ts video. Actually it was created by some one else and even I don’t know how they are created. The problem is that, ffmpeg is taking so much time to decode all frames from the mpeg-ts video. The command I used for this operation is...

    ffmpeg -i shame-run.mov -r 24/1 test/output%d.jpg

    Actually my application is integrated with ffmpeg v2.1.1. and I had a code for detecting black frames in a mpeg-ts video. Here, my code is not able to detect all black frames from ffmpeg for this mpeg-ts video. So, I taken standalone ffmpeg of same version as mentioned above and decoded standalone. But, it is taking so much time i.e., it is taken half an hour for decoding 1 min duration video.

    So, is there any reason is that ffmpeg not able to extract as fast as required, and is there any reason that video got some errors.

  • FFmpeg With PHP Fails To Execute

    16 janvier 2020, par Loadedbaze Media

    please i really help with this, ffmeg fails to execute in php

    $sname = $default_mp3_directory . $timeFolder . $storeName;

    $voiceSource = getcwd() . '/voice.mp3';



    $cmd = 'ffmpeg -i ' . $mp3_filz . ' -i ' . $voiceSource . ' -filter_complex "[0]volume=1[main];[1]adelay=20000,volume=5[voice];[main][voice]amix=duration=longest:dropout_transition=0"';
    exec($cmd, $output);