
Recherche avancée
Autres articles (65)
-
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)
Sur d’autres sites (5057)
-
How to transmit videos directly from the website to RTMP server instead of using OBS ? [closed]
28 décembre 2024, par Cường Lê SỹI had a server to receive a specific RTMP video like RTMP : //domain.com/show and use OBS to record videos, what I have to do to be able to record videos on my own website and transmit it. . Access RTMP server instead of using OBS or any code can do that, thank you


I hope to be able to record videos directly on my website and play it back at the viewer page, like a livestream.


-
Tunnel Streaming through server
28 octobre 2017, par Sarathvichet HengI want to be able to stream a hls IPTV streaming but the origin server has country restriction. I also have a VPS server of that country so I want to stream through that VPS.
For example : a request to server http://vps.com/tv.php?ch=2 and then stream
But the source behind it is the origin which is http://origin.com/tv/ch2.m3u8?token...............
I was able to bypass token and fetch the streaming url using php but don’t know how can I mask http://origin.com/tv/ch2.m3u8...... behind http://vps.com/tv.php..........
. I don’t want to use FFMPEG because it’ll get
data and rebroadcast a new stream and consume high vps resource.
and If I capture packet using Wireshark while playing this http://vps.com/tv.php?ch=2 I’ll see http://origin.com/tv/ch2.m3u8?token......... behind it. -
ffmpeg crashing server working with fpm-php
1er janvier 2023, par JohnI'm running a wordpress bitnami stack consisting of apache, mariadb and fpm-php.
I have cron jobs fulfilling encoding of one video at a time using ffmpeg, so while fpm-php is serving http requests ffmpeg works in parallel encoding videos.
When encoding starts everything seems to work fine, as shown here :


But eventually after around an hour the server crashes due to lack of memory space. I've read that when CPU can't handle ffmpeg, ffmpeg will start consuming RAM until it exhausts it so that might be what causes the sudden spike in memory usage.


The image bellow illustrates what happens when the server crashes, kswapd0 creates virtual memory out of disk space to cope with lack of memory :



The server has 4vCPU and 8GB RAM. Website traffic is just me and a colleague, so it should be able to handle ffmpeg taking up around 1vCPU to encode videos.


I use the following configuration for fpm-php :


pm=ondemand
pm.max_children=5
pm.start_servers=2
pm.min_spare_servers=1
pm.max_spare_servers=3
pm.max_requests = 500



Has anyone had this issue before ?


Thank you.


I've tried changing around the configuration of fpm-php, but the issue still happens. I don't see how ffpmeg can crash the server when it's taking up about 25% of the CPU only, when there's no traffic to the server.