
Recherche avancée
Autres articles (45)
-
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 (...) -
Use, discuss, criticize
13 avril 2011, parTalk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
A discussion list is available for all exchanges between users. -
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)
Sur d’autres sites (6801)
-
FFMPEG avformat_open_input returns unpopulated Format context
21 avril 2013, par Michael IVI am trying to load avi and flv files programatically with FFMPEG API.The files seem to get loaded because avformat_open_input doesn't return 0 .But when inspecting AVFormatContext variable for every property in the inspector I am getting just "Unable to read memory" .Here is how I do it :
av_register_all();
avcodec_register_all();
AVFormatContext *pFormatCtx=avformat_alloc_context();
if(avformat_open_input(&pFormatCtx,"assest/comp1.avi",NULL,NULL) !=0)
{
printf("%s","Movie load Success");
}else{
printf("%s","Movie load Fail");
}I am using VisualStudio 2010 C++ compiler .Windows 7.
UPDATE :
Ok ,Please discard this question.I found the error.It was a stupid typo in the file directory path.
-
rtsp : Use AVERROR() with errno.h error codes for error returns
11 décembre 2019, par Martin Storsjö -
avformat : introduce AVFormatContext io_close2 which returns an int
30 novembre 2021, par Marton Balintavformat : introduce AVFormatContext io_close2 which returns an int
Otherwise there is no way to detect an error returned by avio_close() because
ff_format_io_close cannot get the return value.Checking the return value of the close function is important in order to check
if all data was successfully written and the underlying close() operation was
successful.It can also be useful even for read mode because it can return any pending
AVIOContext error, so the user don't have to manually check AVIOContext->error.In order to still support if the user overrides io_close, the generic code only
uses io_close2 if io_close is either NULL or the default io_close callback.Signed-off-by : Marton Balint <cus@passwd.hu>