
Recherche avancée
Autres articles (47)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
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 (5487)
-
Unable to build x264 for Android : configure doesn't work with cross-compile flags
18 février 2016, par Pavel S.There is a problem when I try to build x264 lib in order to make it work with ffmpeg lib. I use Ubuntu 14.04.
I have cloned fresh x264 sources.
But when I run ./configure script, I got several issues :-
It doesn’t accept cross compile flags It doesn’t accept cross-compile flags (—cross-prefix, —host, —sysroot).
Here’s how I run configure script :./configure --enable-pic \
--enable-static \
--disable-cli \
--host=arm-linux (or ARM, it doesn't work either) \
--cross-prefix=$ANDROID_NDK/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-$HOST_ARCH/bin/arm-linux-androideabi- \
--sysroot=$ANDROID_NDK/platforms/android-14/arch-arm \
In this case default configuration is used.
When I don’t pass 3 last flags, flags 1-3 are successfully used in config.
-
With any flags passed to configure script, I see these errors in config.log :
checking for -lpostproc... no
Failed commandline was:
gcc conftest.c -m64 -Wall -I. -I$(SRCPATH) -std=gnu99 -mpreferred-stack-boundary=5 -lpostproc -m64 -lm -lpthread -o conftest
...
/usr/bin/ld: cannot find -lpostproc
collect2: error: ld returned 1 exit status
Same I see for
...
conftest.c:1:32: fatal error: libswscale/swscale.h: No such file or directory
#include <libswscale></libswscale>swscale.h>Here’s full config.log :
http://pastebin.com/U6aHKc28I guess I probably need to install ffmpeg on my Ubuntu to properly build x264 ?
Any advice ?
-
-
Unable to build x264 for Android : configure doesn't work with cross-compile flags
18 février 2016, par Pavel S.There is a problem when I try to build x264 lib in order to make it work with ffmpeg lib. I use Ubuntu 14.04.
I have cloned fresh x264 sources.
But when I run ./configure script, I got several issues :-
It doesn’t accept cross compile flags It doesn’t accept cross-compile flags (—cross-prefix, —host, —sysroot).
Here’s how I run configure script :./configure --enable-pic \
--enable-static \
--disable-cli \
--host=arm-linux (or ARM, it doesn't work either) \
--cross-prefix=$ANDROID_NDK/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-$HOST_ARCH/bin/arm-linux-androideabi- \
--sysroot=$ANDROID_NDK/platforms/android-14/arch-arm \
In this case default configuration is used.
When I don’t pass 3 last flags, flags 1-3 are successfully used in config.
-
With any flags passed to configure script, I see these errors in config.log :
checking for -lpostproc... no
Failed commandline was:
gcc conftest.c -m64 -Wall -I. -I$(SRCPATH) -std=gnu99 -mpreferred-stack-boundary=5 -lpostproc -m64 -lm -lpthread -o conftest
...
/usr/bin/ld: cannot find -lpostproc
collect2: error: ld returned 1 exit status
Same I see for
...
conftest.c:1:32: fatal error: libswscale/swscale.h: No such file or directory
#include <libswscale></libswscale>swscale.h>Here’s full config.log :
http://pastebin.com/U6aHKc28I guess I probably need to install ffmpeg on my Ubuntu to properly build x264 ?
Any advice ?
-
-
Android - Decoding via a pipe will not work : Could not find an ffmpeg binary for your system
28 août 2017, par DanieleI’m trying to use TarsosDSP for real time pitch shifting on Android.
This is my code :
Uri song;
// initialized in another method
double rate = 1.0;
RateTransposer rateTransposer;
AudioDispatcher dispatcher;
WaveformSimilarityBasedOverlapAdd wsola;
dispatcher = AudioDispatcherFactory.fromPipe(getRealPathFromUri(song), 44100, 5000, 2500);
rateTransposer = new RateTransposer(rate);
wsola = new WaveformSimilarityBasedOverlapAdd(WaveformSimilarityBasedOverlapAdd.Parameters
.musicDefaults(rate, 44100));
wsola.setDispatcher(dispatcher);
dispatcher.addAudioProcessor(wsola);
dispatcher.addAudioProcessor(rateTransposer);
dispatcher.addAudioProcessor(new AndroidAudioPlayer(dispatcher.getFormat()));
dispatcher.setZeroPadFirstBuffer(true);
dispatcher.setZeroPadLastBuffer(true);I get an error here
dispatcher = AudioDispatcherFactory.fromPipe(getRealPathFromUri(song), 44100, 5000, 2500);
Decoding via a pipe will not work : Could not find an ffmpeg binary for
your systemWhy does this happen and how should I fix it ?
EDIT :
As far as I was able to understand it’s because ffmpeg isn’t integrated within the app. I looked for a guide here on SO but I couldn’t find any updated one. Using NDK r15c and FFmpeg 3.3.3