Recherche avancée

Médias (1)

Mot : - Tags -/artwork

Autres articles (105)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

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

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

Sur d’autres sites (5886)

  • How to use hardware acceleration with ffmpeg

    5 avril 2018, par ixSci

    I need to have ffmpeg decode my video(e.g. h264) using hardware acceleration. I’m using the usual way of decoding frames : read packet -> decode frame. And I’d like to have ffmpeg speed up decoding. So I’ve built it with --enable-vaapi and --enable-hwaccel=h264. But I don’t really know what should I do next. I’ve tried to use avcodec_find_decoder_by_name("h264_vaapi") but it returns nullptr.
    Anyway, I might want to use others API and not just VA API. How one is supposed to speed up ffmpeg decoding ?

    P.S. I didn’t find any examples on Internet which uses ffmpeg with hwaccel.

  • How to use hardware acceleration with ffmpeg

    16 juin 2014, par ixSci

    I need to have ffmpeg decode my video(e.g. h264) using hardware acceleration. I’m using the usual way of decoding frames : read packet -> decode frame. And I’d like to have ffmpeg speed up decoding. So I’ve built it with --enable-vaapi and --enable-hwaccel=h264. But I don’t really know what should I do next. I’ve tried to use avcodec_find_decoder_by_name("h264_vaapi") but it returns nullptr.
    Anyway, I might want to use others API and not just VA API. How one is supposed to speed up ffmpeg decoding ?

    P.S. I didn’t find any examples on Internet which uses ffmpeg with hwaccel.

  • av_find_stream_info works OK with file, not with pipe

    14 décembre 2016, par Aliza

    I have the following code :

    av_register_all();
    pFormatCtx = avformat_alloc_context();
    const char* input = "pipe:";
    AVInputFormat* iFormat = av_find_input_format("mpegts");
    if ( avformat_open_input(&pFormatCtx, input, iFormat, NULL) != 0 )
            return -1;
    int res = av_find_stream_info(pFormatCtx);

    when my input is a regular file, this works nicely and pFormatCtx is populated with the streams in the file. However, when i set input to "pipe :", av_find_stream_info returns with -1.

    I am using the same file and piping it by running
    cat mpeg.ts | myApp

    Any ideas ?

    Thanks,
    Aliza