
Recherche avancée
Autres articles (24)
-
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
Configuration spécifique d’Apache
4 février 2011, parModules spécifiques
Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
Création d’un (...) -
Installation en mode ferme
4 février 2011, parLe mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
C’est la méthode que nous utilisons sur cette même plateforme.
L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)
Sur d’autres sites (4025)
-
How To Install FFMPEG on Elastic Beanstalk
26 mars 2020, par Nick LynchThis is not a duplicate, I have found one thread, and it is outdated and does not work :
Install ffmpeg on elastic beanstalk using ebextensions config.I have been trying to install this for some time, nothing seems to work.
Please share the config.yml that will make this work.I am using 64bit Amazon Linux 2016.03 v2.1.6 running PHP 7.0 on Elastic Beanstalk
My current file is
branch-defaults:
default:
environment: Default-Environment
master:
environment: Default-Environment
global:
application_name: "My First Elastic Beanstalk Application"
default_ec2_keyname: ~
default_platform: "64bit Amazon Linux 2016.03 v2.1.6 running PHP 7.0"
default_region: us-east-1
profile: eb-cli
sc: git
packages: ~
yum:
ImageMagick: []
ImageMagick-devel: []
commands:
01-wget:
command: "wget -O /tmp/ffmpeg.tar.gz http://ffmpeg.gusari.org/static/64bit/ffmpeg.static.64bit.2014-03-05.tar.gz"
02-mkdir:
command: "if [ ! -d /opt/ffmpeg ] ; then mkdir -p /opt/ffmpeg; fi"
03-tar:
command: "tar -xzf ffmpeg.tar.gz -C /opt/ffmpeg"
cwd: /tmp
04-ln:
command: "if [[ ! -f /usr/bin/ffmpeg ]] ; then ln -s /opt/ffmpeg/ffmpeg /usr/bin/ffmpeg; fi"
05-ln:
command: "if [[ ! -f /usr/bin/ffprobe ]] ; then ln -s /opt/ffmpeg/ffprobe /usr/bin/ffprobe; fi"
06-pecl:
command: "if [ `pecl list | grep imagick` ] ; then pecl install -f imagick; fi" -
RTMP_ReadPacket, failed to read RTMP packet header
14 juin 2018, par Dilivio CatI am trying to livestream a 24/7 looping stream from my Ubuntu server to youtube.
I have a gif that is looping and my music gets shuffled from a music list.
for i in ./*.mp3 ; do echo "file '$i'" ; done | shuf >mp3list.txt ffmpeg -f
concat -i mp3list.txt -fflags +genpts -ignore_loop 0 -i giffilename.gif -f
flv rtmp://a.rtmp.youtube.com/live2/(mykeyhere)But I am getting this error when I run my script :
RTMP_ReadPacket, failed to read RTMP packet header : Unknown error
occutredm/live2/(mykeyhere)I did some research, but couldn’t find anything about this specific error. I opened port 1935 and it did not change anything.
The OS is Ubuntu 16.04 on a VPS.
Thanks for your help,Dilie
-
How to cut and concatenate the file so it is not off-beat when the file I got the bpm from is being muxed ?
27 janvier 2017, par P. DeeI am cutting files with ffmpeg based on the bpm I found in a music file. So let’s assume, the file’s bpm = 120. That means, there are 2 bps and 1 beat every 500ms.
So I cut a video file with multiples of 500ms length, ie 500ms, 1500ms, 3000ms etc. length. But cutting it using
ffmpeg -ss start -i fileorig.mp4 -t duration part_number.mp4
and finally creating a
mylist.txt
withfile 'part_1.mp4'
file 'part_2.mp4'
...and adding them via
ffmpeg -f concat -i mylist.txt -c copy output.mp4
and replacing the audio track with the music file, makes the video be off-beat after some time.
How to cut and concatenate the file so it is not off-beat when the file I got the bpm from is being muxed ?