
Recherche avancée
Autres articles (42)
-
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
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 (...) -
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
Sur d’autres sites (5478)
-
ffmpeg Exception : Working Directory : null Environment : null
13 décembre 2016, par DylanCreating the Android app, I am trying to crop video using ffmpeg library and store it in the app directory. I created the command :
String command = "ffmpeg -i /storage/emulated/0/DMC/diamondVideo.mp4 -vf crop=471:592:162:462 -c:a copy /storage/sdcard0/DMC/diamondVideoCropped.mp4";
String[] cmd = command.toString().split(" ");After that I pass this command to the AsyncTask :
new CropVideoTask().execute(cmd);
And in my AsyncTask I execute this command :
private class CropVideoTask extends AsyncTask {
protected Void doInBackground(String[]... cmd) {
FFmpeg ffmpeg = FFmpeg.getInstance(getContext());
try {
ffmpeg.execute(cmd[0], new ExecuteBinaryResponseHandler() {
@Override
public void onStart() {}
@Override
public void onProgress(String message) {}
@Override
public void onFailure(String message) {}
@Override
public void onSuccess(String message) {}
@Override
public void onFinish() {}
});
} catch (FFmpegCommandAlreadyRunningException e) {
// Handle if FFmpeg is already running
}
return null;
}After the code enters in onStart method, it throw an Exception :
12-13 15:43:02.832 28941-32324/com.example.dmc E/FFmpeg: Exception while trying to run: [Ljava.lang.String;@42851b38
java.io.IOException: Error running exec(). Command: [/data/data/com.studioidan.dmc/files/ffmpeg, ffmpeg, -i, /storage/sdcard0/DMC/diamondVideo.mp4, -vf, crop=471:592:162:462, -c:a, copy, /storage/sdcard0/DMC/diamondVideoCropped.mp4] Working Directory: null Environment: null
at java.lang.ProcessManager.exec(ProcessManager.java:211)
at java.lang.Runtime.exec(Runtime.java:168)
at java.lang.Runtime.exec(Runtime.java:123)
at com.github.hiteshsondhi88.libffmpeg.ShellCommand.run(ShellCommand.java:10)
at com.github.hiteshsondhi88.libffmpeg.FFmpegExecuteAsyncTask.doInBackground(FFmpegExecuteAsyncTask.java:38)
at com.github.hiteshsondhi88.libffmpeg.FFmpegExecuteAsyncTask.doInBackground(FFmpegExecuteAsyncTask.java:10)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
at java.lang.Thread.run(Thread.java:856)
Caused by: java.io.IOException: No such file or directory
at java.lang.ProcessManager.exec(Native Method)
at java.lang.ProcessManager.exec(ProcessManager.java:209)
at java.lang.Runtime.exec(Runtime.java:168)
at java.lang.Runtime.exec(Runtime.java:123)
at com.github.hiteshsondhi88.libffmpeg.ShellCommand.run(ShellCommand.java:10)
at com.github.hiteshsondhi88.libffmpeg.FFmpegExecuteAsyncTask.doInBackground(FFmpegExecuteAsyncTask.java:38)
at com.github.hiteshsondhi88.libffmpeg.FFmpegExecuteAsyncTask.doInBackground(FFmpegExecuteAsyncTask.java:10)
at android.os.AsyncTask$2.call(AsyncTask.java:287)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
at java.lang.Thread.run(Thread.java:856)Manifest.xml contains premission
Did I miss something ?
-
Problems with ffmpeg build in Xcode
16 décembre 2016, par jonHi I have a problem with getting ffmpeg libraries to build in my Xcode project. It is in C++ . I have installed it using homebrew and have checked that all the correct libraries have installed via terminal. I have tried with and without extern C as I know it is a c library.
#include <iostream>
#include <opencv2></opencv2>opencv.hpp>
#include <libavformat>
//extern "C" {
// #include <libavformat>
//}
</libavformat></libavformat></iostream>The linker flags have been set by using (e.g. pkg-config —libs libavcodec) in terminal and these flags do not throw up an error when building. The header files are also found with no problems as the autocomplete flags them top while typing.
Please see attached pictures for Xcode build settings. Really stuck pease help
-
opencv2 can't load video on mac
28 novembre 2016, par bogunI can’t use cv2.VideoCapture(’test.avi’) to load my local video.
I had installed ffmpeg usingbrew install ffmpeg
When i try to run the codecv2.VideoCapture(test.avi)
, the python process will crash, here is the error log :'2016-11-28 18:18:47.768 Python[20241:277423] *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArrayM objectAtIndex:]: index 0 beyond bounds for empty array
*** First throw call stack :
(
0 CoreFoundation 0x00007fffa44b148b __exceptionPreprocess + 171
1 libobjc.A.dylib 0x00007fffb8c13cad objc_exception_throw + 48
2 CoreFoundation 0x00007fffa43cad8c -[__NSArrayM objectAtIndex :] + 204
3 libopencv_highgui.2.4.dylib 0x0000000109be9270 _ZN13CvCaptureFileC2EPKc + 350
4 libopencv_highgui.2.4.dylib 0x0000000109be7ce2 _Z32cvCreateFileCapture_AVFoundationPKc + 34
5 libopencv_highgui.2.4.dylib 0x0000000109bdb7de cvCreateFileCapture + 14
6 libopencv_highgui.2.4.dylib 0x0000000109bdba8e _ZN2cv12VideoCapture4openERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE + 64
7 libopencv_highgui.2.4.dylib 0x0000000109bdb8ee _ZN2cv12VideoCaptureC2ERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE + 42
8 cv2.so 0x0000000109387bce _ZL34pyopencv_VideoCapture_VideoCaptureP7_objectS0_S0_ + 275
9 Python 0x0000000109052534 PyEval_EvalFrameEx + 14624
10 Python 0x000000010904ea1e PyEval_EvalCodeEx + 1617
11 Python 0x000000010904e3c7 PyEval_EvalCode + 48
12 Python 0x000000010906e63d PyParser_ASTFromFile + 297
13 Python 0x000000010906e46b PyRun_InteractiveOneFlags + 377
14 Python 0x000000010906df5f PyRun_InteractiveLoopFlags + 192
15 Python 0x000000010906de09 PyRun_AnyFileExFlags + 60
16 Python 0x000000010907fbca Py_Main + 3094
17 libdyld.dylib 0x00007fffb94f2255 start + 1
18 ??? 0x0000000000000001 0x0 + 1
)
libc++abi.dylib : terminating with uncaught exception of type NSException
Abort trap : 6I guess the video’s codec could be wrong, but i don’t know how to fix it.