
Recherche avancée
Médias (91)
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
-
Les Miserables
4 juin 2012, par
Mis à jour : Février 2013
Langue : English
Type : Texte
-
Ne pas afficher certaines informations : page d’accueil
23 novembre 2011, par
Mis à jour : Novembre 2011
Langue : français
Type : Image
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
-
Richard Stallman et la révolution du logiciel libre - Une biographie autorisée (version epub)
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (80)
-
Qualité du média après traitement
21 juin 2013, parLe bon réglage du logiciel qui traite les média est important pour un équilibre entre les partis ( bande passante de l’hébergeur, qualité du média pour le rédacteur et le visiteur, accessibilité pour le visiteur ). Comment régler la qualité de son média ?
Plus la qualité du média est importante, plus la bande passante sera utilisée. Le visiteur avec une connexion internet à petit débit devra attendre plus longtemps. Inversement plus, la qualité du média est pauvre et donc le média devient dégradé voire (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
Configuration spécifique pour PHP5
4 février 2011, parPHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
Modules spécifiques
Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)
Sur d’autres sites (3060)
-
Android UnsatisfiedLinkError using ffmpeg library
5 avril 2012, par BombasticI'm trying to use
FFMPEG
library in my Android application like this example here : AFPlayer . I have a builded and running version of this application and everything works fine, but when I tried to implement the same logic in my application it crashes everytime I start my media player. So the thing that I did was to copy and paste all files from afplayer's folders to my app (not sure if I have to do something else or if it's the right way,but it's my first touch with Android NDK and I'm not really sure how to do the things). Here is how I'm trying to start my DRadioMediaPlayer :player = new DRadioMediaPlayer();
//player.setOnPreparedListener(this);
//player.setOnCompletionListener(this);
//player.setOnErrorListener(this);
//player.setOnBufferingUpdateListener(this);
//player.setAudioStreamType(AudioManager.STREAM_MUSIC);
try
{
Uri source = Uri.parse(playlist.getCurrentSource().toString());
player.setDataSource(source);
//player.setDataSource(playlist.getCurrentSource().toString());
player.prepare();
playbackState = DRadioPlayerService.PLAYBACK_STATE_BUFFERING;
}This is how I load the library :
static {
System.loadLibrary("player");}
and here is the exception which I'm getting :
04-05 17:04:37.478: W/dalvikvm(686): No implementation found for native Lcom/nimasystems/android/radio2/DRadioMediaPlayer;.n_createEngine ()V
04-05 17:04:37.478: D/AndroidRuntime(686): Shutting down VM
04-05 17:04:37.478: W/dalvikvm(686): threadid=1: thread exiting with uncaught exception (group=0x400259f8)
04-05 17:04:37.478: E/AndroidRuntime(686): FATAL EXCEPTION: main
04-05 17:04:37.478: E/AndroidRuntime(686): java.lang.UnsatisfiedLinkError: n_createEngine
04-05 17:04:37.478: E/AndroidRuntime(686): at com.nimasystems.android.radio2.DRadioMediaPlayer.n_createEngine(Native Method)
04-05 17:04:37.478: E/AndroidRuntime(686): at com.nimasystems.android.radio2.DRadioMediaPlayer.<init>(DRadioMediaPlayer.java:68)
04-05 17:04:37.478: E/AndroidRuntime(686): at com.nimasystems.android.player.service.DRadioPlayerService.initPlayer(DRadioPlayerService.java:577)
04-05 17:04:37.478: E/AndroidRuntime(686): at com.nimasystems.android.player.service.DRadioPlayerService.onStart(DRadioPlayerService.java:568)
04-05 17:04:37.478: E/AndroidRuntime(686): at android.app.Service.onStartCommand(Service.java:420)
04-05 17:04:37.478: E/AndroidRuntime(686): at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:3267)
04-05 17:04:37.478: E/AndroidRuntime(686): at android.app.ActivityThread.access$3600(ActivityThread.java:135)
04-05 17:04:37.478: E/AndroidRuntime(686): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2211)
04-05 17:04:37.478: E/AndroidRuntime(686): at android.os.Handler.dispatchMessage(Handler.java:99)
04-05 17:04:37.478: E/AndroidRuntime(686): at android.os.Looper.loop(Looper.java:144)
04-05 17:04:37.478: E/AndroidRuntime(686): at android.app.ActivityThread.main(ActivityThread.java:4937)
04-05 17:04:37.478: E/AndroidRuntime(686): at java.lang.reflect.Method.invokeNative(Native Method)
04-05 17:04:37.478: E/AndroidRuntime(686): at java.lang.reflect.Method.invoke(Method.java:521)
04-05 17:04:37.478: E/AndroidRuntime(686): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858)
04-05 17:04:37.478: E/AndroidRuntime(686): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
04-05 17:04:37.478: E/AndroidRuntime(686): at dalvik.system.NativeStart.main(Native Method)
</init>and here is the line where actually the exception it thrown :
public DRadioMediaPlayer() {
Log.d(TAG, "Create new MediaPlayer");
n_createEngine(); // here
}
public native void n_createEngine();Any suggestions what actually can I do to fix this problem ? I've read all questions with similar issue here,but none of them worked for me.
Thanks in advance !
-
Google cloud speech to text not giving output for OGG & MP3 files
27 avril 2021, par Vedant JumleI am trying to perform speech to text on a bunch of audio files which are over 10 mins long. I don't want to waste storage on the cloud bucket by straight-up uploading wav files on it. So I am using
ffmpeg
to convert the files either to ogg or mp3 like :
ffmpeg -y -i audio.wav -ar 12000 -r 16000 audio.mp3


ffmpeg -y -i audio.wav -ar 12000 -r 16000 audio.ogg


For testing purpose I ran the speech to text service on a dummy wav file and it seemed to work, I got the text as expected. But for some reason it isn't detecting any speech when I use the ogg or mp3 file. I could not give amr files to work either.


My code :


def transcribe_gcs(gcs_uri):
 client = speech.SpeechClient()

 audio = speech.RecognitionAudio(uri=gcs_uri)
 config = speech.RecognitionConfig(
 encoding="OGG_OPUS", #replace with "LINEAR16" for wav, "OGG_OPUS" for ogg, "AMR" for amr
 sample_rate_hertz=16000,
 language_code="en-US",
 )
 print("starting operation")
 operation = client.long_running_recognize(config=config, audio=audio)
 response = operation.result()
 print(response)



I have set up the authentication properly, so that is not a problem.


When I run the speech to text service on the same audio but in ogg or mp3(I just comment out the encoding setting from the config for mp3) format, it gives no response, just prints out a line break and done.


What can I do to fix this ?


-
How to set up FFmpeg thumbnail generator [on hold]
26 octobre 2013, par Juddy Swafti need set up FFmpeg thumbnail generator that automatically thumbnails apear on videos i have installed on my server FFmpeg service so i need php help.
p.s im using php.melody cms