
Recherche avancée
Médias (1)
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
Autres articles (111)
-
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...) -
Que fait exactement ce script ?
18 janvier 2011, parCe script est écrit en bash. Il est donc facilement utilisable sur n’importe quel serveur.
Il n’est compatible qu’avec une liste de distributions précises (voir Liste des distributions compatibles).
Installation de dépendances de MediaSPIP
Son rôle principal est d’installer l’ensemble des dépendances logicielles nécessaires coté serveur à savoir :
Les outils de base pour pouvoir installer le reste des dépendances Les outils de développements : build-essential (via APT depuis les dépôts officiels) ; (...) -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...)
Sur d’autres sites (10104)
-
Getting ffmpeg to work with Heroku
18 juillet 2020, 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.5




How can I solve this problem ?


-
ffmpeg connection reset by peer
8 mars 2015, par Quentin SpottiswoodeI 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
-
Send automatic keypress in Command Prompt
28 mars 2018, par DennisI have a .bat file which I want to run on a specific date and time using Task Scheduler in Windows while I’m away from my computer. It will open a Windows server and record it using FFmpeg, a command-line based desktop recording tool but I want it to press ’q’ after xx seconds. Here’s what I have so far.
@echo off
:: Bot runner or server
start "GLPDVWAPP098" "c:\Program Files\uvnc bvba\UltraVNC\vncviewer.exe" GLPDVWAPP098 /quickoption 3 /keepalive 300 -disableclipboard -nostatus -shared -autoreconnect 0
timeout /t 3
:: Execute desktop recording
ffmpeg -f gdigrab -framerate 50 -i title="glpdvwapp098 ( 10.236.80.246 ) - service mode " Test1.avi
pauseWhen FFmpeg is executed, it won’t stop recording until ’q’ is pressed but I want to avoid it from recording too long until I’m on the computer.