
Recherche avancée
Médias (91)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
-
avec chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
sans chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
config chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
Autres articles (104)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
Gestion de la ferme
2 mars 2010, parLa ferme est gérée dans son ensemble par des "super admins".
Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
Dans un premier temps il utilise le plugin "Gestion de mutualisation"
Sur d’autres sites (10916)
-
Unable find an ffmpeg binary for your Android system
22 juillet 2024, par Ayush ThakurWorking on a project where I need to use FFmpeg library in Kotlin to work on some audio files. However I'm unable to initialize the ffmpeg library itself.


this is the error I'm getting


Could not find an ffmpeg binary for your Android system. Did you forget calling: 'new AndroidFFMPEGLocator(this);' ?
2024-07-22 18:48:33.910 11800-11800 PipeDecoder com.example.sangeet E Tried to unpack a statically compiled ffmpeg binary for your architecture to: /data/user/0/com.example.sangeet/cache/ffmpeg
2024-07-22 18:48:33.923 11800-11800 AndroidRuntime com.example.sangeet E FATAL EXCEPTION: main (Ask Gemini)
 Process: com.example.sangeet, PID: 11800
 java.lang.Error: Decoding via a pipe will not work: Could not find an ffmpeg binary for your system



@HiltAndroidApp
class Sangeet: Application(){
 override fun onCreate() {
 super.onCreate()
 provideFirebaseApp(this)
 FFmpegKitConfig.setLogLevel(Level.AV_LOG_INFO)
 FFmpegKitConfig.enableLogCallback { Log.d("ffmpeg",it.message) }
 initializeFFmpegKit()
 }
 private fun initializeFFmpegKit() {
 // This method should be sufficient to ensure FFmpegKit is ready to use
 val ffmpegSession = FFmpegKit.execute("ffmpeg -version")
 if (ReturnCode.isSuccess(ffmpegSession.returnCode)) {
 Log.d("FFmpeg", "FFmpeg is ready to use.")
 } else {
 Log.e("FFmpeg", "Failed to initialize FFmpeg: ${ffmpegSession.failStackTrace}")
 initializeFFmpegBinary()
 }
 }
 private fun initializeFFmpegBinary() {
 val ffmpegBinaryPath = filesDir.absolutePath + "/ffmpeg"
 val binaryFile = File(ffmpegBinaryPath)
 if (!binaryFile.exists()) {
 Log.e("FFmpeg", "FFmpeg binary not found at $ffmpegBinaryPath")
 // Copy or download the FFmpeg binary to this path
 } else {
 Log.d("FFmpeg", "FFmpeg binary found at $ffmpegBinaryPath")
 }
 }
}



Tried using AndroidFFMPEGLocator(this) ; as suggested by the compiler in my code but unknown reference error is coming for the above line of code.


Also tried using FFmpegKit.init(this) function but init is also not being recognised by the compiler


-
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.

-
Redis corrupted my Qthread, cv2 and ffmpeg system. Assertion fctx->async_lock failed at src/libavcodec/pthread_frame.c:167 [closed]
8 novembre 2024, par Alperen ÖlçerI used to have a websocket communication in my system but I wanted to change to redis. Afterwards it started to crash when cap.set function calls with error 'Assertion fctx->async_lock failed at src/libavcodec/pthread_frame.c:167' I normally run this function inside of a QThread. Any idea why its happening. Only redis changes affected it and the changes are so innocent. I am using ubuntu 22.04 and opencv 4.8.1 builded with cuda 11.5 cudnn 8.6,ffmpeg 769c36b, gcc 10, pyQt 5.15, python3.10.