Recherche avancée

Médias (91)

Autres articles (59)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • 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" ;

  • Le plugin : Gestion de la mutualisation

    2 mars 2010, par

    Le plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
    Installation basique
    On installe les fichiers de SPIP sur le serveur.
    On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
    On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
    < ?php (...)

Sur d’autres sites (6632)

  • Revision 16139 : Report de [16138] dans la branche 2.2. L’interdiction de déclarer une base ...

    14 septembre 2010, par esj@… — Log

    Report de [16138] dans la branche 2.2. L’interdiction de déclarer une base externe à qui n’est pas admin introduite à raison par [14347] a été faite trop à l’arrachée : comme exec=install dispense d’authentifier, l’utilisation de autoriser(’configurer’) ici ne repose plus que sur le cookie, qui n’est (...)

  • FFMPEG streaming RTP : time base not set

    25 octobre 2020, par Managarm

    I'm trying to create a small demo to get a feeling for streaming programmatically with ffmpeg. I'm using the code from this question as a basis. I can compile my code, but when I try to run it I always get this error :

    &#xA;&#xA;

    &#xA;

    [rtp @ 0xbeb480] time base not set

    &#xA;

    &#xA;&#xA;

    The thing is, I have set the time base parameters. I even tried setting them for the stream (and the codec associated with the stream) as well, even though this should not be necessary as far as I understand it. This is the relevant section in my code :

    &#xA;&#xA;

    AVCodec* codec = avcodec_find_encoder(AV_CODEC_ID_H264);&#xA;AVCodecContext* c = avcodec_alloc_context3(codec);&#xA;c->pix_fmt = AV_PIX_FMT_YUV420P;&#xA;c->flags = CODEC_FLAG_GLOBAL_HEADER;&#xA;c->width = WIDTH;&#xA;c->height = HEIGHT;&#xA;c->time_base.den = FPS;&#xA;c->time_base.num = 1;&#xA;c->gop_size = FPS;&#xA;c->bit_rate = BITRATE;&#xA;&#xA;avcodec_open2(c, codec, NULL);&#xA;struct AVStream* stream = avformat_new_stream(avctx, codec);&#xA;&#xA;// TODO: causes an error&#xA;avformat_write_header(avctx, NULL);&#xA;

    &#xA;&#xA;

    The error occurs when calling "avformat_write_header" near the end. All methods that can fail (like avcodec_open2) are checked, I just removed the checks to make the code more readable.

    &#xA;&#xA;

    Digging through google and the ffmpeg source code didn't yield any useful results. I think it's really basic, but I'm stuck. Who can help me ?

    &#xA;

  • FFMPEG streaming RTP : time base not set

    15 novembre 2016, par Managarm

    I’m trying to create a small demo to get a feeling for streaming programmatically with ffmpeg. I’m using the code from this question as a basis. I can compile my code, but when I try to run it I always get this error :

    [rtp @ 0xbeb480] time base not set

    The thing is, I have set the time base parameters. I even tried setting them for the stream (and the codec associated with the stream) as well, even though this should not be necessary as far as I understand it. This is the relevant section in my code :

    AVCodec* codec = avcodec_find_encoder(AV_CODEC_ID_H264);
    AVCodecContext* c = avcodec_alloc_context3(codec);
    c->pix_fmt = AV_PIX_FMT_YUV420P;
    c->flags = CODEC_FLAG_GLOBAL_HEADER;
    c->width = WIDTH;
    c->height = HEIGHT;
    c->time_base.den = FPS;
    c->time_base.num = 1;
    c->gop_size = FPS;
    c->bit_rate = BITRATE;

    avcodec_open2(c, codec, NULL);
    struct AVStream* stream = avformat_new_stream(avctx, codec);

    // TODO: causes an error
    avformat_write_header(avctx, NULL);

    The error occurs when calling "avformat_write_header" near the end. All methods that can fail (like avcodec_open2) are checked, I just removed the checks to make the code more readable.

    Digging through google and the ffmpeg source code didn’t yield any useful results. I think it’s really basic, but I’m stuck. Who can help me ?