Recherche avancée

Médias (91)

Autres articles (41)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (8923)

  • lavu/opt : fix doxy for av_opt_get* functions about return value

    4 octobre 2013, par Stefano Sabatini
    lavu/opt : fix doxy for av_opt_get* functions about return value
    

    Success code must be >= 0 and not == 0, consistently with the
    implementation.

    • [DH] libavutil/opt.h
  • How to force usage of specific codec with ffmpeg ?

    4 septembre 2013, par Srv19

    I am trying to read a certain video file using ffmpeg, and have run into a bit of trouble.

    This is the code that starts to read it :

    int _tmain(int argc, _TCHAR* argv[])
    {
       if (argc < 2)
       {
           fprintf( stderr, "Filename is needed as an argument\n" );  
           return 1;  
       }
       /* register all formats and codecs */
       av_register_all();
       AVFormatContext* fmt_ctx = NULL;
       /* open input file, and allocate format context */
       const char *src_filename = argv[1];
       if (avformat_open_input(&fmt_ctx, src_filename, NULL, NULL) < 0) {
           fprintf(stderr, "Could not open source file %s\n", src_filename);
           abort();
       }
       /* retrieve stream information */
       AVDictionary *      options;
       int res = avformat_find_stream_info(fmt_ctx, &options);
       if (res < 0) {
           fprintf(stderr, "Could not find stream information\n");
           abort();
       }
       ...
    }

    I am consistently getting the following message :

    [avi @ 005f2fe0] Could not find codec parameters for stream 0 (Video :
    none (GREY / 0x59455247), 1280x1024) : unknown codec

    Consider increasing the value for the 'analyzeduration' and 'probesize' options

    I get the same message when i run ffmpeg tool on the same file.

    However, i know what is in the video stream - raw video data with YUV8 format. In fact, when i pass that to ffmpeg via -c:v rawvideo option, there is no problem. Recoding, transforming etc - ffmpeg does it like the magic tool it is.

    Now, the question is : when using ffmpeg api, what is the equivalent of that option ? I desperately need access to the frames of file.

  • Merge commit ’647d655d19c38e9716328e4787199149097d6089’

    18 septembre 2013, par Michael Niedermayer
    Merge commit ’647d655d19c38e9716328e4787199149097d6089’
    

    * commit ’647d655d19c38e9716328e4787199149097d6089’ :
    rtmpproto : Consistently use the right prev_pkt array

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

    • [DH] libavformat/rtmpproto.c