
Recherche avancée
Médias (1)
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
Autres articles (83)
-
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...) -
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)
Sur d’autres sites (8794)
-
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


-
Revision 100189 : $id_auteur ici et non $user[’id_auteur’]
26 octobre 2016, par kent1@… — Log$id_auteur ici et non $userid_auteur ?
-
Revision 100189 : $id_auteur ici et non $user[’id_auteur’]
26 octobre 2016, par kent1@… — Log$id_auteur ici et non $userid_auteur ?