
Recherche avancée
Médias (2)
-
Granite de l’Aber Ildut
9 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
-
Géodiversité
9 septembre 2011, par ,
Mis à jour : Août 2018
Langue : français
Type : Texte
Autres articles (105)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Mise à disposition des fichiers
14 avril 2011, parPar défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)
Sur d’autres sites (8281)
-
mix two audio files fmpeg Android
21 mars 2016, par Adroid FreakI’m using ffmpeg for android and I’m trying to mix two audio files but I’m getting the following error
[NULL @ 0xb60c8c00] Unable to find a suitable output format for ' -filter_complex amerge -c:a libmp3lame -q:a 4 '
-filter_complex amerge -c:a libmp3lame -q:a 4 : Invalid argumentThis is the ffmpeg library details when
ffmpeg version n2.4.2 Copyright (c) 2000-2014 the FFmpeg developers
built on Dec 22 2014 21:35:30 with gcc 4.8 (GCC)
configuration: --target-os=linux --cross-prefix=/home/android/Downloads/ffmpeg-android-pie/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/android/Downloads/ffmpeg-android-pie/toolchain-android/sysroot --enable-decoders --enable-encoders --enable-filters --disable-indevs --enable-indev=lavfi --disable-outdevs --enable-hwaccels --enable-ffmpeg --enable-pic --enable-libx264 --enable-version3 --disable-debug --disable-ffserver --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/android/Downloads/ffmpeg-android-pie/ffmpeg-pkg-config --prefix=/home/android/Downloads/ffmpeg-android-pie/build/armeabi-v7a --extra-cflags='-I/home/android/Downloads/ffmpeg-android-pie/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --extra-ldflags='-L/home/android/Downloads/ffmpeg-android-pie/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
libavutil 54. 7.100 / 54. 7.100
libavcodec 56. 1.100 / 56. 1.100
libavformat 56. 4.101 / 56. 4.101
libavdevice 56. 0.100 / 56. 0.100
libavfilter 5. 1.100 / 5. 1.100
libswscale 3. 0.100 / 3. 0.100
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 0.100 / 53. 0.100My function is this
public Clip mixTwoAudioFiles (String audio1, String audio2, Clip out, ShellCallback sc) throws Exception
{
ArrayList<string> cmd = new ArrayList<string>();
cmd.add(mFfmpegBin);
cmd.add("-y");
cmd.add("-i");
cmd.add(audio1);
cmd.add("-i");
cmd.add(audio2);
// cmd.add("-strict");
// cmd.add("-2");//experimental
cmd.add(" -filter_complex amerge -c:a libmp3lame -q:a 4 ");
File fileOut = new File(out.path);
cmd.add(fileOut.getCanonicalPath());
execFFMPEG(cmd, sc);
return out;
}
</string></string>and the output command is this
ffmpeg -y -i /storage/emulated/0/audio1.mp3 -i /storage/emulated/0/audio2.3gp -strict -2 -filter_complex amerge -c:a libmp3lame -q:a 4 /storage/emulated/0/out.mp4
Now as you can see above I don’t have libmp3lame enabled but it looks like the error above is not related to that, correct ?
I tried many other filter variations but all are failing with the same error, the questions I have are as follow :
1- Since I don't have libmp3lame, what is the next option? please note that mp3 is not mandatory here.
2- If it is possible can you please show me how? -
Build FFMPEG 3.1.4 for Android
20 octobre 2016, par Vladimir KulykI used this and this methods to build latest (3.1.4) FFMPEG version for Android.
Build was succeed.
I got several folders withsources
/headers
/.o
files.
But unfortunately there are no.so
files I need.
Are there some updated script for building latest FFMPEG for android ?
Or, how to convert.o
and other files to.so
? -
Advice about older android, VideoView and resolutions
20 avril 2016, par Diogo GarciaI’ve been testing webm and mp4 for videoView and looking around for quite some time and right now the best way for me to play a video in a older android(2.3.3+) is using mp4 AVC-Baseline using the code
"ffmpeg.exe" -i "intro.mp4" -codec:v libx264 -profile:v baseline
-preset slow -b:v 500k -maxrate 500k -bufsize 1000k -vf scale=432:320 -codec:a aac -strict experimental -b:a 96k -f mp4 "intro_result.mp4"By far this is the best solution for my android 2.3.3 device... But this resolution is very low when using it in a bigger device for example it gets blurry, so I tried to increase the resolution but it crashes the video when I try to run in my android 2.3.3 device.
Does anyone has any idea how to be able to view this video no matter the resolution of the device ?
I was thinking about keep a high quality video inside the app and then check if the device has a low resolution and somehow try to resize the hiquality video before injecting it inside the VideoView. But I don’t even know if it is possible...