
Recherche avancée
Médias (1)
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (83)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
Installation en mode ferme
4 février 2011, parLe mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
C’est la méthode que nous utilisons sur cette même plateforme.
L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...) -
Le plugin : Gestion de la mutualisation
2 mars 2010, parLe plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
Installation basique
On installe les fichiers de SPIP sur le serveur.
On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
< ?php (...)
Sur d’autres sites (11664)
-
Static ffmpeg library windows
29 novembre 2022, par peterIm trying to use the ffmpeg libraries (
libavutil
,libswscale
, ...) in a bigger project by statically linking them, im not interested in the binaries. Now the issue comes down to getting them statically built. I tried searching for pre-compiled builds but without success.

Following the docs, i compiled them on wsl2 for win64 with


./configure --arch=x86_64 --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --disable-shared --enable-static
make



After that i copied the
libavformat/libavformat.a
aslibavformat.lib
(which should be fine since they are cross-compiledar
archives ?) into my project and linked them with CMake.

When compiling smth like


AVFormatContext* pFormatContext = avformat_alloc_context();



i get a linker error saying


lld-link : error : undefined symbol: avformat_alloc_context



When looking at the libs with
dumpbin -linkermember libavformat.lib
, i can see

>dumpbin -linkermember libavformat.lib
...
 135CD92 _avformat_alloc_context
...



notice the underscore.


Can i not link the cross-compiled
*.a
files directly into a windows executable ?

Honestly at this point any ideas are welcome.


Thanks


-
is this right when i use the x264,thank you for your answer
22 avril 2013, par chinayinis this right to use the new x264 api ,i want to get a frame ,and encode it with x264,then save it to a .264 file ?
but i do not know is this is right ?
picIn.img.plane[0] = pInBuffer ;
picIn.img.plane[1] = pInBuffer +m_VideoEncParam.nWidth*m_VideoEncParam.nHeight ;
picIn.img.plane[2] = pInBuffer +m_VideoEncParam.nWidth*m_VideoEncParam.nHeight*5/4 ;picIn.img.i_stride[0] = m_VideoEncParam.nWidth ;
picIn.img.i_stride[1] = m_VideoEncParam.nWidth /2 ;
picIn.img.i_stride[2] = m_VideoEncParam.nWidth /2 ;
nRet = x264_encoder_encode(
m_pX264Handle,
&pNal,
&nNalCount,
&picIn,
&picOut);
if (nRet<0)
{
return -1 ;
}
for (int i = 0 ;i<nnalcount></nnalcount>/memcpy(pOut+nLenOut,&pNal[i],pNal[i].i_payload) ;
x264_nal_encode(m_pX264Handle,pOutBuffer+nLenOut,&pNal[i]);
nLenOut += pNal[i].i_payload ;
}
int nSize = 0 ;
FILE *pFile = fopen(pchFileName,"w") ;
if (!pFile)
{
return -1 ;
}
nSize = fwrite(pOutBuffer,1,nLenOut,pFile) ;
fclose(pFile) ; -
V2.97a.20101010 version bump - ah, 101010 (from base2, = 42 in base10 - "The Answer to the Ultimate Question of Life, the Universe and Everything. Or at least, that’s what Douglas Adams says.")
10 octobre 2010, par Scott Schillerm script/soundmanager2-jsmin.js m script/soundmanager2-nodebug-jsmin.js m script/soundmanager2-nodebug.js m script/soundmanager2.js m src/SoundManager2.as m src/SoundManager2_AS3.as V2.97a.20101010 version bump - ah, 101010 (from base2, = 42 in base10 - "The Answer to the Ultimate Question of (...)