
Recherche avancée
Autres articles (42)
-
Installation en mode ferme
4 février 2011, parLe mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
C’est la méthode que nous utilisons sur cette même plateforme.
L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
Le plugin : Podcasts.
14 juillet 2010, parLe problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
Types de fichiers supportés dans les flux
Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)
Sur d’autres sites (6321)
-
Révision 22432 : Double dans. (Francky).
16 octobre 2015, par marcimat@rezo.netFix #3569
-
Is it possible to stream MJPEG content over MPEG-DASH ?
26 juillet 2021, par Eloy SchultzI am trying to re-stream an MJPEG stream over dash using ffmpeg.


I have an ESP32 camera module that outputs an MJPEG livestream at 192.168.2.128:81/stream (Arduino code here).
I can open this stream directly in the browser and see the video in realtime, but the camera will only allow for a single client at a time while I am in need of a multi client solution.


What doesn't work

A solution I am currently trying to implement is to use a seperate server (Raspberry Pi) running apache and ffmpeg to re-stream the MJPEG content using DASH :

ffmpeg -re -i http://192.168.2.128:81/stream -strict -2 -an -c:v copy -b:v 2000k -f dash -window_size 4 -extra_window_size 0 -min_seg_duration 2000000 -remove_at_exit 1 /var/www/html/out.mpd



I get no errors when executing this command on the server.
I then use this ffmpeg-dash.html to display the video in the browser.
This code unfortunately fails, in Firefox the console reports the error :


[72][Stream] No streams to play.



followed by :


Cannot play media. No decoders for requested formats: video/mp4;codecs="mp4v.6c";width="640";height="480"



What does work

What is puzzling me is that the above code works fine if I replace the MJPEG livestream url with a sample .mkv file, so if I use

ffmpeg -re -i /var/www/html/video.mkv -strict -2 -an -c:v copy -b:v 2000k -f dash -window_size 4 -extra_window_size 0 -min_seg_duration 2000000 -remove_at_exit 1 /var/www/html/out.mpd



I can view the livestreamed sample video (video.mkv) without problems using the previously mentioned ffmpeg-dash.html file.
Furthermore, it seems that ffmpeg can read the MJPEG livestream without problems, since


ffmpeg -t 10 -i http://192.168.2.128:81/stream -filter:v fps=15 -c:v flv test.flv



returns a 10 second clip of the livestream succesfully.


So to me it seems that the problem lies in how I combine the two. What am I missing ? Is it even possible to stream MJPEG content over MPEG-DASH ?
(I am new to this, sorry in advance for my ignorance)


-
A/V out of sync when using ffmpeg from mpeg-ts to dash
17 mai 2018, par user3540646I’m using ffmpeg in order to convert MPEG-TS stream to MPEG-DASH.
The mpeg-ts is h264 and aac_latm.
Therefore I don’t need to reencode the video.
The command I use :ffmpeg -i http://10.0.0.211:55555/Ch%2011%20Kan -strict -2 -c:v copy -window_size 10 -extra_window_size 10 -use_template 1 -use_timeline 1 -f dash kan.mpd
I’m copying the video codec by using -c:v copy and the audio codec is default to aac.
That way I get DASH stream BUT the audio/video is out of sync !
How can I fix it ?
Notes :
-
If I reencode both audio and video like :
ffmpeg -i http://10.0.0.211:55555/Ch%2011%20Kan -strict -2 -window_size 10 -extra_window_size 10 -use_template 1 -use_timeline 1 -f dash kan.mpd
Then the audio/video is synced perfectly.
But I do not want to reencode the video for nothing as I mentioned the video is already h264. (directly impact to performance)-
If I convert the MPEG-TS stream to mp4 file like :
ffmpeg -i http://10.0.0.211:55555/Ch%2011%20Kan -strict -2 -c:v copy kan.mp4
Then the audio/video is synced perfectly.
-