
Recherche avancée
Médias (91)
-
999,999
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Slip - Artworks
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
-
Demon seed (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
The four of us are dying (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Corona radiata (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Lights in the sky (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
Autres articles (22)
-
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. -
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. -
Librairies et logiciels spécifiques aux médias
10 décembre 2010, parPour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)
Sur d’autres sites (4642)
-
Image overlay on video using ffmpeg android
14 mars 2018, par user2458434I am trying to add image overlay on video using ffmpeg library but didn’t succeed.
I tried sample using ffmpeg , https://drive.google.com/file/d/0B2aT0QoEmtuaN0VJZ2Z4ODY3T2s/view
and referred this link as well to overlay image on video, http://ksloan.net/watermarking-videos-from-the-command-line-using-ffmpeg-filters/#comment-9793 but getting error.
Below is my logcat error for reference :
07-31 10:23:43.406 29517-29517/com.examples.ffmpeg4android_demo D/ffmpeg4android : /storage/emulated/0/videokit/in.mp4 length in bytes : 840896
07-31 10:23:43.432 29517-30185/com.examples.ffmpeg4android_demo I/ffmpeg4android : doInBackground started...
07-31 10:23:43.432 29517-30185/com.examples.ffmpeg4android_demo I/ffmpeg4android : vk deleted : false
07-31 10:23:43.434 29517-30185/com.examples.ffmpeg4android_demo D/ffmpeg4android : Acquire wake lock
07-31 10:23:43.479 29517-30185/com.examples.ffmpeg4android_demo I/ffmpeg4android : =======running first command=========
07-31 10:23:43.479 29517-30185/com.examples.ffmpeg4android_demo I/ffmpeg4android : running ffmpeg4android_lib : 322.00.02_LM322
07-31 10:23:43.479 29517-30185/com.examples.ffmpeg4android_demo D/ffmpeg4android : "ffmpeg","-y","-loop","1","-i","/sdcard/videokit/logo.png","-i","/sdcard/videokit/in.mp4","-y","-filter_complex","overlay=0:0:shortest=1","/sdcard/videokit/out.m4v"
07-31 10:23:43.485 29517-30185/com.examples.ffmpeg4android_demo D/ffmpeg4android : /sdcard/videokit/logo.png length in bytes : 6047
07-31 10:23:43.486 29517-30185/com.examples.ffmpeg4android_demo D/ffmpeg4android : /sdcard/videokit/in.mp4 length in bytes : 840896
07-31 10:23:43.486 29517-30185/com.examples.ffmpeg4android_demo I/ffmpeg4android : videokitLibPath exits
07-31 10:23:43.486 29517-30185/com.examples.ffmpeg4android_demo I/ffmpeg4android : /data/user/0/com.examples.ffmpeg4android_demo/lib/libvideokit.so
07-31 10:23:43.493 29517-30185/com.examples.ffmpeg4android_demo I/Videokit : libvideokit.so loaded
07-31 10:23:43.493 29517-30185/com.examples.ffmpeg4android_demo I/Videokit : args is not NULL
07-31 10:23:43.494 29517-30185/com.examples.ffmpeg4android_demo I/Videokit : more then one arg
07-31 10:23:43.494 29517-30185/com.examples.ffmpeg4android_demo I/Videokit : function symbol found
07-31 10:23:43.494 29517-30185/com.examples.ffmpeg4android_demo D/Videokit : Calling videokit run via loader
07-31 10:23:43.494 29517-30185/com.examples.ffmpeg4android_demo D/Videokit : call licenseCheckComplex
07-31 10:23:43.494 29517-30185/com.examples.ffmpeg4android_demo I/Videokit : isLicExistsComplex...
07-31 10:23:43.494 29517-30185/com.examples.ffmpeg4android_demo I/Videokit : You used 1 of your 15 trial days.
07-31 10:23:43.494 29517-30185/com.examples.ffmpeg4android_demo D/Videokit : license check rc : 0
07-31 10:23:43.494 29517-30185/com.examples.ffmpeg4android_demo D/Videokit : ffmpeg4android base 2.5--------- beginning of crash
07-31 10:23:43.584 29517-30185/com.examples.ffmpeg4android_demo A/libc : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 30185 (AsyncTask #1)
07-31 10:23:44.432 29517-29517/com.examples.ffmpeg4android_demo I/Choreographer : Skipped 44 frames ! The application may be doing too much work on its main thread. -
Video compressing not working with ffmpeg4android_lib library
18 décembre 2019, par Nand Kishor PatidarWhen I am trying video compressing with ffmpeg4android_lib library then it is working on debug mode(Not google play store app) after that when I check live on play store the video compressing is not working and found that the application crashed. After the crash, it gives the error :-
videokitLibPath not exits : /data/app/com.practice.presto-SSicBo_Qm4UXOQAQ45Vttg==/lib/arm/libvideokit.so
My App Log is below :1576657500.663 20809-20809/com.practice.presto D/MyPracticeAudioVideo: outside wifi file type 2
1576657500.807 20809-22043/com.practice.presto D/MyPracticeAudioVideo: Worker started
1576657500.807 20809-22043/com.practice.presto D/MyPracticeAudioVideo: new file video path /storage/emulated/0/DCIM/Camera/VID_20191218_135413.mp4
1576657500.808 20809-22043/com.practice.presto D/MyPracticeAudioVideo: Acquire wake lock
1576657500.812 20809-22043/com.practice.presto I/ffmpeg4android: checkForPermissions() called
1576657500.814 20809-22043/com.practice.presto I/ffmpeg4android: permission already granted
1576657500.830 20809-22043/com.practice.presto D/MyPracticeAudioVideo: ffmpeg -y -i /storage/emulated/0/DCIM/Camera/VID_20191218_135413.mp4 -strict experimental -s 320x240 -r 25 -aspect 4:3 -vcodec mpeg4 -b 150k -ab 48000 -ac 2 -ar 22050 /storage/emulated/0/pp/1576657432247.mp4
1576657500.831 20809-22043/com.practice.presto I/ffmpeg4android: running ffmpeg4android_lib: 41.07.00_LM41_00
1576657500.831 20809-22043/com.practice.presto D/ffmpeg4android: {"ffmpeg","-y","-i","/storage/emulated/0/DCIM/Camera/VID_20191218_135413.mp4","-strict","experimental","-s","320x240","-r","25","-aspect","4:3","-vcodec","mpeg4","-b","150k","-ab","48000","-ac","2","-ar","22050","/storage/emulated/0/pp/1576657432247.mp4"}
1576657500.833 20809-22043/com.practice.presto D/ffmpeg4android: /storage/emulated/0/DCIM/Camera/VID_20191218_135413.mp4 length in bytes: 15793157
1576657500.834 20809-22043/com.practice.presto E/ffmpeg4android: **videokitLibPath not exits: /data/app/com.practice.presto-SSicBo_Qm4UXOQAQ45Vttg==/lib/arm/libvideokit.so**
1576657500.835 20809-22043/com.practice.presto I/Videokit: libvideokit.so load Fail: /data/app/com.practice.presto-SSicBo_Qm4UXOQAQ45Vttg==/lib/arm/libvideokit.so
1576657500.835 20809-22043/com.practice.presto I/Videokit: args is not NULL
1576657500.835 20809-22043/com.practice.presto I/Videokit: more then one arg
1576657500.835 20809-22043/com.practice.presto I/Videokit: function symbol not found
1576657500.835 20809-22043/com.practice.presto D/Videokit: Calling videokit run via loader
1576657500.860 20809-22043/com.practice.presto A/libc: **Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 22043 (Thread-19), pid 20809 (practice.presto)** -
Creating a shared library that statically includes ffmpeg
10 octobre 2017, par El SampsaI’m having hard time trying to create a shared library that has ffmpeg libraries "baked in" as static ones.
Consider the following directory schema :
include/
my own .h files
ext/
ffmpeg .h files
lib/
libav*.a archive files (softlinks to the actual .a files)
libValkka.so (my shared library)
test/
mytest.cpp
bin/
(binaries appear here)I’ve come a long way (see Including objects to a shared library from a C++ archive (.a) ) and the library compiles ok with this : ([STUFF] has been omitted for brevity)
/usr/bin/c++ -fPIC -std=c++14 -pthread -Iinclude/ext -I/usr/include/libdrm -g -shared -Wl,-soname,libValkka.so -o lib/libValkka.so CMakeFiles/Valkka.dir/src/avthread.cpp.o CMakeFiles/Valkka.dir/src/opengl.cpp.o CMakeFiles/Valkka.dir/src/openglthread.cpp.o [STUFF] CMakeFiles/Valkka.dir/src/filters.cpp.o -lX11 -lGLEW -lGLU -lGL -Wl,—allow-multiple-definition -Wl,-Bsymbolic -Wl,—whole-archive -Wreorder lib/libavdevice.a lib/libavfilter.a lib/libavformat.a lib/libavcodec.a lib/libavutil.a lib/libswscale.a lib/libswresample.a -Wl,—no-whole-archive
However, when creating executables - their source code does not use any ffmpeg api (just my own api) - with :
c++ -std=c++14 -pthread -Iinclude -Iinclude/ext -Llib test/mytest.cpp -lValkka -g -o bin/mytest
I get a hoard of errors about missing ffmpeg dependencies. Not everything is missing, just some weird stuff :
lib/libValkka.so: undefined reference to `pa_stream_get_index'
lib/libValkka.so: undefined reference to `deflateInit_'
lib/libValkka.so: undefined reference to `pa_stream_get_state'
lib/libValkka.so: undefined reference to `lzma_stream_decoder'
lib/libValkka.so: undefined reference to `BZ2_bzDecompress'
lib/libValkka.so: undefined reference to `vaInitialize'
lib/libValkka.so: undefined reference to `pa_stream_unref'
lib/libValkka.so: undefined reference to `deflateInit2_'
lib/libValkka.so: undefined reference to `snd_pcm_close'
...
lib/libValkka.so: undefined reference to `vaGetDisplayDRM'
lib/libValkka.so: undefined reference to `vaMaxNumEntrypoints'
lib/libValkka.so: undefined reference to `uncompress'
lib/libValkka.so: undefined reference to `pa_stream_drop'
lib/libValkka.so: undefined reference to `pa_context_connect'
lib/libValkka.so: undefined reference to `FT_Get_Kerning'
lib/libValkka.so: undefined reference to `ass_free_track'
lib/libValkka.so: undefined reference to `pa_operation_unref'
lib/libValkka.so: undefined reference to `FT_Stroker_Done'
lib/libValkka.so: undefined reference to `vaTerminate'
lib/libValkka.so: undefined reference to `ass_new_track'
lib/libValkka.so: undefined reference to `jack_client_close'
...
lib/libValkka.so: undefined reference to `xcb_xfixes_query_version'
lib/libValkka.so: undefined reference to `xcb_shape_rectangles'
lib/libValkka.so: undefined reference to `pa_mainloop_free'
lib/libValkka.so: undefined reference to `snd_device_name_hint'
lib/libValkka.so: undefined reference to `vaCreateImage'
lib/libValkka.so: undefined reference to `vaBeginPicture'
lib/libValkka.so: undefined reference to `DtsSetColorSpace'
lib/libValkka.so: undefined reference to `vaDestroyConfig'
lib/libValkka.so: undefined reference to `pa_stream_writable_size'
lib/libValkka.so: undefined reference to `snd_pcm_hw_params_get_buffer_size_max'
lib/libValkka.so: undefined reference to `ass_read_file'This is pretty frustrating, especially when I can see that those names are included in the shared library..!
nm lib/libValkka.so | grep "vaBeginPicture"
gives
U vaBeginPicture
etc. I thought it might be a problem regarding the dependency order the archive .a files, and also tried with :
..... -Wl,—allow-multiple-definition -Wl,-Bsymbolic -Wl,—start-group -Wl,—whole-archive -Wreorder lib/libavdevice.a lib/libavfilter.a lib/libavformat.a lib/libavcodec.a lib/libavutil.a lib/libswscale.a lib/libswresample.a -Wl,—no-whole-archive -Wl,—end-group
But the problem persists.
I have succesfully created a shared library that does not "bake in" those .a archives, i.e. that just depends dynamically on ffmpeg libraries, and there are no such problems.
I am baffled.. Have I misunderstood something fundamental, forgot some annoying linked option, or both ? Help appreciated !