
Recherche avancée
Médias (2)
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
Autres articles (83)
-
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. -
Installation en mode standalone
4 février 2011, parL’installation de la distribution MediaSPIP se fait en plusieurs étapes : la récupération des fichiers nécessaires. À ce moment là deux méthodes sont possibles : en installant l’archive ZIP contenant l’ensemble de la distribution ; via SVN en récupérant les sources de chaque modules séparément ; la préconfiguration ; l’installation définitive ;
[mediaspip_zip]Installation de l’archive ZIP de MediaSPIP
Ce mode d’installation est la méthode la plus simple afin d’installer l’ensemble de la distribution (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.
Sur d’autres sites (10289)
-
Revision 976d0450ac : Merge "alloccommon : give exported symbols a vp9_ prefix." into experimental
30 octobre 2012, par Paul WilkinsMerge "alloccommon : give exported symbols a vp9_ prefix." into experimental
-
Revision 747fbd1b7b : Merge "seg_common : give all exported symbols a vp9_ prefix." into experimental
30 octobre 2012, par Paul WilkinsMerge "seg_common : give all exported symbols a vp9_ prefix." into experimental
-
Link static libraries Android.mk ffmpeg on Android
11 août 2013, par kikuchiI built FFMPEG with the guardian's script (here). All went good and I have the following structure :
jni/
|-- Android.mk
|-- demo.c
|-- include/
| |-- libavcodec/
| | |-- headers files
| |-- libavdevice/
| | `-- avdevice.h
| |-- libavfilter/
| | |-- headers files
| |-- libavformat/
| | |-- headers files
| |-- libavresample/
| | |-- headers files
| |-- libavutil/
| | |-- headers files
| |-- libpostproc/
| | |-- headers files
| |-- libswresample/
| | |-- headers files
| |-- libswscale/
| | |-- headers files
| `-- sox.h
`-- lib/
|-- libavcodec.a
|-- libavdevice.a
|-- libavfilter.a
|-- libavformat.a
|-- libavresample.a
|-- libavutil.a
|-- libpostproc.a
|-- libsox.a
|-- libswresample.a
|-- libswscale.a
|-- libx264.aHere is my Android.mk file :
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
FFMPEG_LIBS := $(addprefix lib/, \
libavformat.a \
libavcodec.a \
libpostproc.a \
libswscale.a \
libavutil.a \
x264.a )
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
LOCAL_SRC_FILES := demo.c
LOCAL_LDLIBS := -llog
LOCAL_STATIC_LIBRARY := $(FFMPEG_LIBS)
LOCAL_MODULE := demo
include $(BUILD_SHARED_LIBRARY)And my demo.c file :
#include
#include <libavcodec></libavcodec>avcodec.h>
#include <libavformat></libavformat>avformat.h>
#include <libavformat></libavformat>avio.h>
#include <libswscale></libswscale>swscale.h>
#include <libavutil></libavutil>avstring.h>
JNIEXPORT jint JNICALL Java_com_example_ffmpeg_guardian_MainActivity_logFileInfo(JNIEnv *env, jclass this, jstring filename)
{
av_register_all();
AVFormatContext *pFormatCtx;
const jbyte *str;
str = (*env)->GetStringUTFChars(env, filename, NULL);
if(avformat_open_input(&pFormatCtx, str, NULL, NULL)!=0)
return 1;
else
return 2;
return 0;
}The problem is when I try to compile with the NDK (r8) I got this message :
Compile thumb : demo <= demo.c
SharedLibrary : libdemo.so
demo.o: In function `Java_com_example_ffmpeg_guardian_MainActivity_logFileInfo':
demo.c:11: undefined reference to `av_register_all'
demo.c:17: undefined reference to `avformat_open_input'
collect2: ld returned 1 exit status
make: *** [ffmpeg-guardian/obj/local/armeabi/libdemo.so] Error 1After some research, this problem appears because libraries are not linked in the right order. I tried to change this order but nothing changed.
Can Someone help me to fix this final step to get ffmpeg working on android ? Thanks !