
Recherche avancée
Médias (91)
-
Géodiversité
9 septembre 2011, par ,
Mis à jour : Août 2018
Langue : français
Type : Texte
-
USGS Real-time Earthquakes
8 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
-
SWFUpload Process
6 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
-
Podcasting Legal guide
16 mai 2011, par
Mis à jour : Mai 2011
Langue : English
Type : Texte
-
Creativecommons informational flyer
16 mai 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (83)
-
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...) -
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs
Sur d’autres sites (14487)
-
Can no longer get ffmpeg to run in Terminal on macOS
31 décembre 2023, par Chewie The ChorkieHere's a command I tried to run which always worked :


Mac-mini:images Admin$ ffmpeg -r 30 -f image2 -s 1080x1080 -i %d.png -vcodec h264 -crf 25 -pix_fmt yuv420p zVideo.mp4



The output I get is :


dyld[94095]: Library not loaded: /usr/local/opt/theora/lib/libtheoraenc.1.dylib
 Referenced from: <20EBE016-0DD0-3F29-96CD-D22BC2E40B38> /usr/local/Cellar/ffmpeg/6.1.1/bin/ffmpeg
 Reason: tried: '/usr/local/opt/theora/lib/libtheoraenc.1.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/theora/lib/libtheoraenc.1.dylib' (no such file), '/usr/local/opt/theora/lib/libtheoraenc.1.dylib' (no such file)
Abort trap: 6



I've tried reinstalling ffmpeg, installing the command line tools from Xcode, and Xcode itself.


-
Convert wav to mp3 using Meteor FS Collections on Startup
28 juillet 2015, par TheBetterJORTI’m trying to transcode all wav files into a mp3 using Meteor and Meteor FS Collections. My code works when I upload a wav file to the uploader — That is it will convert the wav to a mp3 and allow me to play the file. But, I’m looking for a Meteor Solution that will transcode and add the file to the DB if the file is a wav and exist in a certain directory. According to the Meteor FSCollection it should be possible if the files have already been stored. Here is their example code : *GM is for ImageMagik, I’ve replaced gm with ffmpeg and installed ffmpeg from atmosphereJS.
Images.find().forEach(function (fileObj) {
var readStream = fileObj.createReadStream('images');
var writeStream = fileObj.createWriteStream('images');
gm(readStream).swirl(180).stream().pipe(writeStream);
});I’m using Meteor-CollectionFS [https://github.com/CollectionFS/Meteor-CollectionFS]-
if (Meteor.isServer) {
Meteor.startup(function () {
Wavs.find().forEach(function (fileObj) {
var readStream = fileObj.createReadStream('.wavs/mp3');
var writeStream = fileObj.createWriteStream('.wavs/mp3');
this.ffmpeg(readStream).audioCodec('libmp3lame').format('mp3').pipe(writeStream);
Wavs.insert(fileObj, function(err) {
console.log(err);
});
});
});
}And here is my FS.Collection and FS.Store information. Currently everything resides in one JS file.
Wavs = new FS.Collection("wavs", {
stores: [new FS.Store.FileSystem("wav"),
new FS.Store.FileSystem("mp3",
{
path: '~/wavs/mp3',
beforeWrite: function(fileObj) {
return {
extension: 'mp3',
fileType: 'audio/mp3'
};
},
transformWrite: function(fileObj, readStream, writeStream) {
ffmpeg(readStream).audioCodec('libmp3lame').format('mp3').pipe(writeStream);
}
})]
});When I try and insert the file into the db on the server side I get this error : MongoError : E11000 duplicate key error index :
Otherwise, If I drop a wav file into the directory and restart the server, nothing happens. I’m new to meteor, please help. Thank you.
-
Gnuplot how to set a variable to standard-input if not passed
27 août 2020, par DDSI have a gnuplot script (plot.script) that is invoked like


C:> ffmpeg -i '.\my_awesome_audio_file.wav' -filter_complex aformat=channel_layouts=mono -acodec pcm_s16le -ar 4000 -f data - | gnuplot -e "fileout='plot';fileformat='png';wid=500;" .\plot.script 



Now I'd want to default filein variable to stdin if it is not passed as argument. This because I want to be able to call this script as a 1-liner command with ffmpeg data generation and also as step-by-step procedure


My idea was to use


if(!exists('filein')){
filein = '-';
}



but this throws
warning: Skipping data file with no valid points


if i print the variable datafile I got
-
(I expected something like stdin).

this is the
plot.script
script :


if(!exists('filein')){
 filein = '-';
 }

if (!exists("hei")){
 hei = 4444;
 }
if (!exists("wid")){
 wid = 5555;
 }
if(!exists("fileformat")){
 fileformat = 'png';
 }
if(!exists("fileout")){
 fileout = 'risultato';
 }
 
fileout = fileout . '.' . fileformat;
 
if(!exists("dataformat")){
 dataformat = '%int16';
 }
if(fileformat eq 'png'){
 set terminal png transparent size larghezza,altezza;
 
 }else{
 set terminal fileformat size wid,hei;
 }
 set output fileout;
 unset key;
 unset tics;
 unset border;
 set lmargin 0;
 set rmargin 0;
 set tmargin 0;
 set bmargin 0;


print filein;
plot filein binary filetype=bin format=dataformat endian=little array=1:0 with lines linecolor "0x009900";



But I also want to call this command-by-command :
generate the data-file :


c:> ffmpeg -i '.\my_awesome_audio_file.wav' -filter_complex aformat=channel_layouts=mono -acodec pcm_s16le -ar 4000 -f data audio.dat



plot the data :


c:> gnuplot -e "filein='audio.dat';fileout='plot';fileformat='png';wid=500;" .\plot.script