
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 (82)
-
Emballe Médias : Mettre en ligne simplement des documents
29 octobre 2010, parLe plugin emballe médias a été développé principalement pour la distribution mediaSPIP mais est également utilisé dans d’autres projets proches comme géodiversité par exemple. Plugins nécessaires et compatibles
Pour fonctionner ce plugin nécessite que d’autres plugins soient installés : CFG Saisies SPIP Bonux Diogène swfupload jqueryui
D’autres plugins peuvent être utilisés en complément afin d’améliorer ses capacités : Ancres douces Légendes photo_infos spipmotion (...) -
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...) -
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)
Sur d’autres sites (4622)
-
FFmpeg cross compile for Android fails with on C compiler test for x86_64
5 novembre 2018, par nLLI am trying to cross compile FFmpeg for Android with NDK r16b
I have manged to compile without any issues for all platforms but x86_64.Here is my compile script
#!/bin/bash
function build_one
{
./configure \
--prefix=$PREFIX \
--enable-shared \
--disable-static \
--enable-pic \
--enable-small \
--disable-programs \
--disable-symver \
--target-os=android \
--enable-cross-compile \
--cross-prefix=$CROSS_PREFIX \
--extra-cflags="-Os -fpic $ADDI_CFLAGS" \
--extra-ldflags="$ADDI_LDFLAGS" \
--sysroot=$TOOLCHAIN/sysroot $ADDITIONAL_CONFIG_FLAG \
--disable-all --disable-autodetect --disable-network --enable-pthreads \
--enable-protocol=file --enable-protocol=pipe --enable-protocol=concat \
--disable-all --disable-autodetect --disable-network --enable-pthreads \
--enable-avcodec --enable-avformat --enable-swresample --enable-avfilter --enable-filter=aresample \
--enable-parser=aac --enable-parser=aac_latm --enable-parser=flac --enable-parser=mpegaudio --enable-parser=vorbis \
--enable-muxer=mp3,wav --enable-encoder=pcm*,libmp3lame --enable-nonfree --enable-gpl \
--enable-jni --enable-mediacodec --enable-libmp3lame
make -j4
make install
make distclean
}
HOME_PATH=/home/nll/Desktop
CPU=x86_64
TOOLCHAIN=$HOME_PATH/my_toolchains/x86_64
CROSS_PREFIX=$TOOLCHAIN/bin/x86_64-linux-android-
mkdir -p $(pwd)/android/$CPU
PREFIX=$(pwd)/android/$CPU
ADDI_CFLAGS="-march=x86-64 -I$INCLUDE_PATH"
ADDI_LDFLAGS="-shared -L$LIBS_PATH"
ADDITIONAL_CONFIG_FLAG="--arch=x86_64 --enable-x86asm"
build_oneAbove script fails with
WARNING: /home/nll/Desktop/my_toolchains/x86_64/bin/x86_64-linux-android-pkg-config not found, library detection may fail.
mktemp -u XXXXXX
5ZpQya
test_ld cc
test_cc
BEGIN /tmp/ffconf.KWqViHoN/test.c
1 int main(void){ return 0; }
END /tmp/ffconf.KWqViHoN/test.c
/home/nll/Desktop/my_toolchains/x86_64/bin/x86_64-linux-android-gcc --sysroot=/home/nll/Desktop/my_toolchains/x86_64/sysroot -Os -fpic -march=x86-64 -I -c -o /tmp/ffconf.KWqViHoN/test.o /tmp/ffconf.KWqViHoN/test.c
/home/nll/Desktop/my_toolchains/x86_64/bin/x86_64-linux-android-gcc -shared -L --sysroot=/home/nll/Desktop/my_toolchains/x86_64/sysroot -o /tmp/ffconf.KWqViHoN/test /tmp/ffconf.KWqViHoN/test.o
/home/nll/Desktop/my_toolchains/x86_64/bin/../lib/gcc/x86_64-linux-android/4.9.x/../../../../x86_64-linux-android/bin/ld: error: /tmp/ffconf.KWqViHoN/test.o: unsupported ELF file type 2
collect2: error: ld returned 1 exit status
C compiler test failed.So, error is "unsupported ELF file type 2" which means 64 bit. But, I am trying to build 64 bit library anyway.
I do not understand what is the issue here. Can anyone give me some direction ?
-
Andoid NDK , FFMpeg : Unrecognised option filter_complex
27 février 2015, par Gaganpreet SinghI am creating watermark application using ffmpeg in android.
I used following commandffmpeg -i /storage/emulated/0/WhatsApp/Media/WhatsApp Video/VID-20150217-WA0002.mp4 -i /storage/emulated/0/mp4parser/img001.png -filter_complex '[0:v][1:v]overlay[out]' -map '[out]' /storage/emulated/0/WhatsApp/Media/WhatsApp Video/trimmed-038-VID-20150217-WA0002.mp4
When I launched app I get This line in log :
Unrecognized option 'filter_complex'
I have read this command on FFmpeg.org site, but don’t know why it is not working. I am mentioning log below.Please Help
02-27 16:14:55.881: E/VideoTrimmer(13315): Starting to watermark
02-27 16:14:55.881: E/VideoTrimmer(13315): ffmpeg
02-27 16:14:55.881: E/VideoTrimmer(13315): -i
02-27 16:14:55.881: E/VideoTrimmer(13315): /storage/emulated/0/WhatsApp/Media/WhatsApp Video/VID-20150217-WA0002.mp4
02-27 16:14:55.881: E/VideoTrimmer(13315): -i
02-27 16:14:55.882: E/VideoTrimmer(13315): /storage/emulated/0/mp4parser/img001.png
02-27 16:14:55.882: E/VideoTrimmer(13315): -filter_complex
02-27 16:14:55.882: E/VideoTrimmer(13315): '[0:v][1:v]overlay[out]'
02-27 16:14:55.882: E/VideoTrimmer(13315): -map
02-27 16:14:55.882: E/VideoTrimmer(13315): '[out]'
02-27 16:14:55.883: E/VideoTrimmer(13315): /storage/emulated/0/WhatsApp/Media/WhatsApp Video/trimmed-038-VID-20150217-WA0002.mp4
02-27 16:14:55.883: E/VideoTrimmer(13315): Printed all
02-27 16:14:55.944: E/TakePics(13315): FFmpeg version 0.6.1, Copyright (c) 2000-2010 the FFmpeg developers
02-27 16:14:55.944: E/TakePics(13315): built on Feb 27 2015 16:12:28 with gcc 4.8
02-27 16:14:55.944: E/TakePics(13315): configuration: --target-os=linux --arch=arm --enable-version3 --enable-gpl --enable-nonfree --disable-stripping --disable-ffmpeg --disable-ffplay --disable-ffserver --disable-ffprobe --disable-devices --disable-protocols --enable-protocol=file --enable-avfilter --disable-network --disable-mpegaudio-hp --disable-avdevice --enable-cross-compile --cc=/home/uday/mount/android-ndk-r4b/build/prebuilt/linux-x86/arm-eabi-4.4.0/bin/arm-eabi-gcc --cross-prefix=/home/uday/mount/android-ndk-r4b/build/prebuilt/linux-x86/arm-eabi-4.4.0/bin/arm-eabi- --nm=/home/uday/mount/android-ndk-r4b/build/prebuilt/linux-x86/arm-eabi-4.4.0/bin/arm-eabi-nm --extra-cflags='-fPIC -DANDROID' --disable-asm --enable-neon --enable-armv5te --extra-ldflags='-Wl,-T,/home/uday/mount/android-ndk-r4b/build/prebuilt/linux-x86/arm-eabi-4.4.0/arm-eabi/lib/ldscripts/armelf.x -Wl,-rpath-link=/home/uday/mount/android-ndk-r4b/build/platforms/android-8/arch-arm/usr/lib -L/home/uday/mount/android-ndk-r4b/build/platforms/android-8/arch-arm/usr/lib -nostdli
02-27 16:14:56.152: E/TakePics(13315): Unrecognized option 'filter_complex'I have also tried using filter:v.
-
ffmpeg watermark from java Runtime.exec cannot find output
20 avril 2021, par RohiI'm having a problem in sending a ffmpeg command to add a watermark to my video from Java using Runtime.exec().
The strange thing is that the same command is working perfectly from terminal.... 
Any idea what the issue could be ?
this is the command



