
Recherche avancée
Médias (3)
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (22)
-
Les images
15 mai 2013 -
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 (...) -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...)
Sur d’autres sites (3664)
-
ffmpeg problems (mpeg1video -> ?)
3 juillet 2015, par IngloniasI’m trying to convert various video files from .mpeg to .ogg theora videos. This command works fine when I test it in its own program, but fails to run properly inside the program it was intended for. I don’t understand what’s breaking here. Adding a
-vcodec
flag causes other errors.Here is the function I am using to run
ffmpeg
:* This method converts a file to Ogg Theora video using ffmpeg.
*
* @param f
* The file to encode. (Assumes that the file has a .mpeg
* extension. If the file doesn't have this, the method will
* fail.)
* @param nice The niceness of the created ffmpeg
* priority.
* @return converter The process that represents ffmpeg working on the file.
*/
private Process encodeFileAsTheora(File f, int nice) {
Process converter = null;
try {
String targetFileName = f.getAbsolutePath()
.replace(".mpeg", ".ogg");
// mLogger.log(Level.INFO,
// "Now attempting to convert " + f.getAbsolutePath());
String[] ffmpegCommand = { "nice", "-n", Integer.toString(nice),
"ffmpeg", "-i", f.getAbsolutePath(), targetFileName };
converter = Runtime.getRuntime().exec(ffmpegCommand);
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
return converter;
}And here is its
getErrorStream()
output to the logger :NON RELEVANT CONTENT REMOVED
configuration : —extra-ldflags=-L/home/user/trunk/cpp_src/ffmpeg-source/libvpx —extra-ldflags=-L/home/user/trunk/cpp_src/ffmpeg-source/x264 —extra-cflags=-I/home/user/trunk/cpp_src/ffmpeg-source/x264 —extra-cflags=-I/home/user/trunk/cpp_src/ffmpeg-source/libvpx —enable-libvpx —enable-libx264 —enable-gpl —yasmexe=/home/user/trunk/cpp_src/ffmpeg-source/yasm/yasm
-
Compiling ffmpeg with NVDIA GPU enabled for windows
12 octobre 2017, par GuruI am working on decoding video using ffmpeg with NVDIA GPU enabled on windows platform.
Followed below steps as per the document provided by ffmpeg to compile ffmpeg software
- Install msys2 from www.msys2.org.
- Clone FFMPEG’s public GIT repository. git clone https://git.ffmpeg.org/ffmpeg.git
- Create a folder named nv_sdk in the parent directory of FFMPEG and copy all the libraries from C :\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\include to and C :\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\lib\x64 to nv_sdk folder.
- Launch the Visual Studio x64 Native Tools Command Prompt.
- From the Visual Studio x64 Native Tools Command Prompt, launch the MinGW64 environment by running mingw64.exe from the msys2 installation folder.
- In the MinGW64 environment, install the necessary packages. pacman -S diffutil make pkg-config yasm
- Add the following paths by running the commands. export PATH="/c/Program Files (x86)/Microsoft Visual Studio 12.0/VC/BIN/amd64/" :$PATH export PATH="/c/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v8.0/bin/" :$PATH
- Go to the FFMPEG installation folder and run the following command. ./configure —enable-nonfree —enable-nvenc —enable-cuda —enable-cuvid —enable-libnpp —extra-cflags=-Ilocal/include —extra-cflags=-I../nv_sdk —extra-ldflags=-L../nv_sdk
- Compile the code by executing the following command. make -j 8
But In the 8th step I am getting below error, please let me know what could be the possible solution for the issue.
admin@ADMIN-PC MINGW64 /c/ffmpeg
$ ./configure —enable-nonfree —enable-nvenc —enable-cuda —enable-cuvid —ena ble-libnpp —extra-cflags=-Ilocal/include —extra-cflags=-I../nv_sdk —extra-ldf lags=-L../nv_sdk
gcc is unable to create an executable file.
If gcc is a cross-compiler, use the —enable-cross-compile option.
Only do this if you know what cross compiling means.
C compiler test failed.If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "ffbuild/config.log" produced by configure as this will hel p
solve the problem. -
Build FFMPEG with x264 error
11 janvier 2012, par KageI am trying to build FFMPEG with libx264.
I can successfully build and use FFMPEG for Android but I realized that I need the ability to encode, therefore I am trying to build FFMPEG with x264.
When trying to build FFMPEG I get an error :
"ERROR : libx264 not found"
And in my log it says :
"/usr/local/lib/libx264.a : could not read symbols : Archive has no
index ; run ranlib to add one..."I have the latest versions of both FFMPEG and x264.
I understand that FFMPEG looks for the header and libraries in usr/lib and usr/include, so in order to make it find x264 I use the cflags and ldflags :- —extra-cflags = " -I/usr/local/include "
- —extra-ldflags = " -L/usr/local/lib "
I have tried building x264 with many different options that other people on the internet have said that i need. eg. —enable-shared, —enable-static, —disable-pthreads etc.
Some forums say enable this, others say no disable that.Any help would be much appreciated,
Thanks