
Recherche avancée
Médias (91)
-
Spoon - Revenge !
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
My Morning Jacket - One Big Holiday
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Zap Mama - Wadidyusay ?
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
David Byrne - My Fair Lady
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Beastie Boys - Now Get Busy
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Granite de l’Aber Ildut
9 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
Autres articles (36)
-
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...) -
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 (...) -
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...)
Sur d’autres sites (8067)
-
How to run one script after another in Apple Script
19 juillet 2015, par mskx4I’m trying with Apple Script to run three different scripts that would alow me to :
- Convert a purchased m4a file into an "anonymized" m4a file and extract its artwork (with ffmpeg)
- Attach the artwork to the file previously converted, since the converted file won’t maintain its artwork (with AtomicParsley)
- Remove the artwork from his path
I don’t have any kind of programming knowledge, I’ve collected different script from the web and tried to make an app that could do these 3 simple task :
on open argv
set paths to ""
repeat with f in argv
set paths to paths & quoted form of POSIX path of f & " "
end repeat
tell application "Terminal"
do script "for f in " & paths & "; do ffmpeg -i \"$f\" -acodec copy -y \"$f\" output.jpg; done"
activate
do script "for f in " & paths & "; do AtomicParsley \"$f\" --artwork output.jpg; done"
activate
do script "rm output. jpg"
activate
end tell
end openThe problem is that, when I drop a file on the app, it opens three terminal windows at once and it runs the three tasks in the same time, with the obvious result that the conversion fails : the first task overwrites the input file, and the second script should use the output of the first one as its input file. So I need the three scripts to be executed successively, one after another.
-
Why is exec('which ffmpeg') returning nothing in my application ?
28 avril 2015, par EchoLogicI’m trying to deal with FFMpeg for my application, but I’m encountering some difficulty in getting it set up. To instantiate or create an instance of FFMpeg, I need to call a
create()
method and pass through the operating locations of FFMpeg and FFProbe. To do this, I was hoping to be able to write :$ffmpeg = FFMpeg\FFMpeg::create([
'ffmpeg.binaries' => exec('which ffmpeg'),
'ffprobe.binaries' => exec('which ffprobe')
]);But, sadly, the command
exec('which ffmpeg')
returns an empty string. If I run the ’which ffmpeg’ command in Terminal, I get a response :/usr/local/bin/ffmpeg
So why does it work in my terminal, but not when my PHP script tries to execute it ?
I’ve tried a few solutions, such as appending
2>&1
to the end of the command, which did not help, running the command inshell_exec()
, and placing the output in the second parameter ofexec()
which also did not solve my issue.I feel like this may be some sort of weird permissions issue...
Addendum
It has been brought to my attention that PHP cannot see my
$PATH
variable. From the console,echo $PATH
produces :/Applications/MAMP/bin/php/php5.6.2/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/git/bin:/opt/ImageMagick/bin
While calling the same from my application with
exec()
produces :/usr/bin:/bin:/usr/sbin:/sbin237.671000
-
How to extract single image (with different name each time) from multiple videos in the one folder using ffmpeg bash script
15 juillet 2014, par morriscotty_sdLet’s start with this... I’m fairly new to Linux.
I have been looking into ffmpeg to extract an image from a video using the terminal. I’ve accomplished this using this piece of code :
ffmpeg -itsoffset -4 -i oggvideo.ogg -vcodec mjpeg -vframes 1 -an -f rawvideo -s 320x240 oggThumb.jpg
I run this when I’m in the directory which holds the videos in my project. But what I want is to extract an image from all videos in that folder at the same time, naming the image corresponding with the video name it’s extracted from. My end goal is to have a folder which will hold videos that a user uploads, and at a certain time the script will run and extract images from the uploaded videos, saving the image path to a database.
I found this line of code :
for %%i in (*.mp4) do ffmpeg -ss 20 -i %%i -t 1 -s 590x340 -f image2 %%i.jpg
from this site : Trying-to-extract-1-image-from-multiple-videos-with-FFMPEG
I run that in the terminal and it gives me the error : ’bash : syntax error near unexpected token `(’’
I tried removing the ’( )’ but then it just takes me onto a new line. This is where I’m having the most problems due to being relatively new to linux commands.Any suggestions or advice would be very helpful.