
Recherche avancée
Médias (1)
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (85)
-
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 ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (5798)
-
Mux ts segments to fragmented mp4 in realtime
10 avril 2021, par bsackI have an HLS stream which plays in the browser. What I want to do is have a URL like
/stream.mp4
that plays the livestream back as a fragmented mp4 from the current point in time. This way you could download the stream as a single file and it would work without any js dependencies.

The method I thought of is :


- 

- send an mp4 header
- wait for a new segment
- convert the segment into an mp4 fragment with
ffmpeg
- send the mp4 fragment
- go to 2.












(I know you can concatenate
.ts
segments but they don't play in Firefox.)

This answer describes how to create a fragmented mp4 when you have all the segments at hand (tl ;dr use
-movflags frag_keyframe+emptymoov
). But I want to do this on the fly so each new HLS segment is converted to an mp4 fragment as soon as it's created.

I think this is similar to what DASH does natively, where any chunk
chunk-$n.m4s
can be appended toinit.m4s
and it'll be a proper fragmented mp4. But can this be done without using DASH ?

How can I transmux a ts segment into an mp4 fragment ?


Edit : I found a way of doing what I wanted, but not through transmuxing mpegts segments to fmp4. It turns out that later versions of HLS do support fragmented mp4 (like DASH does), and FFmpeg provides the
-hls_segment_type fmp4
option for this.

-
Webcam Serverless Live stream
23 juillet 2021, par curiouscoderI'm trying to live stream my webcam in a serverless way in the following flow :


webcam browser >> s3 bucket >> lambda/ffmpeg encoding >> s3 output bucket >> dash player


This is working really good so far but I'm facing the following problem :


ffmpeg will only encode those seconds received (I stream the webcam to s3 each X seconds with some 300kb .webm file). So the .mpd file generated by ffmpeg encoder will have the type 'static' when ffmpeg finishes encoding and not the 'dynamic' type desired. Therefore, the dash player won't request the other files from s3 and the streaming will stop. For example, if I let the webcam streaming running for 15 seconds, the viewer is able to watch the 15 minutes. But if I keep sending the streams each 2 seconds the viewer will be able to watch only the first 2 seconds because browser won't request any other .m4s files.


So, I have the following question :


Is there a way to force the dash player to reload the .mpd file that is stored in s3 even when the type is static instead of dynamic ?


Thanks in advance !


-
FFmpeg option to generate a .m4s file every second
29 janvier 2020, par Adrian AngkajayaI am trying to stream my live recording from a camera (web cam/ ip cam) to my web application. The streaming technique I use is MPEG-DASH, which has manifest in MPD format. To generate an MPD format from the web-cam, I use FFmpeg tool in shell command line :
ffmpeg -re -y -f dshow -i video="Logitech HD Webcam C525" -c:v libx264 -c:a libfdk_aac -f dash "manifest.mpd"
. This code will generate a video chunk in .m4s format every 5-8 seconds.Question is, what FFmpeg option can I use to generate a .m4s file every second instead of every 5-8 seconds ? I suppose it has something to do with segment ?