
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (37)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs
Sur d’autres sites (7176)
-
Android NDK : Getting java.lang.UnsatisfiedLinkError : dlopen failed : cannot locate symbol "signal" referenced by "libffmpeg.so"
27 février 2015, par Gaganpreet SinghI have a video trimmer application code .
Its Android.mk file code is mentioned below :
MY_LOCAL_PATH := $(call my-dir)
include $(all-subdir-makefiles)
LOCAL_PATH :=$(MY_LOCAL_PATH)
include $(CLEAR_VARS)
LOCAL_MODULE := video-trimmer
LOCAL_SRC_FILES := video-trimmer.c
LOCAL_C_INCLUDES := $(MY_LOCAL_PATH) $(MY_LOCAL_PATH)/ffmpeg
LOCAL_SHARED_LIBRARIES := ffmpeg
LOCAL_LDLIBS += -lz -llog
include $(BUILD_SHARED_LIBRARY)and Application.mk file code is :
APP_MODULES := ffmpeg video-trimmer
APP_OPTIM := debugWhen I try to run this application, I get following error :
02-26 16:06:05.779: E/AndroidRuntime(4092): FATAL EXCEPTION: main
02-26 16:06:05.779: E/AndroidRuntime(4092): Process: net.video.trimmer, PID: 4092
02-26 16:06:05.779: E/AndroidRuntime(4092): java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "signal" referenced by "libffmpeg.so"...
02-26 16:06:05.779: E/AndroidRuntime(4092): at java.lang.Runtime.loadLibrary(Runtime.java:364)
02-26 16:06:05.779: E/AndroidRuntime(4092): at java.lang.System.loadLibrary(System.java:526)
02-26 16:06:05.779: E/AndroidRuntime(4092): at net.video.trimmer.service.VideoTrimmingService.onCreate(VideoTrimmingService.java:29)
02-26 16:06:05.779: E/AndroidRuntime(4092): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2585)
02-26 16:06:05.779: E/AndroidRuntime(4092): at android.app.ActivityThread.access$1800(ActivityThread.java:139)
02-26 16:06:05.779: E/AndroidRuntime(4092): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1292)
02-26 16:06:05.779: E/AndroidRuntime(4092): at android.os.Handler.dispatchMessage(Handler.java:102)
02-26 16:06:05.779: E/AndroidRuntime(4092): at android.os.Looper.loop(Looper.java:136)
02-26 16:06:05.779: E/AndroidRuntime(4092): at android.app.ActivityThread.main(ActivityThread.java:5086)
02-26 16:06:05.779: E/AndroidRuntime(4092): at java.lang.reflect.Method.invokeNative(Native Method)
02-26 16:06:05.779: E/AndroidRuntime(4092): at java.lang.reflect.Method.invoke(Method.java:515)
02-26 16:06:05.779: E/AndroidRuntime(4092): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
02-26 16:06:05.779: E/AndroidRuntime(4092): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
02-26 16:06:05.779: E/AndroidRuntime(4092): at dalvik.system.NativeStart.main(Native Method)My video-trimmer.so and ffmpeg.so are generated in
\libs\armeabi
.Thanks in advance.
-
"only position independent executables (PIE) are supported" error in FFMPEG Android Lollipop
2 juin 2015, par KarthikeyanI am using FFMPEG support library to convert bunch of images to video. It works fine on earlier version of the android lollipop. But in the lollipop it generates the following error.
***error: only position independent executables (PIE) are supported.***
I know the PIE Security restrictions has been changed in lollipop, but i don’t know how to fix it.From my knowledge it may have two possible solutions,
either
we need to relocate the FFMPEG library assets to the SDCard and we have to refer them from our coding, if this is the answer what are all the steps to be followed ?
or
Is there any update in the FFMPEG library for android lollipop.
If both are wrong can you provide me with the proper solution.
Many thanks...
Here is my code
try {
Log.e(LOGTAG, "started");
String[] ffmpegCommand = {"/data/data/com.mobvcasting.mjpegffmpeg/ffmpeg", "-r", ""+p.getPreviewFrameRate(), "-b", "1000000", "-vcodec", "mjpeg", "-i",
Environment.getExternalStorageDirectory().getPath() + "/req_images/frame_%05d.jpg", Environment.getExternalStorageDirectory().getPath() + "/req_images/video.mov"};
ffmpegProcess = new ProcessBuilder(ffmpegCommand).redirectErrorStream(true).start();
OutputStream ffmpegOutStream = ffmpegProcess.getOutputStream();
BufferedReader reader = new BufferedReader(new InputStreamReader(ffmpegProcess.getInputStream()));
String line;
Log.v(LOGTAG,"***Starting FFMPEG***");
while ((line = reader.readLine()) != null)
{
Log.v(LOGTAG,"***"+line+"***");
}
Log.v(LOGTAG,"***Ending FFMPEG***");
} catch (IOException e) {
e.printStackTrace();
}
if (ffmpegProcess != null) {
ffmpegProcess.destroy();
}
Log.e(LOGTAG, "Background done"); -
Shotdetect : compiling error ("undefined reference")
8 juillet 2015, par VoprosnikI am using Cygwin and I trying to install the program Shotdetect. I downloaded the source with git and also downloaded, compiled and installed ffmpeg through git.
Installation of shotdetect doesn’t follow the ./configure && make && make install routine, but a cmake system of which I have no experience. Nonetheless there is a script that automates compiling and installation.
Near the final stages of the compiling, I get a long series of errors concerning some ffmpeg modules :
Linking CXX executable shotdetect-cmd.exe
/usr/local/lib/libavformat.a(matroskadec.o): In function `matroska_decode_buffer':
/git/ffmpeg/libavformat/matroskadec.c:1321: undefined reference to `BZ2_bzDecompressInit'
/git/ffmpeg/libavformat/matroskadec.c:1336: undefined reference to `BZ2_bzDecompress'
/git/ffmpeg/libavformat/matroskadec.c:1329: undefined reference to `BZ2_bzDecompressEnd'
/git/ffmpeg/libavformat/matroskadec.c:1339: undefined reference to `BZ2_bzDecompressEnd'
/usr/local/lib/libavcodec.a(opusdec.o): In function `opus_decode_subpacket':
/git/ffmpeg/libavcodec/opusdec.c:374: undefined reference to `swr_is_initialized'
/usr/local/lib/libavcodec.a(opusdec.o): In function `opus_decode_frame':
/git/ffmpeg/libavcodec/opusdec.c:220: undefined reference to `swr_is_initialized'
/usr/local/lib/libavcodec.a(opusdec.o): In function `opus_init_resample':
/git/ffmpeg/libavcodec/opusdec.c:161: undefined reference to `swr_init'
/git/ffmpeg/libavcodec/opusdec.c:167: undefined reference to `swr_convert'
/usr/local/lib/libavcodec.a(opusdec.o): In function `opus_decode_frame':
/git/ffmpeg/libavcodec/opusdec.c:234: undefined reference to `swr_convert'
/usr/local/lib/libavcodec.a(opusdec.o): In function `opus_flush_resample':
/git/ffmpeg/libavcodec/opusdec.c:115: undefined reference to `swr_convert'
/usr/local/lib/libavcodec.a(opusdec.o): In function `opus_decode_subpacket':
/git/ffmpeg/libavcodec/opusdec.c:406: undefined reference to `swr_close'
/usr/local/lib/libavcodec.a(opusdec.o): In function `opus_decode_flush':
/git/ffmpeg/libavcodec/opusdec.c:567: undefined reference to `swr_close'
/usr/local/lib/libavcodec.a(opusdec.o): In function `opus_decode_close':
/git/ffmpeg/libavcodec/opusdec.c:589: undefined reference to `swr_free'
/usr/local/lib/libavcodec.a(opusdec.o): In function `opus_decode_init':
/git/ffmpeg/libavcodec/opusdec.c:642: undefined reference to `swr_alloc'
/usr/local/lib/libavcodec.a(tiff.o): In function `tiff_uncompress_lzma':
/git/ffmpeg/libavcodec/tiff.c:396: undefined reference to `lzma_stream_decoder'
/git/ffmpeg/libavcodec/tiff.c:401: undefined reference to `lzma_code'
/git/ffmpeg/libavcodec/tiff.c:402: undefined reference to `lzma_end'
/usr/local/lib/libavcodec.a(utils.o): In function `recode_subtitle':
/git/ffmpeg/libavcodec/utils.c:2672: undefined reference to `libiconv_open'
/git/ffmpeg/libavcodec/utils.c:2707: undefined reference to `libiconv_close'
/git/ffmpeg/libavcodec/utils.c:2693: undefined reference to `libiconv'
/git/ffmpeg/libavcodec/utils.c:2694: undefined reference to `libiconv'
/git/ffmpeg/libavcodec/utils.c:2707: undefined reference to `libiconv_close'
/git/ffmpeg/libavcodec/utils.c:2707: undefined reference to `libiconv_close'
/git/ffmpeg/libavcodec/utils.c:2707: undefined reference to `libiconv_close'
/usr/local/lib/libavcodec.a(utils.o): In function `avcodec_open2':
/git/ffmpeg/libavcodec/utils.c:1698: undefined reference to `libiconv_open'
/git/ffmpeg/libavcodec/utils.c:1705: undefined reference to `libiconv_close'
collect2: error: ld returned 1 exit status
clang: error: linker (via gcc) command failed with exit code 1 (use -v to see invocation)
CMakeFiles/shotdetect-cmd.dir/build.make:122: recipe for target 'shotdetect-cmd.exe' failed
make[2]: *** [shotdetect-cmd.exe] Error 1
CMakeFiles/Makefile2:95: recipe for target 'CMakeFiles/shotdetect-cmd.dir/all' failed
make[1]: *** [CMakeFiles/shotdetect-cmd.dir/all] Error 2
Makefile:117: recipe for target 'all' failed
make: *** [all] Error 2Searching online for similar errors, I found the following proposed solutions
1) fix pkg-config setup so configure will find out all dependencies ;
2) build ffmpeg (libavcodec) without external dependencies ;
3) add external dependencies manually with configure —extra-ldflags
I guess the problem lies on how i compiled ffmpeg (just configure with no options) but other than that have no idea what to do with either of the above suggestions. Should I recompile ffmpeg with different options ?