
Recherche avancée
Autres articles (50)
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
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 -
Changer son thème graphique
22 février 2011, parLe thème graphique ne touche pas à la disposition à proprement dite des éléments dans la page. Il ne fait que modifier l’apparence des éléments.
Le placement peut être modifié effectivement, mais cette modification n’est que visuelle et non pas au niveau de la représentation sémantique de la page.
Modifier le thème graphique utilisé
Pour modifier le thème graphique utilisé, il est nécessaire que le plugin zen-garden soit activé sur le site.
Il suffit ensuite de se rendre dans l’espace de configuration du (...)
Sur d’autres sites (5770)
-
libxvid : Require availability of mkstemp()
12 février 2015, par Diego Biurrun -
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.


-
ffmpeg tcp error -138 and HTTP error 503 while downloading from https source
15 juin 2022, par PeterMi'm trying to download media (video) files from sharepoint (i have view access), but during the process i get several "Connection to tcp ://xxx.xxxxx.ms:443 failed : Error number -138 occurred" or "HTTP error 503 Service Unavailable" errors






i get more errors with the following parameters :


ffmpeg -i "https://theURLtoTheManifestYouCopiedHere" -codec copy downloadedVideo.mp4



less errors with :


ffmpeg -re -vsync 1 -i "https://theURLtoTheManifestYouCopiedHere" -codec copy downloadedVideo.mp4



the options suggested in this article didn't help : https://medium.com/intrasonics/robust-continuous-audio-recording-c1948895bb49


the output video is ok, but sound seems to be missing occasionally (a few seconds worth)


ffmpeg version 2022-06-12-git-4d45f5acbd-essentials_build-www.gyan.dev


any advice ?