
Recherche avancée
Médias (2)
-
Granite de l’Aber Ildut
9 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
-
Géodiversité
9 septembre 2011, par ,
Mis à jour : Août 2018
Langue : français
Type : Texte
Autres articles (71)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
MediaSPIP Core : La Configuration
9 novembre 2010, parMediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)
Sur d’autres sites (6801)
-
how av_freep in ffmpeg works ?
11 août 2016, par Billy BobI 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 :
- how passing address of str (&str) doesn’t trigger "incompatible type" warning when it’s compiled ? Shouldn’t &str type is become char** ?
- what’s the meaning of &(void *) NULL in one of memcpy parameter ?
- why it’s trying to free "val" which is not allocated ?
Thanks !
-
FFMPEG API real-time encoding, skipped frames
24 octobre 2015, par Paul KnopfI 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.
-
Syncronize RTSP with computer time
17 décembre 2012, par Dídac PérezI 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 loopWith 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