
Recherche avancée
Autres articles (59)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
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 -
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 (...)
Sur d’autres sites (6759)
-
ERROR : "Cannot Find FFMPEG" on Google Cloud Compute Engine Debian Wheezy 7.8 Managed Instance even though it's installed
4 octobre 2015, par DynamoBoosterI wrote a Node.JS application that uses the
fluent-ffmpeg
module to watermark videos uploaded on the platform. I pushed the code to a my Google Cloud Compute Engine project, and every time I getError : Cannot Find FFMPEG
. I ssh’d into the instance once it was created and ran these commands to installFFMPEG
before actually testing out the code. I am not sure what is causing the error because after this I am positive thatFFMPEG
is installed.sudo apt-get update
sudo apt-get install -y ffmpeg
export FFMPEG_PATH="/usr/bin/ffmpeg"
export FFPROBE_PATH="/usr/bin/ffprobe"Below is my FFMPEG code
function generate_thumbnail(name, path){
logging.info("Generating Thumbnail");
ffmpeg(path)
.setFfmpegPath('/usr/bin/ffmpeg')
.setFfprobePath('/usr/bin/ffprobe')
.on('end', function() {
upload_thumbnail(name);
logging.info("Thumbnail Generated and uploaded");
return;
})
.on('error', function(err, stdout, stderr) {
logging.info('ERROR: ' + err.message);
logging.info('STDERR:' + stderr);
})
.on('start', function(commandLine) {
logging.info(commandLine);
})
.screenshots({
count: 1,
filename: name + '_thumbnail.png',
folder: 'public/images/thumbnails/'
});
} -
Find a resolution (dimension) of a video object saved in S3 - in rails
27 septembre 2015, par JVKI have video files saved in s3 and I want to find the dimension/resolution of any file (lets assume file sizes are in 500mb) per the request comes in my rails app.
One of the options, I have in my mind is :
Download (getObject) the file in local memory and use ffmpeg to find the required info. I currently don’t have ffmpeg, as I don’t need that for any task.
But, I don’t like this option, reason is - I don’t want to waste bandwidth to download it first (takes time) from S3 and then run cpu and memory intensive ffmpeg on my server to merely find the dimension/resolution of the video.
Is there any better solution ?
S3 object HEAD call on object unfortunately doesn’t return dimension information.
-
Cannot find library using gcc -shared in Eclipse to build a dll
26 septembre 2015, par tishuI am trying to use the FFMPEG library that I just compiled on Windows using MinGW in a C program in Eclipse. I have managed to build a simple HelloJNI.c file and run it :
gcc $(INCLUDES) -c -g -w HelloJNI.c
gcc -shared -o $(BIN_DIR)/hello.dll HelloJNI.oI am now trying to compile a ffmpeg_native.c file that uses FFMPEG but I am getting errors running the following :
LIBRARY_PATH = -L:"c:/Dev/msys-1.0/local/lib" -L:"c:/Dev/msys-1.0/local"
INCLUDES = -I$(SRC_DIR) -I"c:/Dev/msys-1.0/local/include" -I"c:/Program Files/Java/jdk1.8.0_45/include" -I"c:/Program Files/Java/jdk1.8.0_45//include/win32"
BIN_DIR = ../bin
gcc $(INCLUDES) -c -g -w ffmpeg_native1.1.4.c
gcc -shared -o $(BIN_DIR)/exportnative.dll ffmpeg_native1.1.4.o $(LIBRARY_PATH) -lffmpeg -lavcodec -lx264 -lavformat -lavutil -lswscaleThe first line runs fine but the second shows this output :
c:/Dev/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.3/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lavcodec
[etc for all libraries]I am puzzled as I am able to run the following in MinGW with success :
ld -o /local/libffmpeg.so -L/local/lib -lavcodec -lx264 -lavformat -lavutil -lswscale