
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 (111)
-
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...) -
Que fait exactement ce script ?
18 janvier 2011, parCe script est écrit en bash. Il est donc facilement utilisable sur n’importe quel serveur.
Il n’est compatible qu’avec une liste de distributions précises (voir Liste des distributions compatibles).
Installation de dépendances de MediaSPIP
Son rôle principal est d’installer l’ensemble des dépendances logicielles nécessaires coté serveur à savoir :
Les outils de base pour pouvoir installer le reste des dépendances Les outils de développements : build-essential (via APT depuis les dépôts officiels) ; (...) -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...)
Sur d’autres sites (10592)
-
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 ?
-
-
Anomalie #3749 (Nouveau) : Absence de proposition de mise à jour
12 mars 2016, par Franck DalotBonjour
SPIP 3.1.0 [22707] en prenant le zip ici : https://core.spip.net/projects/spip/wiki
Prefix des tables : test19
Installation en Mysql
PHP Version 5.6.17 chez ovh
Le htaccess.txt est toujours sous cette forme (en bref, il y en a pas)A savoir, le site de test n’est pas à la racine, mais dans un sous sous-dossier ! ( .../spip3/spip19 )
Quand je vais dans l’espace privé de spip, je n’ai pas l’info comme quoi, la version 3.1.1 est dispo !
Les taches cron "semblent" ok car le temps change, j’ai essayer "exécuter maintenant" et "réinitialiser la listes des travaux", mais rien n’y faitLe problème ne semble présent que sur la version 3.1 de spip, car sur un autre site en SPIP 3.0.21 [22462], j’ai bien le lien avec le message "La version 3.1.1 de SPIP est disponible"
Concernant ce lien, il envoi vers http://files.spip.org/spip/ cela ne serait pas mieux qu’il dirige vers http://files.spip.net/spip/stable/ ?
Franck