Recherche avancée

Médias (1)

Mot : - Tags -/net art

Autres articles (60)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

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

Sur d’autres sites (5104)

  • 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 :

    



    


    [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 ?

    


  • 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 ?