Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (64)

  • Qu’est ce qu’un éditorial

    21 juin 2013, par

    Ecrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
    Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
    Vous pouvez personnaliser le formulaire de création d’un éditorial.
    Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

Sur d’autres sites (6271)

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

    



    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&#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;

  • 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 extract frame-accurate video fragments with minimal transcoding

    9 mars 2018, par Leeroy

    How can I extract frame-accurate video or audio fragments using FFMPEG without transcoding the full portion ?

    ffmpeg -i input.mp4 -ss 00:00:01.234 -to 00:00:05.678 output.mp4 works because it re-encodes... If I use -codec: copy then it disregards the precision of my start and end time arguments and instead uses the closest keyframe (I understand).

    Is there a command or combination of commands to instruct FFMPEG to transcode only what’s needed, the bits near the start/end markers, up to keyframes ?

    EDIT : A bit of context... I’m trying to write this function to process video piped from youtube-dl, perhaps even as a service. So it matters that I minimize bandwidth (downloading to timestamp and discarding after) and CPU utilization (re-encoding all of the fragment).