ffmpeg -i /home/mydir/inputvideo.mp4 -vf "movie=/home/mydir/watermarklogo.png [wm]; [in][wm] overlay=10:10 [out]" /home/mydir/outputvideo.mp4




and this is the Java code (same as above, just wrapped in the exec code, and escaped characters



Runtime rt = Runtime.getRuntime();
 Process proc = rt.exec("ffmpeg -i /home/mydir/inputvideo.mp4 -vf \"movie=/home/mydir/watermarklogo.png [wm]; [in][wm] overlay=10:10 [out]\" /home/mydir/outputvideo.mp4");
 InputStream stderr = proc.getErrorStream();
 InputStreamReader isr = new InputStreamReader(stderr);
 BufferedReader br = new BufferedReader(isr);
 String line = null;
 while ( (line = br.readLine()) != null)
 System.out.println(line);
 int exitVal = proc.waitFor();
 System.out.println("Process exitValue: " + exitVal);




exit code is always 1 when running this.... this is the full output



ffmpeg version 0.10.9-7:0.10.9-1~saucy1 Copyright (c) 2000-2013 the FFmpeg developers
 built on Oct 18 2013 17:40:10 with gcc 4.8.1
 configuration: --arch=amd64 --disable-stripping --enable-pthreads --enable-runtime-cpudetect --extra-version='7:0.10.9-1~saucy1' --libdir=/usr/lib/x86_64-linux-gnu --prefix=/usr --enable-bzlib --enable-libdc1394 --enable-libfreetype --enable-frei0r --enable-gnutls --enable-libgsm --enable-libmp3lame --enable-librtmp --enable-libopencv --enable-libopenjpeg --enable-libpulse --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-vaapi --enable-vdpau --enable-libvorbis --enable-libvpx --enable-zlib --enable-gpl --enable-postproc --enable-libcdio --enable-x11grab --enable-libx264 --shlibdir=/usr/lib/x86_64-linux-gnu --enable-shared --disable-static
 libavutil 51. 35.100 / 51. 35.100
 libavcodec 53. 61.100 / 53. 61.100
 libavformat 53. 32.100 / 53. 32.100
 libavdevice 53. 4.100 / 53. 4.100
 libavfilter 2. 61.100 / 2. 61.100
 libswscale 2. 1.100 / 2. 1.100
 libswresample 0. 6.100 / 0. 6.100
 libpostproc 52. 0.100 / 52. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/rohif/oshi.mp4':
 Metadata:
 major_brand : isom
 minor_version : 512
 compatible_brands: isomiso2avc1mp41
 encoder : Lavf54.59.106
 Duration: 00:00:48.13, start: 0.000000, bitrate: 2482 kb/s
 Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 2362 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc
 Metadata:
 handler_name : VideoHandler
 Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, s16, 117 kb/s
 Metadata:
 handler_name : 
[NULL @ 0x18fb9a0] Unable to find a suitable output format for '[wm];'
[wm];: Invalid argument
Process exitValue: 1