Recherche avancée

Médias (91)

Autres articles (73)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

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

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

Sur d’autres sites (9756)

  • FFMPEG avformat_open_input returns unpopulated Format context

    21 avril 2013, par Michael IV

    I am trying to load avi and flv files programatically with FFMPEG API.The files seem to get loaded because avformat_open_input doesn't return 0 .But when inspecting AVFormatContext variable for every property in the inspector I am getting just "Unable to read memory" .Here is how I do it :

               av_register_all();
       avcodec_register_all();
       AVFormatContext *pFormatCtx=avformat_alloc_context();


       if(avformat_open_input(&pFormatCtx,"assest/comp1.avi",NULL,NULL) !=0)
       {

           printf("%s","Movie load Success");
       }else{


           printf("%s","Movie load Fail");
       }  

    I am using VisualStudio 2010 C++ compiler .Windows 7.

    UPDATE :

    Ok ,Please discard this question.I found the error.It was a stupid typo in the file directory path.

  • rtsp : Use AVERROR() with errno.h error codes for error returns

    11 décembre 2019, par Martin Storsjö
    rtsp : Use AVERROR() with errno.h error codes for error returns
    

    This particular function is only required to return nonzero on
    errors, but use the common AVERROR() pattern for consistency.

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DH] libavformat/rtsp.c
  • avformat : introduce AVFormatContext io_close2 which returns an int

    30 novembre 2021, par Marton Balint
    avformat : introduce AVFormatContext io_close2 which returns an int
    

    Otherwise there is no way to detect an error returned by avio_close() because
    ff_format_io_close cannot get the return value.

    Checking the return value of the close function is important in order to check
    if all data was successfully written and the underlying close() operation was
    successful.

    It can also be useful even for read mode because it can return any pending
    AVIOContext error, so the user don't have to manually check AVIOContext->error.

    In order to still support if the user overrides io_close, the generic code only
    uses io_close2 if io_close is either NULL or the default io_close callback.

    Signed-off-by : Marton Balint <cus@passwd.hu>

    • [DH] doc/APIchanges
    • [DH] libavformat/avformat.h
    • [DH] libavformat/dashenc.c
    • [DH] libavformat/fifo.c
    • [DH] libavformat/hlsenc.c
    • [DH] libavformat/internal.h
    • [DH] libavformat/options.c
    • [DH] libavformat/segment.c
    • [DH] libavformat/tee.c
    • [DH] libavformat/utils.c
    • [DH] libavformat/version.h