
Recherche avancée
Médias (1)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
Autres articles (24)
-
MediaSPIP Core : La Configuration
9 novembre 2010, parMediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...) -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
Use, discuss, criticize
13 avril 2011, parTalk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
A discussion list is available for all exchanges between users.
Sur d’autres sites (3504)
-
How to enable libx264 for FFmpeg on Elastic Beanstalk
2 août 2021, par user15575918My question is very similar to that of this person, but the suggested answer did not work for me.


Using the following
ffmpeg.config
file in.ebextensions
I am able to install ffmpeg, but without the libx264 codec.

packages:
 yum:
 autoconf: []
 automake: []
 cmake: []
 freetype-devel: []
 gcc: []
 gcc-c++: []
 git: []
 libtool: []
 make: []
 nasm: []
 pkgconfig: []
 zlib-devel: []
sources:
 /usr/local/src: http://ffmpeg.org/releases/ffmpeg-4.4.tar.bz2
commands:
 ffmpeg_install:
 cwd: /usr/local/src/ffmpeg-4.4
 command: sudo ./configure --prefix="/usr" --enable-gpl && make && make install



And so, to install libx264, I have tried replacing the lines after
commands:
with :

01-install_libx264:
 cwd: /usr/local/src/
 command: git clone https://code.videolan.org/videolan/x264.git && cd x264 && ./configure --prefix="$HOME/ffmpeg_build" --bindir="$HOME/bin" && make && make install
 02-ffmpeg_install:
 cwd: /usr/local/src/ffmpeg-4.4
 command: sudo ./configure --prefix="/usr" --enable-gpl --enable-libx264 && make && make install



It didn't work, so I tried :


01-install_libx264:
 cwd: /usr/local/src/
 command: curl -L -O https://code.videolan.org/videolan/x264/-/archive/master/x264-master.tar.bz2 && tar xjvf x264-master.tar.bz2 && cd x264-master && ./configure --bindir="$HOME/bin" --disable-shared --enable-nasm && make && make install
 02-ffmpeg_install:
 cwd: /usr/local/src/ffmpeg-4.4
 command: sudo ./configure --prefix="/usr" --enable-gpl --enable-libx264 && make && make install



Neither have worked. Any ideas what I'm doing wrong here ?
Deployment fails, log says "Unsuccessful command execution on instance", but no further detail. Is there any way to debug the command execution better ?


