
Recherche avancée
Médias (91)
-
Spitfire Parade - Crisis
15 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Wired NextMusic
14 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
-
Sintel MP4 Surround 5.1 Full
13 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (49)
-
Librairies et logiciels spécifiques aux médias
10 décembre 2010, parPour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs
Sur d’autres sites (7521)
-
Anomalie #3611 : Impossible de rajouter un lien de traduction
9 décembre 2015, par realet RealETr22639 et r22640 résolvent les bugs.
On a même la possibilité de changer la langue d’un article si sa langue n’est pas celle de son secteur ! Bravo !Au passage, pour la création d’un nouvel article :
- si [x] Articles : activer le menu de langue > un nouvel article est créé dans la langue du rédacteur (et non en héritant de la langue du secteur)
- si [ ] Articles : activer le menu de langue > un nouvel article est bien créé dans la langue du secteur
Il me semble qu’il faudrait toujours créer dans la langue du secteur.
Et éventuellement pouvoir dire qu’un secteur n’a pas de langue du tout pour pouvoir mettre dedans des articles de différentes langues (un cas un peu hybride, mais permis par la configuration de SPIP.
Actuellement, on ne peut en effet pas une fois qu’on a mis une langue à une rubrique la passer à aucune langue (sauf à bidouiller la base MySQL). -
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.

-
Carrierwave video not being processsed before uploading to S3
12 décembre 2013, par CrampsI'm using Carrierwave, Carrierwave-video and Carrierwave-video-thumbnailer to process videos and make a thumbnail when they're uploaded. This was all working nicely while I was saving the files on my file system. However, now that I've added uploading to Amazon S3 using the carrierwave-aws gem, the videos are being uploaded to S3 without being processed first. It's as if the
process encode_video
andversion :thumb
are being skipped by the uploader.Here's what was working for me at first (before adding S3) :
class VideoUploader < CarrierWave::Uploader::Base
include CarrierWave::Video
include CarrierWave::Video::Thumbnailer
storage :file
def store_dir
"upload/path/"
end
process encode_video: [{ bunch of video options}]
version :thumb do
process thumbnail: [{ bunch of thumbnailer options }]
def full_filename for_file
png_name for_file, version_name
end
end
def png_name for_file, version_name
%Q{#{version_name}_#{for_file.chomp(File.extname(for_file))}.png}
endNow it's really just the same, except it's using
storage :aws
instead.