
Recherche avancée
Autres articles (29)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
Sur d’autres sites (6281)
-
Echoprint-codegen perpetual "error" :"could not decode" from shell_exec
16 janvier 2016, par sid405I am trying to run codegen from popen (shell_exec creates the same scenario) in php in my Mac lion MAMP box as follows :
$handle = popen('echoprint-codegen "/Applications/MAMP/htdocs/projectx/codegen/2.mp3" 10 30', 'r')
echo "'$handle'; " . gettype($handle) . "\n";
$read = fread($handle, 2096);
echo $read;
pclose($handle);But i am perpetually met with
"error":"could not decode", "tag":0, "metadata":{"filename":"/Applications/MAMP/htdocs/projectx/codegen/2.mp3"}}
No matter how i format the cmd inside the handle, with various variations of single and dbl quotes i still get the same thing.
codegen is in the path and so is ffmpeg.
Here’s the kicker. Codegen works fine from command line and so does the php script with the popen() or the shell_exec().
From browser it won’t work.
Any ideas ?
Thank you in advance
-
Revision e4ef850823 : Merge "Fix variance (signed integer) overflow"
23 février 2013, par James ZernMerge "Fix variance (signed integer) overflow"
-
lavu/parseutils : remove spurious "]]" in date format specification
22 février 2013, par Stefano Sabatinilavu/parseutils : remove spurious "]]" in date format specification