
Recherche avancée
Autres articles (109)
-
L’agrémenter visuellement
10 avril 2011MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté. -
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa 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. -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...)
Sur d’autres sites (11917)
-
jack : Drop support for old (2012) JACK versions
21 mars 2017, par Diego Biurrun -
Unable to link QtFFmpegWrapper sample on Win7 with VS 2012
20 juillet 2014, par mschwarzI am trying to incorporate QtFFmpegWrapper in my program, but both my program and the provided sample won’t link with ffmpeg :
QVideoEncoder.obj:-1: Error: LNK2019: unresolved external symbol _avcodec_init referenced in function "protected: bool __thiscall QVideoEncoder::initCodec(void)" (?initCodec@QVideoEncoder@@IAE_NXZ)
QVideoDecoder.obj:-1: Error: LNK2001: unresolved external symbol _avcodec_init
QVideoEncoder.obj:-1: Error: LNK2019: unresolved external symbol _avcodec_thread_init referenced in function "public: bool __thiscall QVideoEncoder::createFile(class QString,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int)" (?createFile@QVideoEncoder@@QAE_NVQString@@IIIII@Z)
QVideoEncoder.obj:-1: Error: LNK2019: unresolved external symbol _avcodec_open referenced in function "public: bool __thiscall QVideoEncoder::createFile(class QString,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int)" (?createFile@QVideoEncoder@@QAE_NVQString@@IIIII@Z)and 10 or so more like these ...
Why do these pop up when linking ? The libs are all there and found, it just seems like the linker has issues with them ...
I use the following setup for my project :
- Latest QtFFmpegWrapper from https://code.google.com/p/qtffmpegwrapper/
- qt-opensource-windows-x86-msvc2012_opengl-5.3.0
- Visual Studio 2012 Professional
- Qt Creator 3.1.2
- ffmpeg builds from http://ffmpeg.zeranoe.com/builds/ :
- ffmpeg-20140717-git-fa6716c-win32-dev
- ffmpeg-20140717-git-fa6716c-win32-shared
Everything is 32Bit.
-
Anything Wrong with (char[32]){0} in Visual Studio 2012 ?
5 juillet 2014, par loppp===== background ====
This problem originates from using fFmpeg lib sample muxing.c in visual studio 2012, I found the the error :
error C2143: Syntax error missing ) before {
at
printf("pts:%s pts_time:%s dts:%s dts_time:%s duration:%s duration_time:%s stream_index:%d\n",
av_ts2str(pkt->pts), av_ts2timestr(pkt->pts, time_base),
av_ts2str(pkt->dts), av_ts2timestr(pkt->dts, time_base),
av_ts2str(pkt->duration), av_ts2timestr(pkt->duration, time_base),
pkt->stream_index);and I found
#define AV_TS_MAX_STRING_SIZE 32
#define av_ts2str(ts) av_ts_make_string((char[AV_TS_MAX_STRING_SIZE]){0}, ts)for eliminate irrelevant statement, I just replace the big printf with
printf("pts:%s \n",
(char[32]){0}
);but the error still the same, looks the error is from
(char[32]){0}
===== question ====
As this sample source file muxing.c is official one (I think), might not possibly wrong, so is the statement wrong or not compatible with VS compiler ? or I am missing something here ?