Recherche avancée

Médias (1)

Mot : - Tags -/book

Autres articles (71)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

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

Sur d’autres sites (13517)

  • ffmpeg make file configuration options

    23 mars 2016, par George Varghese

    I am trying to implement a media player plugin in chrome using ffmpeg. This player should support rtsp,h264, MJPEG formats.

    My question is, which decoders/encoders need to be enabled in ffmpeg build script ?

    Regards,
    George

  • Output smaller chunks to stdout in FFmpeg

    26 octobre 2015, par Yotam Ofek

    I’m using FFmpeg to stream raw PCM data from an internet radio stream, which I then run through some processing.
    FFmpeg buffers around 10 seconds before sending any output to stdout, and I’ve been trying to get it to send data in more frequent intervals, so I can process it in smaller chunks.

    I’ve looked at various FFmpeg command line options, but could not find one that will decrease the internal buffering used.
    Looking at the various format options, I’ve tried -fflags nobuffer and -avioflags direct on both input and output, to no avail.

    Thanks.

  • FFmpeg : HLS options cannot be set/get/find

    4 septembre 2013, par user2677612

    We are using FFmpeg libraries git-ee94362 libavformat v55.2.100.
    We are trying to write a simple HLS code example based on muxing.c standard one.
    Let be two input streams, video and audio (they can be synthetic, doesn't matter).
    Our purpose is to mux them into M3U8 playlist using HLS.
    Suppose, duration of every TS segment file be 3 sec, and the desirable maximum number of entries in M3U8 output file be 100.

    From the FFmpeg application sources, one can see that the Apple HTTP Live Streaming segmenter implemented in hlsenc.c file.
    And the relevant options there are, as well : "hls_list_size", "hls_time", etc.
    The problem is that we have not succeeded to set/get/find these options in a conventional way, as shown in the following code :


    // Here is a part of main() program

    int64_t i1 = 0;
    void *target_obj;

    AVFormatContext *ofmt_ctx = NULL;
    AVOutputFormat *ofmt = NULL;

    avformat_alloc_output_context2(&ofmt_ctx, NULL, NULL, "Example_Out.m3u8");

    ofmt = ofmt_ctx->oformat;

    // The relevant options ("hls_list_size", "hls_time") are located under ofmt->priv_class->option.
    // But AVClass *priv_class is not the first member of the AVOutputFormat.
    // So, due to the documentation, av_opt_find...(), av_opt_get...() and av_opt_set...()
    // cannot be used for options within AVOutputFormat.
    // In practice, any of the following three lines causes exception.
    const AVOption *o = av_opt_find2(ofmt, "hls_list_size", NULL, 0, AV_OPT_SEARCH_CHILDREN, &target_obj);
    av_opt_get_int(ofmt, "hls_list_size", AV_OPT_SEARCH_CHILDREN, &i1);
    av_opt_set_int(ofmt, "hls_list_size", 10, AV_OPT_SEARCH_CHILDREN);

    Our question : If there is a way to overcome the problem, i.e. to set/get/find options for AVOutputFormat, like for AVCodecContext (for example) ?

    Thank you,

    Andrey Mochenov.