
Recherche avancée
Autres articles (51)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
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. -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.
Sur d’autres sites (7756)
-
Revision 100189 : $id_auteur ici et non $user[’id_auteur’]
26 octobre 2016, par kent1@… — Log$id_auteur ici et non $userid_auteur ?
-
How to decrease latency of images based live streaming ?
18 octobre 2020, par XiaofengI need to encode and stream live images, but there is always about a 3s latency, how to decrease it ?


The live stream is generated by the following command


ffmpeg -analyzeduration 0 -probesize 32 -i h264_rtsp_url \
 -vf fps=1 -fflags nobuffer -fflags flush_packets -f mjpeg - \
 | ffmpeg -r 1 -f image2pipe -analyzeduration 0 -probesize 32 -i - \
 -c:v libx264 -pix_fmt yuv420p -tune zerolatency \
 -force_key_frames "expr:gte(t,n_forced*1)" \
 -flags low_delay -fflags nobuffer -fflags flush_packets \
 -profile:v main -preset medium -r 15 \
 -f rtp_mpegts rtp://127.0.0.1:4001



Changing preset from
medium
toultrafast
does not affect the result, still 3s latency.

And I am using
mpv
to play the streams,
The stream encoded by images :

mpv --profile='low-latency' \
 --untimed --no-cache --no-demuxer-thread --vd-lavc-threads=1 \
 rtp://127.0.0.1:4001



The origin stream :


mpv --profile='low-latency' \
 --untimed --no-cache --no-demuxer-thread --vd-lavc-threads=1 \
 h264_rtsp_url



[1] https://trac.ffmpeg.org/wiki/StreamingGuide


-
Http Live Streaming - Segmenting mp3 on Linux
14 mai 2012, par krisbulmanI simply want to segment an mp3 for HTTP Live Streaming in any linux distro (preferably CentOS) for the purpose of audio streaming to an iOS app.
Out of the linux segmenters, I can get the following to compile in CentOS.
-
http://wiki.andy-chu.com/doku.php?id=http_live_streaming (not sure last time this was updated)
-
m3u8-segmenter on github (updated months ago)
-
https://github.com/carsonmcdonald/HTTP-Live-Video-Stream-Segmenter-and-Distributor [ruby wrappers + c] (last updated 2 years ago, and a v2 branch 9 months old)
In order to prep the file for segmenting, here is the ffmpeg conversion string to generate a valid ts file :
$ ffmpeg -er 4 -i input.mp3 -f mpegts -acodec libmp3lame -ar 22050 -ab 32k -vn output.ts
Each of the segmenters require various input switches, all quite simple, and all crash out with a seg fault. #2 actually does some segmenting, but faults after 56 segments every time. I've tried various mp3s with the same results. The issue queues for 2 & 3 are full, with no responses in months of the same issues.
Others must be doing this in a live production environment that isn't running OSX.. what are your methods ?
-