Recherche avancée

Médias (0)

Mot : - Tags -/content

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

Autres articles (18)

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

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

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

Sur d’autres sites (4252)

  • java.lang.UnsatisfiedLinkError couldn't find "libavcore.so"runtime error

    12 décembre 2017, par Shivani Vasundhara

    I am using FFmpegExample and have included pre compiled .so files.There are only 2 CPU structure .so files. "armeabi" and "armeabi-v7a".I already added below code in build.gradle file of app module.It didn’t worked for me.

    ndk {
           abiFilters "armeabi","armeabi-v7a"
       }

    I am getting this error message :

    enter image description here

  • avcodec_open2 error -542398533 : "Generic error in an external library"

    15 février 2017, par bot1131357

    I am encountering an error when trying to open the codec with avcodec_open2(). I have tried the same code without any problems if I specify avi instead of h264 in the av_guess_format() function.

    I don’t know what to make of it. Has anyone else encountered a similar problem ?

    The library that I’m using is ffmpeg-20160219-git-98a0053-win32-dev. I would really really appreciate if you could help me out of this confusion.

    This is my console output :

    Video encoding
    [libx264 @ 01383460] broken ffmpeg default settings detected
    [libx264 @ 01383460] use an encoding preset (e.g. -vpre medium)
    [libx264 @ 01383460] preset usage : -vpre -vpre
    [libx264 @ 01383460] speed presets are listed in x264 —help
    [libx264 @ 01383460] profile is optional ; x264 defaults to high
    Cannot open video codec, -542398533

    This is the code that I’m working with :

    // Video encoding sample
    AVCodec *codec = NULL;
    AVCodecContext *codecCtx= NULL;
    AVFormatContext *pFormatCtx = NULL;
    AVOutputFormat *pOutFormat = NULL;
    AVStream * pVideoStream = NULL;;
    AVFrame *picture = NULL;;

    int i, x, y, ret;

    printf("Video encoding\n");

    // Register all formats and codecs
    av_register_all();

    // guess format from file extension
    pOutFormat = av_guess_format("h264", NULL, NULL);
    if (NULL==pOutFormat){
       cerr << "Could not guess output format" << endl;
       return -1;
    }  

    // allocate context
    pFormatCtx = avformat_alloc_context();
    pFormatCtx->oformat = pOutFormat;
    memcpy(pFormatCtx->filename,filename,
       min(strlen(filename), sizeof(pFormatCtx->filename)));

    // Add stream to pFormatCtx
    pVideoStream = avformat_new_stream(pFormatCtx, 0);
    if (!pVideoStream)
    {
       printf("Cannot add new video stream\n");
       return -1;
    }

    // Set stream's codec context
    codecCtx = pVideoStream->codec;
    codecCtx->codec_id = (AVCodecID)pOutFormat->video_codec;
    codecCtx->codec_type = AVMEDIA_TYPE_VIDEO;
    codecCtx->frame_number = 0;
    // Put sample parameters.
    codecCtx->bit_rate = 2000000;
    // Resolution must be a multiple of two.
    codecCtx->width  = 320;
    codecCtx->height = 240;
    codecCtx->time_base.den = 10;
    codecCtx->time_base.num = 1;
    pVideoStream->time_base.den = 10;
    pVideoStream->time_base.num = 1;
    codecCtx->gop_size = 12; // emit one intra frame every twelve frames at most
    codecCtx->pix_fmt = AV_PIX_FMT_YUV420P;

    if (codecCtx->codec_id == AV_CODEC_ID_H264)
    {
       // Just for testing, we also add B frames
       codecCtx->mb_decision = 2;
    }
    // Some formats want stream headers to be separate.
    if(pFormatCtx->oformat->flags & AVFMT_GLOBALHEADER)
    {
       codecCtx->flags |= CODEC_FLAG_GLOBAL_HEADER;
    }

    if(codecCtx->codec_id == AV_CODEC_ID_H264)
       av_opt_set(codecCtx->priv_data, "preset", "slow", 0);


    // Open the codec.
    codec = avcodec_find_encoder(codecCtx->codec_id);
    if (codec == NULL) {
       fprintf(stderr, "Codec not found\n");
       return -1;
    }
    ret = avcodec_open2(codecCtx, codec, NULL); // returns -542398533 here
    if (ret < 0)
    {
       printf("Cannot open video codec, %d\n",ret);
       return -1;
    }
  • FFmpeg error - "at least one output file must be specified" [closed]

    1er février 2018, par Derrick Tucker
    ffmpeg -ss 0 -i rawvid.flv -t 33 -vf scale=640x480 -b:21504 test.mpg

    When run, this returns "At least one output file must be specified", what am I missing ?

    PS : FFmpeg works fine, and if I remove all of the flags in the statement above, it works.