Recherche avancée

Médias (91)

Autres articles (80)

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

  • Problèmes fréquents

    10 mars 2010, par

    PHP et safe_mode activé
    Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
    La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site

  • Diogene : création de masques spécifiques de formulaires d’édition de contenus

    26 octobre 2010, par

    Diogene est un des plugins ? SPIP activé par défaut (extension) lors de l’initialisation de MediaSPIP.
    A quoi sert ce plugin
    Création de masques de formulaires
    Le plugin Diogène permet de créer des masques de formulaires spécifiques par secteur sur les trois objets spécifiques SPIP que sont : les articles ; les rubriques ; les sites
    Il permet ainsi de définir en fonction d’un secteur particulier, un masque de formulaire par objet, ajoutant ou enlevant ainsi des champs afin de rendre le formulaire (...)

Sur d’autres sites (7512)

  • How to manage hls in Nginx RTMP module

    27 mars, par syrkandonut

    I would like to manage the hls broadcast on request, like stop/start or some other way in Nginx RMTP module.
My rtmp server needs to support many cameras, however, when it does ffmpeg exec for 200-300 rtmp streams, this is very difficult for the processor, so I would like to execute the ffmpeg command in parallel only on request, how could this be done ?

    


    Rtmp Server

    


    rtmp {
    server {
        listen 1935;
        chunk_size 8192;

        application live {
            live on;
            record off;
            drop_idle_publisher 10s;
            allow publish all;

            on_publish rtmp-router:8082/on_publish;

              exec ffmpeg -i rtmp://localhost:1935/live/$name
              -f lavfi -i anullsrc -c:v copy -c:a aac -shortest -f flv rtmp://localhost:1935/hls/$name_main;
        }


        application hls {
            live on;
            hls on;
            hls_fragment_naming system;
            hls_fragment 2;
            hls_playlist_length 4;
            hls_path /opt/data/hls;
            hls_nested on;

            hls_variant _main BANDWIDTH=878000,RESOLUTION=640x360;
        }
    }
}


    


    I would like to solve this through nginx or python itself, since the server running with threads is written in FastAPI.

    


  • avcodec/opus : Move stuff shared by decoder and parser to a new file

    3 octobre 2022, par Andreas Rheinhardt
    avcodec/opus : Move stuff shared by decoder and parser to a new file
    

    opus.h (which is used by all the Opus code) currently includes
    several structures only used by the parser and the decoder ;
    several elements of OpusContext are even only used by the decoder.

    This commit therefore moves the part of OpusContext that is shared
    between these two components (and used by ff_opus_parse_extradata())
    out into a new structure and moves all the other accompanying
    structures and functions to a new header, opus_parse.h ; the
    functions itself are also moved to a new file, opus_parse.c.
    (This also allows to remove several spurious dependencies
    of the Opus parser and encoder.)

    Reviewed-by : Lynne <dev@lynne.ee>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavcodec/Makefile
    • [DH] libavcodec/opus.c
    • [DH] libavcodec/opus.h
    • [DH] libavcodec/opus_parse.c
    • [DH] libavcodec/opus_parse.h
    • [DH] libavcodec/opus_parser.c
    • [DH] libavcodec/opusdec.c
  • avdevice/decklink_dec : Convert decklink input module to use codecpar

    8 mai 2016, par Felt, Patrick
    avdevice/decklink_dec : Convert decklink input module to use codecpar
    

    There are still a couple of deprecated calls that I’m not sure what to do with.
    They are both related to some logic around AVCodecContext.coded_frame.
    I couldn’t find anywhere that really documented what that was, or where it was intended to move to.
    I left the warnings on.

    Reviewed-by : Deti Fliegl <deti@fliegl.de>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavdevice/decklink_dec.cpp