
Recherche avancée
Autres articles (37)
-
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 (...) -
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...)
Sur d’autres sites (6291)
-
Trying to link Mingw-w64 compiled FFMpeg libraries in Visual Studio
16 juin 2014, par LostBoyI’m trying to use the FFMpeg libraries in a Windows application. I use MingW-w64 to compile FFMpeg with static libraries with architecture once with x86 and once with x86_64.
Currently I’m trying to link the 32bit x86 libraries with my VS2008 application.
The libraries are added to the library path and VS does not complain about being unable to load a .a file.However I get several uneresolved symbol errors like
ait_rtp_receiver.lib(ait_decoder_lib.obj) : error LNK2001 : unresolved external symbol _av_freeI import the FFMpeg header files as extern C and I can see the symbols in the .a without the leading underscore.
What can I do to make the name decoration of Mingw-w64’s gcc and of the VS compiler suite compatible ? -
Assertion error when encoding video using ffmpeg library on visual studio c++
18 juin 2015, par Leon PhanI have a project, that i need to received data from a rtsp link, decode,resize video, encode it and save to .mp4 file.
- I Using ffmpeg from http://ffmpeg.zeranoe.com/builds/
- I am using visual studio 2010, run on windows 7 and windows 8.
- This is rtsp link i am using : rtsp ://184.72.239.149/vod/mp4:BigBuckBunny_175k.mov
- I decode and save to ppm file is ok. But encode isn’t.
- I following there tutorials : http://dranger.com/ffmpeg/tutorial01.html
this is my code :
AVPacket destPacket;
av_init_packet(&destPacket);
destPacket.data = NULL;
destPacket.size = 0;
while(av_read_frame(i_format_context, &packet)>=0) {
if(packet.stream_index==video_stream_index) {
int rest = avcodec_decode_video2(copyInputCodec, pFrame, &frameFinished, &packet);
if(frameFinished) {
av_init_packet(&destPacket);
destPacket.data = NULL;
destPacket.size = 0;
av_free_packet(&destPacket);
//deocde here
int ret_scale = sws_scale(sws_ctx,pFrame->data,pFrame->linesize,0,copyInputCodec->height,encodeFrame->data,encodeFrame->linesize);
encodeFrame->pts=i;
int ret_enc = avcodec_encode_video2(copyOutputCodec,&destPacket,encodeFrame,&encodeFinishsed);//<--- Problem here.
getchar();
}
}
}And this is output error
[swscaler @ 00607880] Warning : data is not aligned ! This can lead to a
speedlo ss
Assertion avctx->codec->encode2 failed at /home/kyle/software/ffmpeg/source/ffmp
eg-git/libavcodec/utils.c:2134I try to run many sample code to encode video, the result is same.
Thanks for help.
PS : sorry about my English skill.
-
Why is Visual Studio executing the wrong code [closed]
15 mai 2023, par JacobNot sure what is going on here. Code that I have deleted is still executing. I am sending parameters to FFMPEG for video editing. FFMPEG is then processing parameters that I previously sent, which is now deleted. While trying to figure this out, I sent the string "WTF !" directly to the FFMPEG parameters and FFMPEG is still processing the video with old parameters. The string "WTF !" should have broke FFMPEG so it is clearly executing the wrong code. Hasd anyone ever encountered this ?