
Recherche avancée
Autres articles (27)
-
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...) -
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 (...) -
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 (4882)
-
Revision 313c28f8b8 : Remove unnecessary speed feature checking This commit removes the pred_mv_sad c
12 mars 2015, par Jingning HanChanged Paths :
Modify /vp9/encoder/vp9_pickmode.c
Remove unnecessary speed feature checkingThis commit removes the pred_mv_sad comparison from rtc motion
search, given that a stronger comparison has been done at the
mode search level to eliminate unlikely selected reference frames.Change-Id : I49b8d24b2174303066fd8eff2102c0648f2869df
-
Revision 90ea10ec91 : Merge "Remove unnecessary speed feature checking"
12 mars 2015, par Jingning HanMerge "Remove unnecessary speed feature checking"
-
Code forks fine on macbook laptop..but on Imac(Yosemite) I get errors in my shell script
2 mars 2015, par arantxI’m still figuring out how to work within the terminal, mainly with FFmpeg at the moment. I have this code running for a while now on my macbook pro (snow leopard I think). It works fine, no glitches whatsover. I just got an Imac (yosemite) and I wanted to install the same code, but now it gives these minor stupid syntax errors - that are not at fault on my laptop ! Its seems bizar to me, but maybe it’s something I forgot to install .. like a certain library ? I’ve tried to use the same steps as before but ofcourse I might have forgotten about one..
The code will make a clip of 5 seconds on every hour via the embedded webcam, (the hourly notice is being programmed within crontab). This is the shell script :
#!/bin/bash
FNAME=videocapture_`date +"%F_%H_%M"`.mpg
echo $FNAME
/usr/local/bin/ffmpeg -t 5 -f avfoundation -i "default" $FNAME
And these are the erros (I tried to change a few small syntaxes to see if it would stop but it just finds new errors)
"SyntaxError: EOL while scanning string literal
Arantxas-iMac:~ arantx$ python /Users/arantx/Documents/terminal\ stuff/camera.sh
File "/Users/arantx/Documents/terminal stuff/camera.sh", line 3
FNAME=videocapture_'date +"%F_%H_%M"`.mpeg
^
SyntaxError: EOL while scanning string literal
Arantxas-iMac:~ arantx$ python /Users/arantx/Documents/terminal\ stuff/camera.sh
File "/Users/arantx/Documents/terminal stuff/camera.sh", line 3
FNAME=videocapture_'date +"%F_%H_%M"`.mpeg
^
SyntaxError: EOL while scanning string literal
Arantxas-iMac:~ arantx$ python /Users/arantx/Documents/terminal\ stuff/camera.sh
File "/Users/arantx/Documents/terminal stuff/camera.sh", line 3
FNAME=videocapture_'date +"%F_%H_%M"`.mp4"
If someone can point something out that I might have missed, let me know !
Kind regards,
Arantxa