Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (111)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

Sur d’autres sites (11957)

  • Syncronize RTSP with computer time

    17 décembre 2012, par Dídac Pérez

    I am successfully using libav to receive the video stream from an RTSP network source. The point is that I need to syncronize my computer's time with the video capturing, meaning that I need to know which datetime of my computer corresponds to the first frame (pts = 0). My API calls are the following ones :

    av_register_all()
    avcodec_register_all()
    avformat_network_init()
    avformat_open_input()
    avformat_find_stream_info()
    av_read_play()
    loop
     av_init_packet()
     av_read_frame()
     [...]
     av_free_packet
    end loop

    With the calls above, I successfully read frames, but I do need to know how can I know the exact absolute datetime that corresponds to the first frame, since it has a pts of 0. Maybe I can use a time() function or GetSystemTime (I am using Windows) between two calls of the above, but do not really know how libav works. I will appreciate your help,

    Kind regards,

    Dídac Pérez

  • FFMPEG API real-time encoding, skipped frames

    24 octobre 2015, par Paul Knopf

    I am using FFMPEG to encode live video. If I can’t keep up with the live encoding, I need to drop frames. Currently, I just skip the encoding of a raw frame, and the PTS for the next frame is the same. Meaning, even if there is a skipped frame, the pts is always 1,2,3,4,5,6....

    This causes the playback of the file to skip ahead in time. Instead, I would like to add blank frames to the muxed file. I tried making PTS indicate a skipped frame by setting it to 1,2,4,5,8,...., but the FFMPEG h264 encoders depend on PTS being consecutive.

    How do I pass empty data to my mp4/container, indicating a blank space in time, so that decoders won’t appear to jump ahead in time, but instead just see a delay/freeze.

  • how av_freep in ffmpeg works ?

    11 août 2016, par Billy Bob

    I have some questions regarding void pointer in C. I found out the following code, part of ffmpeg that I couldn’t understand... Could someone explain to me how it works ?

    void av_freep(void *arg)
    {
           void *val;

           memcpy(&val, arg, sizeof(val));
           memcpy(arg, &(void *){ NULL }, sizeof(val));
           av_free(val);
    }

    and later it’s called like this :

    char *str;
    av_freep(&str);

    my questions :

    1. how passing address of str (&str) doesn’t trigger "incompatible type" warning when it’s compiled ? Shouldn’t &str type is become char** ?
    2. what’s the meaning of &(void *) NULL in one of memcpy parameter ?
    3. why it’s trying to free "val" which is not allocated ?

    Thanks !