
Recherche avancée
Médias (1)
-
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
Autres articles (68)
-
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...) -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
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 (...)
Sur d’autres sites (6791)
-
Skipping incompatible libmp3lame.a while searching mp3lame (FFMPEG)
19 octobre 2014, par trololoI want to compile ffmpeg with libmp3lame for my Android app. I’m using Virtual Machine with OS Debian.
While compiling I recieve with message in Console.log file :skipping incompatible /home/sla/ffmpeg_build/lib/libmp3lame.a while searching mp3lame
...That’s why compilations doesn’t work properly.
I’ve installed lame for debian using this code install.sh :
(https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu)sudo apt-get install libmp3lame-dev
mkdir /home/sla/ffmpeg_build
mkdir /home/sla/ffmpeg_sources
sudo apt-get install nasm
cd /home/sla/ffmpeg_sources
wget http://downloads.sourceforge.net/project/lame/lame/3.99/lame-3.99.5.tar.gz
tar xzvf lame-3.99.5.tar.gz
cd lame-3.99.5
./configure --prefix="/home/sla/ffmpeg_build" --enable-nasm --disable-shared
make
make install
make distcleanBut it doesn’t work (lame compiles but ffmpeg - doesn’t).
ffmpeg compiler says something strange.For ffmpeg I wrote flags :
--export-cflags
-I/home/sla/ffmpeg_build/include
--export-ldflags
-L/home/sla/ffmpeg_build/libHow to fix it ?
-
Anomalie #3688 (Nouveau) : Différence de traitement du IN selon qu’un critère est facultatif ou pas
9 février 2016, par tcharlss (*´_ゝ`)Description :¶
Il semble y avoir une différence de traitement selon qu’un critère est facultatif ou pas, quand dans l’environnement, la valeur correspondant au critère est un array. Dans un cas, ça fait bien un
WHERE machin IN (x,y,z)
, dans l’autre, ça fait unWHERE machin = truc bizarre
.Pour reproduire :¶
Soit un squelette qui en inclus un autre :
Squelette inclus :
#ID_AUTEUR
Au niveau de ce dernier,
#ENV{id_auteur}
est un tableau qui contient des strings, au lieu de int :array (size=10) 0 => string ’1’ (length=1) 1 => string ’2’ (length=1) etc.
Avec le critere facultatif
{id_auteur ?}
, la boucle passe, on a bien un IN dans le WHERE :auteurs.id_auteur IN (1,2,3,4,5,6,7,8,9,10)
En revanche avec le critere id_auteur, ça ne fonctionne pas :
auteurs.id_auteur = (2 1 (3) : 4)
-
node.js live streaming ffmpeg stdout to res
24 mai 2014, par blasteyeI want node.js to convert an extremly long audio file to mp3, and the second data is available on stdout, node.js should send it to the client for them to play.
I’ve written the following, and while it works, the html5 audio/video tag waits until ffmpeg is 100% done transcoding, where-as I want to start playing the video while ffmpeg is doing its thing.
var ffmpeg = childProcess.spawn('ffmpeg', [
'-i', params.location, //location of the specified media file
'-f', 'mp3',
'pipe:1'
]);
res.writeHead(200, {
'Content-Type': 'audio/mp3'
});
ffmpeg.stdout.pipe(res);EDIT 1 : Not sure why, but if params.location points to a movie everything seems to work. But if its an audio file, ffmpeg doesn’t seem to be outputting to stdout until its 100% converted.
EDIT 2 : Turns out that you can’t dump an mp4 file to stdout due to the fact that mp4 files are non Causal (http://en.wikipedia.org/wiki/Causal_system). THerefore if you use webm it works. Just make sure to compile ffmpeg with webm support (for homebrew users : brew install ffmpeg —with-vpx —with-vorbis ).
I’ve uploaded a github gist showing two functions to send live mp3/webm transcodes : https://gist.github.com/cobookman/c1a9856a4588496b021a