
Recherche avancée
Médias (1)
-
Richard Stallman et le logiciel libre
19 octobre 2011, par
Mis à jour : Mai 2013
Langue : français
Type : Texte
Autres articles (68)
-
Demande de création d’un canal
12 mars 2010, parEn fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...) -
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 (4995)
-
W/System.err : java.lang.Exception : FFmpeg not loaded
1er juillet 2021, par numaI ran an android machine learning code that uses AndroidAudioConverter from https://github.com/adrielcafe/AndroidAudioConverter, but I got the different errors as following.


When I ran it with AVD emulator, it said (the error is in red font) :


E/FFmpeg: issue in coping binary from assets to data. 
java.io.FileNotFoundException: x86/ffmpeg
 at android.content.res.AssetManager.nativeOpenAsset(Native Method)
 at android.content.res.AssetManager.open(AssetManager.java:744)
 at android.content.res.AssetManager.open(AssetManager.java:721)
 at com.github.hiteshsondhi88.libffmpeg.FileUtils.copyBinaryFromAssetsToData(FileUtils.java:29)
 at com.github.hiteshsondhi88.libffmpeg.FFmpegLoadLibraryAsyncTask.doInBackground(FFmpegLoadLibraryAsyncTask.java:27)
 at com.github.hiteshsondhi88.libffmpeg.FFmpegLoadLibraryAsyncTask.doInBackground(FFmpegLoadLibraryAsyncTask.java:8)
 at android.os.AsyncTask$2.call(AsyncTask.java:333)
 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
 at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:245)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
 at java.lang.Thread.run(Thread.java:764)



But if I ran it on my android smartphone, I am getting the following error :


W/System.err: java.lang.Exception: FFmpeg not loaded
 W/System.err: at cafe.adriel.androidaudioconverter.AndroidAudioConverter.convert(AndroidAudioConverter.java:85)
 W/System.err: at com.example.coughc19.DetectCoughActivity.convertToWAV(DetectCoughActivity.kt:144)
 at com.example.coughc19.DetectCoughActivity$onClick$timer$1.onFinish(DetectCoughActivity.kt:103)
 at android.os.CountDownTimer$1.handleMessage(CountDownTimer.java:127)
 at android.os.Handler.dispatchMessage(Handler.java:107)
 W/System.err: at android.os.Looper.loop(Looper.java:230)
 at android.app.ActivityThread.main(ActivityThread.java:7815)
 at java.lang.reflect.Method.invoke(Native Method)
 W/System.err: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:526)
 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1034)
 D/FFmpeg: Build.CPU_ABI : arm64-v8a
 I/FFmpeg: Loading FFmpeg for armv7 CPU
 D/Surface: Surface::connect(this=0x7476ddc000,api=2)
 D/FFmpeg: FFmpeg is not executable, trying to make it executable ...
 D/Surface: Surface::disconnect(this=0x7476ddc000,api=2)
 W/System.err: java.io.FileNotFoundException: /storage/emulated/0/myrec.wav: open failed: ENOENT (No such file or directory)
 W/System.err: at libcore.io.IoBridge.open(IoBridge.java:496)
 at java.io.FileInputStream.<init>(FileInputStream.java:159)
 at com.example.coughc19.audioHelper.WavFile.openWavFile(WavFile.java:87)
 at com.example.coughc19.DetectCoughActivity.classifyNoise(DetectCoughActivity.kt:169)
 at com.example.coughc19.DetectCoughActivity$onClick$timer$1$onFinish$timer2$1.onFinish(DetectCoughActivity.kt:110)
 at android.os.CountDownTimer$1.handleMessage(CountDownTimer.java:127)
 at android.os.Handler.dispatchMessage(Handler.java:107)
 W/System.err: at android.os.Looper.loop(Looper.java:230)
 at android.app.ActivityThread.main(ActivityThread.java:7815)
 at java.lang.reflect.Method.invoke(Native Method)
 at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:526)
 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1034)
 W/System.err: Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory)
 at libcore.io.Linux.open(Native Method)
 at libcore.io.ForwardingOs.open(ForwardingOs.java:167)
 at libcore.io.BlockGuardOs.open(BlockGuardOs.java:252)
 W/System.err: at libcore.io.ForwardingOs.open(ForwardingOs.java:167)
 at android.app.ActivityThread$AndroidOs.open(ActivityThread.java:7714)
 at libcore.io.IoBridge.open(IoBridge.java:482)
 ... 11 more
</init>


Also, when ran on an android smartphone and emulator simultaneously, I got the following error :


E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.example.coughc19, PID: 9041
java.lang.IllegalArgumentException: The size of the array to be loaded does not match the specified shape.
 at org.tensorflow.lite.support.common.SupportPreconditions.checkArgument(SupportPreconditions.java:104)
 at org.tensorflow.lite.support.tensorbuffer.TensorBufferFloat.loadArray(TensorBufferFloat.java:87)
 at com.example.coughc19.DetectCoughActivity.loadModelAndMakePredictions(DetectCoughActivity.kt:258)
 at com.example.coughc19.DetectCoughActivity.classifyNoise(DetectCoughActivity.kt:230)
 at com.example.coughc19.DetectCoughActivity$onClick$timer$1$onFinish$timer2$1.onFinish(DetectCoughActivity.kt:110)
 at android.os.CountDownTimer$1.handleMessage(CountDownTimer.java:127)
 at android.os.Handler.dispatchMessage(Handler.java:106)
 at android.os.Looper.loop(Looper.java:193)
 at android.app.ActivityThread.main(ActivityThread.java:6669)
 at java.lang.reflect.Method.invoke(Native Method)
 at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)



I used the Android 10 smartphone and Android 9 for AVD. This is a team project, which my friend build. It can run on his smartphone (Android 9). I need to connect the program to the cloud storage but I don't know why it ain't running on my device or emulator.

If anyone knows how to resolve this issue please help.

Thanks.

-
Revision 82757250d6 : Merge "Refactor to remove speed feature dependency on mode search order"
11 septembre 2014, par Jingning HanChanged Paths :
Modify /vp9/encoder/vp9_speed_features.c
Merge "Refactor to remove speed feature dependency on mode search order" -
Revision 9349a28e80 : Enable mode search threshold update in non-RD coding mode Adaptively adjust the
28 octobre 2014, par Jingning HanChanged Paths :
Modify /vp9/encoder/vp9_pickmode.c
Modify /vp9/encoder/vp9_rd.c
Modify /vp9/encoder/vp9_rd.h
Modify /vp9/encoder/vp9_rdopt.c
Modify /vp9/encoder/vp9_speed_features.c
Enable mode search threshold update in non-RD coding modeAdaptively adjust the mode thresholds after each mode search round
to skip checking less likely selected modes. Local tests indicate
5% - 10% speed-up in speed -5 and -6. Average coding performance
loss is -1.055%.speed -5
vidyo1 720p 1000 kbps
16533 b/f, 40.851 dB, 12607 ms -> 16556 b/f, 40.796 dB, 11831 msnik 720p 1000 kbps
33229 b/f, 39.127 dB, 11468 ms -> 33235 b/f, 39.131 dB, 10919 msspeed -6
vidyo1 720p 1000 kbps
16549 b/f, 40.268 dB, 10138 ms -> 16538 b/f, 40.212 dB, 8456 msnik 720p 1000 kbps
33271 b/f, 38.433 dB, 7886 ms -> 33279 b/f, 38.416 dB, 7843 msChange-Id : I2c2963f1ce4ed9c1cf233b5b2c880b682e1c1e8b