-
How can combine two separate scripts being piped together to make one script instead of two ?
27 mars 2016, par user556068For the past couple hours I’ve been banging my head against the wall trying to figure out something I thought would be simple. Maybe it is but it’s beyond me at the moment. So I have now two scripts. Originallly they were part of the same but I could never make it work how it should. So the first part uses
curl
to download a file from a site. Then usinggrep
andsed
to filter out the text I need which is then put into a plain text file as a long list of website urls ; one per line. The last part of the 1st script calls onyoutube -dl
to read the batch file in order to obtain the web addresses where the actual content is located. I hope that makes sense.youtube-dl
reads the batch file and outputs a new list urls into the terminal. This second list is not saved to file because it doesn’t need to be. These urls change from day to day or hour to hour. Using theread
command, these urls are then passed to ffmpeg using a predetermined set of arguments for the input and output. Ffmpeg is executed on every url it receives and runs quietly in the background.The first paragraph describes
script1.sh
and paragraph 2 obviously describesscript2.sh
. When I pipe them together likescript1.sh | script2.sh
it works better than I ever thought possible. Maybe i’m nitpicking at this point but the idea is to have 1 unified script. For the moment I have simplified it by adding an alias to my.bash_profile
.Here are the last two commands of script1.
sed 's/\"\,/\//g' > "$HOME/file2.txt";
cat $HOME/file2.txt | youtube-dl --ignore-config -iga -The trailing
-
allows youtube-dl to read from stdin.The second part of the script ; what I’m calling script2 at this point begins with
while read -r input
do
ffmpeg [arg] [input] [arg2] [output]What am i not seeing that is causing the script to hang when the two halves are combined yet work perfectly if one is piped into the other ?
-
Evolution #4493 (Nouveau) : Ajouter des robots à l’écran de sécurité
17 mai 2020Bonjour,
J’ai quelques sites qui ont des nombres de visites bizarres (trop grand, d’un facteur 10 à 30 certains jours).
J’ai fait un patch : https://git.spip.net/RealET/spip/commit/ce2ce832b697ab0754a78e0fc8b298ae1e9c992b
Mais je ne sais pas comment en faire un PR.Pour info, voici un extrait d’awstats pour le serveur concerné :
Pour info :
MJ12bot 2 241 164+29470 32.60 Go 17 Mai 2020 - 11:50
AhrefsBot 1 388 315+9242 28.07 Go 17 Mai 2020 - 11:50
SemrushBot 1 251 075+74309 23.91 Go 17 Mai 2020 - 11:50
bingbot 619 488+28872 22.38 Go 17 Mai 2020 - 11:50
DotBot 394 445+7038 22.52 Go 17 Mai 2020 - 11:50
Googlebot 297 801+35895 11.64 Go 17 Mai 2020 - 11:50
crawl 243 784+325 4.66 Go 17 Mai 2020 - 11:39
MegaIndex.ru 172 567+51 5.41 Go 17 Mai 2020 - 04:50
BLEXBot 161 178+4405 4.24 Go 17 Mai 2020 - 06:42
Applebot 136 660+2443 3.20 Go 17 Mai 2020 - 11:50
robot 129 533+3017 7.80 Go 17 Mai 2020 - 11:50
empty user agent string 117 782+778 6.55 Go 17 Mai 2020 - 11:49
Firefox version 10 and lower - various robots 106 252+366 1.87 Go 17 Mai 2020 - 11:50
qwantify 83 743+3013 3.61 Go 17 Mai 2020 - 11:50
Unknown robot identified by bot* 53 246+1846 2.25 Go 17 Mai 2020 - 11:37
spip 46 253 554.75 Mo 17 Mai 2020 - 11:50
link 44 510+567 761.38 Mo 17 Mai 2020 - 11:50
Googlebot-Image 36 704 1.24 Go 17 Mai 2020 - 11:48
facebookexternalhit 35 176+1 1.31 Go 17 Mai 2020 - 11:49
MSIE 6 - ( Rogue Robot ) 33 090 1.10 Go 17 Mai 2020 - 11:47
YandexBot 21 272+9245 822.57 Mo 17 Mai 2020 - 11:50
Unknown robot (identified by hit on robots.txt) 0+27213 98.21 Mo 17 Mai 2020 - 11:48
LinkpadBot 17 954 289.02 Mo 17 Mai 2020 - 06:46
infobot 15 038+1887 198.28 Mo 17 Mai 2020 - 04:19
MSIE 5 - ( Rogue Robot ) 16 110+1 980.04 Mo 17 Mai 2020 - 11:18
Sogou web spider 14 514+453 239.14 Mo 17 Mai 2020 - 11:49
ltx71 10 593+3663 378.89 Mo 17 Mai 2020 - 11:50
BingPreview 11 920 1.87 Go 17 Mai 2020 - 11:40
nbot 8 476+1023 230.66 Mo 17 Mai 2020 - 11:42
Apache-HttpClient 7 897+43 99.64 Mo 17 Mai 2020 - 11:01
Curl 7 752 151.93 Mo 17 Mai 2020 - 11:49
CFNetwork 7 313 779.65 Mo 17 Mai 2020 - 11:25
core 7 295+2 174.93 Mo 17 Mai 2020 - 11:35
oBot 7 064+230 338.14 Mo 17 Mai 2020 - 08:06
SeznamBot 3 677+3204 148.02 Mo 16 Mai 2020 - 22:36
twitterbot 4 264+2518 100.64 Mo 17 Mai 2020 - 11:44
panscient 6 298+397 97.66 Mo 17 Mai 2020 - 06:37
A PHP script 6 395 13.36 Mo 17 Mai 2020 - 11:50
archive.org_bot 4 917+385 157.65 Mo 17 Mai 2020 - 11:50
vagabondo 5 022+12 197.93 Mo 17 Mai 2020 - 09:58
Feedfetcher-Google 4 808 137.78 Mo 17 Mai 2020 - 11:41
zend_http_client 4 535 20.98 Mo 17 Mai 2020 - 11:34
ia_archiver 4 411+98 302.37 Mo 17 Mai 2020 - 03:58
feed 4 401 127.40 Mo 17 Mai 2020 - 11:45
dataprovider.com 4 003+167 169.38 Mo 17 Mai 2020 - 10:31
universalfeedparser 4 156 82.26 Mo 17 Mai 2020 - 11:36
Baidu ( catchall ) 3 956 260.02 Mo 17 Mai 2020 - 11:11
coccoc 1 509+2374 33.71 Mo 17 Mai 2020 - 10:37
python 3 607+87 54.82 Mo 17 Mai 2020 - 11:44
Mail.RU Bot 1 969+1492 177.25 Mo 17 Mai 2020 - 11:13