
Recherche avancée
Médias (1)
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (57)
-
Contribute to translation
13 avril 2011You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
MediaSPIP is currently available in French and English (...) -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
Use, discuss, criticize
13 avril 2011, parTalk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
A discussion list is available for all exchanges between users.
Sur d’autres sites (5106)
-
Live stream failed on Youtube
20 septembre 2023, par kuldeep chopraWe are currently running an AWS container that utilizes FFmpeg for live streaming while concurrently saving the stream as an MP4 file. However, we encountered an issue during a recent live stream session that was functioning correctly until approximately 13 minutes in, at which point FFmpeg reported the following error logs :


ffmpeg [flv @ 0x555c4bdfe680] Failed to update header with correct duration.
2023-09-07T23:06:38.490+05:30 [flv @ 0x555c4bdfe680] Failed to update header with correct filesize.
2023-09-07T23:06:38.491+05:30 failed => rtmp://a.rtmp.youtube.com/live2/key......
2023-09-07T23:06:38.491+05:30 ffmpeg [tee @ 0x555c48843700] Slave muxer #1 failed: Broken pipe, continuing with 1/2 slaves.



It's worth noting that we have conducted hundreds of live streams on YouTube without encountering this error before ; this is the first occurrence of such an issue.


We would greatly appreciate it if you could investigate and provide insights into the underlying problem causing these error messages.


-
How to generate valid live DASH for YouTube ?
24 septembre 2019, par Matt HensleyI am attempting to implement YouTube live video ingestion via DASH as documented at :
https://developers.google.com/youtube/v3/live/guides/encoding-with-dashTo start, I am exercising the YouTube API manually and running ffmpeg to verify required video parameters before implementing in my app.
Created a new livestream with
liveStreams.insert
and these values for thecdn
field :"cdn": {
"frameRate": "variable",
"ingestionType": "dash",
"resolution": "variable"
}Created a broadcast via
liveBroadcasts.insert
, then usedliveBroadcasts.bind
to bind the stream to the broadcast.Then I grabbed the
ingestionInfo
from the stream and ran this ffmpeg command, copying in theingestionAddress
with thestreamName
:ffmpeg -stream_loop -1 -re -i mov_bbb.mp4 \
-loglevel warning \
-r 30 \
-g 60 \
-keyint_min 60 \
-force_key_frames "expr:eq(mod(n,60),0)" \
-quality realtime \
-map v:0 \
-c:v libx264 \
-b:v:0 800k \
-map a:0 \
-c:a aac \
-b:a 128k \
-strict -2 \
-f dash \
-streaming 1 \
-seg_duration 2 \
-use_timeline 0 \
-use_template 1 \
-window_size 5 \
-extra_window_size 10 \
-index_correction 1 \
-adaptation_sets "id=0,streams=v id=1,streams=a" \
-dash_segment_type mp4 \
-method PUT \
-http_persistent 1 \
-init_seg_name "dash_upload?cid=${streamName}&copy=0&file=init$RepresentationID$.mp4" \
-media_seg_name "dash_upload?cid=${streamName}&copy=0&file=media$RepresentationID$$Number$.mp4" \
'https://a.upload.youtube.com/dash_upload?cid=${streamName}&copy=0&file=dash.mpd'It appears all the playlist updates and video segments upload fine to YouTube - ffmpeg does not report any errors. However the
liveStream
status always showsnoData
, and the YouTube Live Control Room doesn’t show the stream as receiving data.The DASH output, when written to files play backs fine in this test player. The playlist output doesn’t match exactly the samples, but does have the required tags per the "MPD Contents" section in the documentation.
Are my ffmpeg arguments incorrect, or does YouTube have additional playlist format requirements that are not documented ?
-
Youtube live stream with dynamic content
6 octobre 2019, par ArturekI’m trying to create a live stream with changing data in real-time on youtube.
Let’s say I want to show the current Bitcoin price in real-time. For instance, using python and sending requests to some public APIs, I can very easily get current prices of Bitcoin. But I have no idea how to create such a live stream, which will be automatically updated with fresh data.
I know that I can use ffmpeg to stream on youtube, but how would I change the content of my stream ?
# To make sure you know what I mean, I created a basic sample.
import requests
import json
import time
createYtLiveStream()
while(True):
response = requests.get('https://api.coindesk.com/v1/bpi/currentprice.json').json()
price = response['bpi']['USD']['rate']
updateYtLiveStream(price)
time.sleep(20)I want to do it on Ubuntu. Can you tell me how can I do it, please ?
Thanks.