
Recherche avancée
Autres articles (66)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
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 (...) -
Mise à disposition des fichiers
14 avril 2011, parPar défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)
Sur d’autres sites (6672)
-
Libav - how to correctly free memory leaking with av_write_frame
20 avril 2017, par golstarI am using LIBAV on Ubuntu to save user’s video stream(RTP VP8) on server in WebM format.
The problem is, memory is leaking when using av_write_frame. Memory usage is constantly growing (equally with the webm file size) and is never freed after finishing the video recording. The only way to free the memory(RAM) is deleting the WebM file from the storage (HD) afterwards.I have 2 questions :
- Is it possible to free the memory consumed by
av_write_frame
during runtime ? I am freeing thepacket.data
correctly. Memory usage is not growing whenav_write_frame
line is commented. -
What is the correct way to close the file ? This is what I’m doing (it does not free the memory) :
av_write_trailer(fctx);
avcodec_close(vStream->codec);
avio_close(fctx->pb);
avformat_free_context(fctx);
- Is it possible to free the memory consumed by
-
List of free TCP ports in C++ without using bind() with port=0
8 mai 2016, par userDtrmI need to create a set of dynamic ffmpeg instances that listens to a port that is available within a C++ program. The ffmpeg instances are created using a command identified as
ffmpeg -i tcp://ip:port?listen ...
, where the port number should be an available free port. Then ffmpeg command is executed usingexecv()
within a c++ program.Therefore, I need to find a free port which is currently available without using
bind()
withport=0
. As I understand, thebind()
will bind the port when trying to check if the port is available.Please let me know if there is a way to implement this within C++.
Thanks.
-
avcodec/vlc : Attempt to free buf after use in ff_vlc_init_multi_from_lengths()
13 septembre 2023, par Michael Niedermayeravcodec/vlc : Attempt to free buf after use in ff_vlc_init_multi_from_lengths()
Fixes : use after free
Fixes : 62153/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MAGICYUV_fuzzer-4702814909366272Found-by : continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>