
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (39)
-
Selection of projects using MediaSPIP
2 mai 2011, parThe examples below are representative elements of MediaSPIP specific uses for specific projects.
MediaSPIP farm @ Infini
The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...) -
L’espace de configuration de MediaSPIP
29 novembre 2010, parL’espace de configuration de MediaSPIP est réservé aux administrateurs. Un lien de menu "administrer" est généralement affiché en haut de la page [1].
Il permet de configurer finement votre site.
La navigation de cet espace de configuration est divisé en trois parties : la configuration générale du site qui permet notamment de modifier : les informations principales concernant le site (...) -
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 (...)
Sur d’autres sites (6262)
-
How to make linker ld find a file ?
21 avril 2015, par haxan7I am cross compiling opencv with FFmpeg and it is throwing the following error :
/root/work/codesourcery/arm-2013.05/bin/../lib/gcc/arm-none-linux-gnueabi/4.7.3/../../../../arm-none-linux-gnueabi/bin/ld : warning : libavcodec.so.56, needed by ../../lib/libopencv_highgui.so.2.4.10, not found (try using -rpath or -rpath-link)
I have the libavcodec.so.56, and have put the relevant path to $PKG_CONFIG_PATH.
doing a pkg-config —list-all | grep avcodec returns
libavcodec libavcodec - FFmpeg codec library
ls -al libs folder returns
-rw-r--r-- 1 root root 93416352 Apr 21 06:57 libavcodec.a
lrwxrwxrwx 1 root root 23 Apr 21 06:57 libavcodec.so -> libavcodec.so.56.34.100*
lrwxrwxrwx 1 root root 23 Apr 21 06:57 libavcodec.so.56 -> libavcodec.so.56.34.100*
-rwxr-xr-x 1 root root 10949836 Apr 21 06:57 libavcodec.so.56.34.100*Here are the contents of libavcodec.pc file
prefix=/root/ARM_Install
exec_prefix=${prefix}
libdir=${prefix}/lib
includedir=${prefix}/include
Name: libavcodec
Description: FFmpeg codec library
Version: 56.34.100
Requires:
Requires.private: libswresample >= 1.1.100, libavutil >= 54.22.101
Conflicts:
Libs: -L${libdir} -lavcodec
Libs.private: -lxvidcore -lx264 -lm -pthread -ldl
Cflags: -I${includedir}How can I make the liker find this file ?
-
Why use sysconf(_SC_NPROCESSORS_CONF) to get the number of CPU cores in x264 ?
5 novembre 2017, par bknievenI find x264 use sysconf(_SC_NPROCESSORS_CONF) instead of sysconf(SC_NPROCESSORS_ONLN) to get the number of CPU cores.
Here is the code snippet in x264/common/cpu.c :
...
#ifdef __ANDROID__
// Android NDK does not expose sched_getaffinity
return sysconf( _SC_NPROCESSORS_CONF );
#else
...
....And I find the difference between _SC_NPROCESSORS_CONF and _SC_NPROCESSORS_ONLN in this manual :
sysconf (_SC_NPROCESSORS_CONF) which returns the number of processors
the operating system configured. But it might be possible for the
operating system to disable individual processors and so the call
sysconf (_SC_NPROCESSORS_ONLN) returns the number of processors which
are currently online (i.e., available).I have two questions :
- What is the difference between "the number of processors the operating system configured" and "the number of processors which are currently online" ?
- Why x264 use _SC_NPROCESSORS_CONF in Android to get the number of CPU cores ?
-
avcodec/v4l2_m2m_dec : remove redundant packet and fix double free
16 juillet 2020, par Andriy Gelmanavcodec/v4l2_m2m_dec : remove redundant packet and fix double free
v4l2_receive_frame() uses two packets s->buf_pkt and avpkt. If avpkt
cannot be enqueued, the packet is buffered in s->buf_pkt and enqueued in
the next call. Currently the ownership transfer between the two packets
is not properly handled. A double free occurs if
ff_v4l2_context_enqueue_packet() returns EAGAIN and v4l2_try_start
returns EINVAL.In fact, having two AVPackets is not needed and everything can be
handled by s->buf_pkt.This commit removes the local avpkt from v4l2_receive_frame(), meaning
that the ownership transfer doesn't need to be handled and the double
free is fixed.Signed-off-by : Andriy Gelman <andriy.gelman@gmail.com>