Recherche avancée

Médias (1)

Mot : - Tags -/copyleft

Autres articles (69)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

Sur d’autres sites (6955)

  • 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