Recherche avancée

Médias (91)

Autres articles (80)

  • Librairies et logiciels spécifiques aux médias

    10 décembre 2010, par

    Pour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
    Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    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 (2266)

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

  • Getting ffmpeg to work with Heroku

    18 juillet 2020, par scientiffic

    I attempted to install ffmpeg for my Heroku Rails app and now my app is crashing.

    &#xA;&#xA;

    I added a buildpack using the following command :

    &#xA;&#xA;

    heroku config:add BUILDPACK_URL=https://github.com/shunjikonishi/heroku-buildpack-ffmpeg&#xA;

    &#xA;&#xA;

    After pushing to Heroku, I get the following error according to my logs :

    &#xA;&#xA;

    2013-11-17T17:50:44.022351&#x2B;00:00 heroku[web.1]: Starting process with command `bundle exec rails server -p 47171`&#xA;2013-11-17T17:50:46.295602&#x2B;00:00 app[web.1]: bash: bundle: command not found&#xA;2013-11-17T17:50:47.589491&#x2B;00:00 heroku[web.1]: Process exited with status 127&#xA;2013-11-17T17:50:47.597968&#x2B;00:00 heroku[web.1]: State changed from starting to crashed&#xA;2013-11-17T17:50:48.620853&#x2B;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=&#xA;2013-11-17T17:50:48.847288&#x2B;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=&#xA;

    &#xA;&#xA;

    When I run heroku run rake db:migrate, I get the error :

    &#xA;&#xA;

    Running `rake db:migrate` attached to terminal... up, run.9791&#xA;(in /app)&#xA;rake aborted!&#xA;no such file to load -- bundler/setup&#xA;rubygems/custom_require>:29:in `require&#x27;&#xA;rubygems/custom_require>:29:in `require&#x27;&#xA;/app/config/boot.rb:6:in `<top>&#x27;&#xA;rubygems/custom_require>:29:in `require&#x27;&#xA;rubygems/custom_require>:29:in `require&#x27;&#xA;/app/config/application.rb:1:in `<top>&#x27;&#xA;rubygems/custom_require>:29:in `require&#x27;&#xA;rubygems/custom_require>:29:in `require&#x27;&#xA;/app/Rakefile:5:in `<top>&#x27;&#xA;/usr/local/lib/ruby/1.9.1/rake.rb:2373:in `load&#x27;&#xA;/usr/local/lib/ruby/1.9.1/rake.rb:2373:in `raw_load_rakefile&#x27;&#xA;/usr/local/lib/ruby/1.9.1/rake.rb:2007:in `block in load_rakefile&#x27;&#xA;/usr/local/lib/ruby/1.9.1/rake.rb:2058:in `standard_exception_handling&#x27;&#xA;/usr/local/lib/ruby/1.9.1/rake.rb:2006:in `load_rakefile&#x27;&#xA;/usr/local/lib/ruby/1.9.1/rake.rb:1991:in `run&#x27;&#xA;/usr/local/bin/rake:31:in `<main>&#x27;&#xA;</main></top></top></top>

    &#xA;&#xA;

    When I check the version of bundler I'm using (bundle show bundler), I get :

    &#xA;&#xA;

    /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&#xA;/Users/(...)/.rvm/gems/ruby-1.9.3-p448/gems/bundler-1.3.5&#xA;

    &#xA;&#xA;

    How can I solve this problem ?

    &#xA;

  • ffmpeg connection reset by peer

    8 mars 2015, par Quentin Spottiswoode

    I have a problem when using ffmpeg :

    quite often my clients will have slightly dodgy internet connections but they subscribe to a service which is designed to record a stream that they are hosting, and record it for hosting on something like a wordpress site.

    ffmpeg is called by a python script. I would like, ideally, to know if ffmpeg will throw an exception or return a value that can be accessed by the python script and used as a variable to determine if there was a problem recording the audio.

    at the moment python calls ffmpeg using :

    os.system('ffmpeg -i [stream address] -t 1:00 -acodec copy ')

    when I simulate a connection loss (turning off the NIC on the virtual machine) ffmpeg prints to the terminal

    Connection reset by peer