Recherche avancée

Médias (91)

Autres articles (32)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • Configuration spécifique d’Apache

    4 février 2011, par

    Modules spécifiques
    Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
    Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
    Création d’un (...)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

Sur d’autres sites (4745)

  • utvideoenc : Enable support for multiple slices and use them

    14 février 2014, par Jan Ekström
    utvideoenc : Enable support for multiple slices and use them
    

    The official Ut Video decoder only threads with slices, thus until
    now any files encoded by the libavcodec encoder have only been
    decodable with a single thread. The default slice count is now
    set to subsampled_height / 120.

    Also sets slices to 1 for the Ut Video encoder tests to keep them
    green.

    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavcodec/utvideoenc.c
    • [DH] tests/fate/utvideo.mak
  • Header missing in mpg, in spite of using avformat_write_header

    23 novembre 2012, par TheSHEEEP

    I am encoding a live rendered video to mpg and/or mp4 (depends on the later usage of the video) using the ffmpeg C API. When encoding to mp4, everything is well. But when encoding to mpg, the resulting video cannot be played by any player. A quick call to ffprobe on it reveals that the header is missing. But this seems pretty much impossible, as I am explicitly writing it.

    This is how I write the header, before any frame is encoded :

    // ptr->oc is the AVFormatContext
    int error = avformat_write_header(ptr->oc, NULL);
    if (error &lt; 0)
    {
       s_logFile &lt;&lt; "Could not write header. Error: " &lt;&lt; error &lt;&lt; endl;
       fprintf(stderr, "Could not write header. Error: &#39;%i&#39;\n", error);
       return 1;
    }

    There never is any error when writing the header.

    For encoding, I am following the official muxing.c example, so I do set the CODEC_FLAG_GLOBAL_HEADER flag. I use CODEC_ID_MPEG2VIDEO (for video) and CODEC_ID_MP2 (for audio).

    The result mpg does work when I "encode" it in an additional step with an external ffmpeg executable like this : "ffmpeg -i ownEncoded.mpg -sameq -y working.mpg".
    So it seems all the data is there, only the header is missing for some reason...

    Here is the only thing ffmpeg is reporting before/when writing the header :

    mpeg -------------------
    lvl: 24
    msg: VBV buffer size not set, muxing may fail

    Could that be the problem ?

    I wonder what could be wrong here as I encode mp4 with the exact same function, except setting some special values like qmin, qmax, me_method, etc. when encoding to mp4. Do I probably have to set any special values so that ffmpeg really does write the header correctly ?

  • Error when transcode webm to mp4 using ffmpeg.wasm

    17 février 2021, par arpo

    I have this webm file recorded using MediaRecorder in Chrome.&#xA;https://cdn.hibervr.com/video/loop3.webm

    &#xA;

    When I try to transcode it using ffmpeg.wasm, https://github.com/ffmpegwasm/ffmpeg.wasm

    &#xA;

    Using this codepen, taken from the official site :&#xA;https://codepen.io/jeromewu/pen/NWWaMeY

    &#xA;

    I get this error in the console and the file isn't playable.

    &#xA;

    net::ERR_REQUEST_RANGE_NOT_SATISFIABLE&#xA;

    &#xA;

    Any clues about how to fix it ?

    &#xA;

    It works using other webm files like this.&#xA;https://phoboslab.org/files/ffmpeg-mt-fixed/jumparound.webm

    &#xA;