
Recherche avancée
Médias (91)
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Core Media Video
4 avril 2013, par
Mis à jour : Juin 2013
Langue : français
Type : Video
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
Autres articles (112)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
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 (...)
Sur d’autres sites (10539)
-
Why FFmpeg is consuming more and more bandwith when restreaming a YouTube HLS stream ?
3 janvier 2023, par NiHuShuI've been creating a bot in Python which allows to copy one YouTube livestream and stream it to another channel using the HLS protocol.


This is the command I'm using in Python to start the FFmpeg process :


m3u8_url = streamlink.streams(stream_url)['1080p'].url
ffmpeg_process = Popen(
 ["ffmpeg", "-i", m3u8_url, "-c", "copy","-ignore_io_errors", "1", "-f", "hls", "-http_persistent", "1", '-attempt_recovery', '1',
 '-method', 'POST', '-hls_time', '1', '-hls_playlist_type', 'event', '-g', '5', '-reconnect_at_eof', '1',
 'https://a.upload.youtube.com/http_upload_hls?cid=' + stream_key + '&copy=0&file=stream.m3u8'])



I'm using streamlink to extract the 1080p m3u8 playlist of a given livestream and then using
"-c", "copy"
I'm just passing the raw HLS stream back to YouTube servers.

The problem is that at first FFmpeg is using around 1.5 Mbps for both upload and download, but as the stream progresses the used bandwidth per second grows substantially. After 5 hours FFmpeg uses 5 Mbps of upload and about half of that in download, but it just keeps on growing. It's gotten to a point where my VPS was blocked as after a few days it was using > 1500 Mbps of bandwidth (with 10 active streams).


The only thing that comes to my mind is that for some reason with every .ts segment, FFmpeg is trying to send all the previous ones as well. It might be worth mentioning that YouTube Studio is complaining that the incoming stream bandwith is too low and it should be 4.5 Mbps.


I've tried changing the "-method" from PUT to POST, which helped reducing the download bandwidth, but didn't change anything in regards to upload.


-
ffmdec : make sure the time base is valid
8 mars 2015, par Andreas Cadhalpun -
Evolution #3020 (Nouveau) : Désinstaller un plugin, supprime la base aussi
1er juillet 2013, par Fabrice VéronneauJe viens de faire l’amère expérience d’une désinstallation de plugin, qui du coup a vidé complètement la base de données créée par le plugin (un plugin du plugin La Fabrique).
Est-ce qu’un message d’avertissement supplémentaire serait judicieux pour préciser que la désinstallation ne concerne pas que les fichiers du plugin ?Un truc du genre :
Actions demandées :
• Désinstaller le plugin « NOM_DU_PLUGIN » (version : x.x)
Attention :
• Cette action effacera également le contenu de la base de données « NOM_DU_PLUGIN », êtes-vous sûr de confirmer ?avec une couleur d’avertissement, par exemple, si class il y a.