Recherche avancée

Médias (91)

Autres articles (91)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-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, par

    Le 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, par

    Explications 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 scientiffic

    I 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.5

    How can I solve this problem ?

  • FFmpeg error Unable to load FFMpeg during parallel encoding

    1er janvier 2021, par DrJohn

    I'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.&#xA;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.&#xA;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.&#xA;So I think that ffmpeg can work only with only one file at the time and I can't build multi-user service.&#xA;Please help me to find solution.

    &#xA;

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

    &#xA;

        try {&#xA;                            $pub_path = Storage::disk(&#x27;public&#x27;)->getAdapter()->getPathPrefix();&#xA;                            $videopath =$pub_path . $myusertheme->public_reference.&#x27;/&#x27;.$this->random_filename(25,&#x27;&#x27;,&#x27;mp4&#x27;);&#xA;                            //echo (Storage::disk(&#x27;public&#x27;)->getAdapter()->getPathPrefix().&#x27;<br />&#x27;);&#xA;                            echo ($videopath);&#xA;                            $ffmpeg = \FFMpeg\FFMpeg::create([&#xA;                                &#x27;ffmpeg.binaries&#x27;  => "./usr/bin/ffmpeg",&#xA;                                &#x27;ffprobe.binaries&#x27; => "./usr/bin/ffprobe",&#xA;                                &#x27;timeout&#x27;          => 3600, // The timeout for the underlying process&#xA;                                &#x27;ffmpeg.threads&#x27;   => 12,   // The number of threads that FFMpeg should use&#xA;                                &#x27;set_command_and_error_output_on_exception&#x27; => true,&#xA;                            ]);&#xA;                            $vid=$ffmpeg->open($request->file(&#x27;videofile&#x27;)->getRealPath());&#xA;                            $vid->save(new \FFMpeg\Format\Video\X264(&#x27;libmp3lame&#x27;, &#x27;libx264&#x27;), $videopath);&#xA;&#xA;/*&#xA;                            $videopath = $myusertheme->public_reference.&#x27;/&#x27;.$this->random_filename(25,&#x27;&#x27;,&#x27;mp4&#x27;);&#xA;                            //FFMpeg::fromDisk(&#x27;local_root&#x27;)&#xA;                            $ffmpeg&#xA;                            ->open($request->file(&#x27;videofile&#x27;)->getRealPath())&#xA;                            ->export()&#xA;                            ->onProgress(function ($percentage) {&#xA;                                    //echo ($percentage.&#x27;/n&#x27;);&#xA;                                    if ($percentage===100)&#xA;                                    {&#xA;&#xA;                                        $videopath = $this->random_filename(25,&#x27;&#x27;,&#x27;mp4&#x27;);&#xA;                                    }})&#xA;                            ->inFormat(new \FFMpeg\Format\Video\X264(&#x27;libmp3lame&#x27;, &#x27;libx264&#x27;))&#xA;                            ->toDisk(&#x27;public&#x27;)&#xA;                            ->save($videopath);&#xA;&#xA;*/&#xA;&#xA;                        } catch (EncodingException $exception) {&#xA;                            $videopath = null;&#xA;                            $command = $exception->getCommand();&#xA;                            $errorLog = $exception->getErrorOutput();&#xA;                            echo $errorLog;&#xA;                            return \Response::json(&#x27;Ошибка кодировки файла&#x27;, 500);&#xA;&#xA;                        }&#xA;

    &#xA;

  • 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.