
Recherche avancée
Autres articles (111)
-
Problèmes fréquents
10 mars 2010, parPHP et safe_mode activé
Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site -
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 (...) -
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)
Sur d’autres sites (12919)
-
Where to (long time) host Spring Boot Application with Data Base Backup and Linux Root Access [closed]
22 mai 2024, par Lord HelmchenI developed a small application for my father. It uses Spring Boot, MySQL and FFMPEG, which I currently installed on Linux.


I want to host it, deploy it automatically, have a back up and root access for FFMPEG installation.


It runs smoothly locally on Windows / Linux, now I want to host it somewhere.


What I would like to have :


- 

- Ease of deployment : I got experience in adminstration of linux root servers, but I look for something easy to integrate and maybe automatically deploy it from Github or Gitlab
- Backup : I want to backup the database ideally to another service provider in case something goes wrong.
- Linux : One Part of it, amongs others is to convert different audio formats using ffmpeg.
So, (I think) I need linux root access as well.
- Time Horzion : I would like to make sure it still runs in ten+ years, so it should be a reliable provider where I only update the application from time to time if needed.
- Money : As it is only for personal use at this moment, I don't want to invest a fortune.












What provider and deployment pipeline would you recommend to me ?


-
How well does FFmpeg scale ? Any examples ?
17 juin 2020, par PepperI'm currently working on the server side of an augmented reality project. It's a lot like http://www.livingsasquatch.com/. I'm using PHP/MySQL and FFmpeg to capture the webcam video and encoding it to .flv.



Basically Flash uploads the video as a long series of .jpg images. PHP then takes those images, generates a few thumbnails and passes them through FFmpeg which converts them to a single .flv file.



Here is the FFmpeg code :



$ffmpeg_images = $image_directory.'/image%d.jpg';

@unlink($video_directory."/$video_id.flv"); 
$ffmpeg_video = $video_directory."/$video_id.flv";
$ffmpeg_string = FFMPEG_PATH." -f image2 -i $ffmpeg_images -f flv $ffmpeg_video";

@exec($ffmpeg_string);




This seems to be working nicely in my tests, but I don't know how we'll it will scale. Since this is my first time using FFmpeg, I don't know if video encoding this way will bring the server to its knees.



Does anyone have experience with FFmpeg on a high traffic site ?



Is there a better way of handling this type of Webcam to .flv conversion ?



Are there any examples of FFmpeg being used on a high traffic site ?


-
Anomalie #3298 (Nouveau) : Erreur 404 retournée lors de l’accès à l’URL arborescente générée pour ...
16 octobre 2014, par Guillaume FahrnerTout est dans le titre :)
Un auteur dont le nom commence par 0x va avoir une URL arbo générée non valide :
Un auteur dont le nom est 0xA47 va créer cette entrée dans la table spip_urls :
mysql> select * from spip_urls where date=’0000-00-00 00:00:00’ and type=’auteur’ ; +-------+--------+----------+---------------------+-----------+----------+-------+
url type id_objet date id_parent segments perma +-------+--------+----------+---------------------+-----------+----------+-------+
0xA47 auteur 15838 0000-00-00 00:00:00 0 1 0 +-------+--------+----------+---------------------+-----------+----------+-------+
1 row in set (0.02 sec)La valeur de la date pose problème je pense (0000-00-00 00:00:00).
L’URL généré par /ecrire/ ?exec=auteur&action=redirect&type=auteur&id=15838&var_mode=preview me redirige sur /0xA47 ?var_mode=preview qui abouti sur une erreur HTTP 404.
De manière assez aléatoire j’ai une seconde URL générée dans la table spip_urls de la forme : 0xA47-[identifiant] qui elle est valide (elle n’a pas le champ date à 0).