
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 (91)
-
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 -
MediaSPIP Player : problèmes potentiels
22 février 2011, parLe lecteur ne fonctionne pas sur Internet Explorer
Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...) -
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)
Sur d’autres sites (11932)
-
Getting ffmpeg to work with Heroku
23 octobre 2016, par scientifficI attempted to install ffmpeg for my Heroku Rails app and now my app is crashing.
I added a buildpack using the following command :
heroku config:add BUILDPACK_URL=https://github.com/shunjikonishi/heroku-buildpack-ffmpeg
After pushing to Heroku, I get the following error according to my logs :
2013-11-17T17:50:44.022351+00:00 heroku[web.1]: Starting process with command `bundle exec rails server -p 47171`
2013-11-17T17:50:46.295602+00:00 app[web.1]: bash: bundle: command not found
2013-11-17T17:50:47.589491+00:00 heroku[web.1]: Process exited with status 127
2013-11-17T17:50:47.597968+00:00 heroku[web.1]: State changed from starting to crashed
2013-11-17T17:50:48.620853+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ (...) fwd="76.118.180.235" dyno= connect= service= status=503 bytes=
2013-11-17T17:50:48.847288+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=(...) fwd="76.118.180.235" dyno= connect= service= status=503 bytes=When I run heroku run rake db:migrate, I get the error :
Running `rake db:migrate` attached to terminal... up, run.9791
(in /app)
rake aborted!
no such file to load -- bundler/setup
rubygems/custom_require>:29:in `require'
rubygems/custom_require>:29:in `require'
/app/config/boot.rb:6:in `<top>'
rubygems/custom_require>:29:in `require'
rubygems/custom_require>:29:in `require'
/app/config/application.rb:1:in `<top>'
rubygems/custom_require>:29:in `require'
rubygems/custom_require>:29:in `require'
/app/Rakefile:5:in `<top>'
/usr/local/lib/ruby/1.9.1/rake.rb:2373:in `load'
/usr/local/lib/ruby/1.9.1/rake.rb:2373:in `raw_load_rakefile'
/usr/local/lib/ruby/1.9.1/rake.rb:2007:in `block in load_rakefile'
/usr/local/lib/ruby/1.9.1/rake.rb:2058:in `standard_exception_handling'
/usr/local/lib/ruby/1.9.1/rake.rb:2006:in `load_rakefile'
/usr/local/lib/ruby/1.9.1/rake.rb:1991:in `run'
/usr/local/bin/rake:31:in `<main>'
</main></top></top></top>When I check the version of bundler I’m using (bundle show bundler), I get :
/Users/(...).rvm/gems/ruby-1.9.3-p448/gems/bundler-1.3.5/lib/bundler.rb:284: warning: Insecure world writable dir /usr/local in PATH, mode 040777
/Users/(...)/.rvm/gems/ruby-1.9.3-p448/gems/bundler-1.3.5How can I solve this problem ?
-
FFmpeg error Unable to load FFMpeg during parallel encoding
1er janvier 2021, par DrJohnI'd like to build web service on the Laravel platform which allows users upload some videos on a server. During uploading video files I use ffmpeg to encode them and compress.
I can't install ffmpeg on my hosting and so I have downloaded packages and executable files from https://ffmpeg.org/download.html and locate them on my web directory. Then I make all steps to install ffmpeg in my Laravel project.
I try to upload a video file and it's OK. The time to upload and encode is about 20 seconds. During encoding of the first video file I try to upload the second. And the second video file falls with the error "Unable to load FFMpeg". But the first video file is encoded successfully. When the first encoding is completed and I repeat uploading the second file it encoded successfully as well.
So I think that ffmpeg can work only with only one file at the time and I can't build multi-user service.
Please help me to find solution.


Here is a peace of code which use to encode files :


try {
 $pub_path = Storage::disk('public')->getAdapter()->getPathPrefix();
 $videopath =$pub_path . $myusertheme->public_reference.'/'.$this->random_filename(25,'','mp4');
 //echo (Storage::disk('public')->getAdapter()->getPathPrefix().'<br />');
 echo ($videopath);
 $ffmpeg = \FFMpeg\FFMpeg::create([
 'ffmpeg.binaries' => "./usr/bin/ffmpeg",
 'ffprobe.binaries' => "./usr/bin/ffprobe",
 'timeout' => 3600, // The timeout for the underlying process
 'ffmpeg.threads' => 12, // The number of threads that FFMpeg should use
 'set_command_and_error_output_on_exception' => true,
 ]);
 $vid=$ffmpeg->open($request->file('videofile')->getRealPath());
 $vid->save(new \FFMpeg\Format\Video\X264('libmp3lame', 'libx264'), $videopath);

/*
 $videopath = $myusertheme->public_reference.'/'.$this->random_filename(25,'','mp4');
 //FFMpeg::fromDisk('local_root')
 $ffmpeg
 ->open($request->file('videofile')->getRealPath())
 ->export()
 ->onProgress(function ($percentage) {
 //echo ($percentage.'/n');
 if ($percentage===100)
 {

 $videopath = $this->random_filename(25,'','mp4');
 }})
 ->inFormat(new \FFMpeg\Format\Video\X264('libmp3lame', 'libx264'))
 ->toDisk('public')
 ->save($videopath);

*/

 } catch (EncodingException $exception) {
 $videopath = null;
 $command = $exception->getCommand();
 $errorLog = $exception->getErrorOutput();
 echo $errorLog;
 return \Response::json('Ошибка кодировки файла', 500);

 }



-
Evolution #3802 (Nouveau) : Rendre obsolète le filtre
3 juillet 2016, par jluc -La doc http://www.spip.net/fr_article1823.html préconise (#LOGO_DOCUMENT comme manière d"afficher une vignette cliquable pointant vers le document multimédia".
Cette forme d’écriture est dérogatoire : une balise appelée comme filtre. Ne faudrait il déclarer cette écriture obsolète dans SPIP 3.2 puis la virer dans SPIP 3.5 ? Quitte à fournir quelquechose de grammaticalement plus banal pour fournir le même service.
Outre l’apprentissage de spip, ça simplifiera surement le parseur.