
Recherche avancée
Autres articles (61)
-
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...) -
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. -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs
Sur d’autres sites (12941)
-
Processing Camera stream in Opencv, pushing it over RTMP (NGINX RTMP Module) using FFMPEG
19 avril 2016, par AsymptoteOutput video :
https://youtu.be/VxfoBQjoY6EExplanation :
I want to : Process camera stream in Opencv and push it over to RTMP server. I already have NGINX (RTMP module) set up and I have tested streaming videos with both RTMP (Flash Player) and HLS.
I am reading the frames in a loop and using ’subprocess’ in python to execute ffmpeg command. Here’s the command I am using :
command = [ffmpeg,
'-y',
'-f', 'rawvideo',
'-vcodec','rawvideo',
'-pix_fmt', 'bgr24',
'-s', dimension,
'-i', '-',
'-c:v', 'libx264',
'-pix_fmt', 'yuv420p',
'-preset', 'ultrafast',
'-f', 'flv',
'rtmp://10.10.10.80/live/mystream']
import subprocess as sp
...
proc = sp.Popen(command, stdin=sp.PIPE,shell=False)
...
proc.stdin.write(frame.tostring()) #frame is read using opencvProblem :
I can see the stream fine but it freezes and resumes frequently. Here’s the output of FFMPEG terminal log :
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
frame= 117 fps= 16 q=22.0 size= 344kB time=00:00:04.04 bitrate= 697.8kbits/s speed=0.543xIt mentions speed at the end. I believe it should be close to 1x. I am not sure how to achieve that.
And I am on the same network as server, I can post my python code if required. Need some ffmpeg guru to give me some advise.
EDIT
My input fps is actually 3.
With'-use_wallclock_as_timestamps', '1'
I can see in the log that speed is close to 1x.
But HLS is not streaming live there’s 2 min delay, it halts and . Chris’s advise partially worked. I am not sure where exactly is the problem, I am starting to believe it has something to do with nginx-rtmp module.Here’s the final output, on left it’s flash and on right it’s hls. I am showing the ffmpeg options at the end.
https://youtu.be/jsm6XNFOUE4 -
how can I tell in real time the flow of my IP camera with node JS ?
15 avril 2022, par C_BbrahimWhat method should I apply to read in real time the stream of my IP camera using Node Js and the RTSP communication protocol ?


Original Question :
comment je peux dire en temps réel le flux de mon camera IP avec node JS ?
Original text :
(Quel méthode dois je appliquer pour lire en temps réel le flux de mon camera IP en utilisant Node Js et le protocole de communication RTSP ?)


-
comment je peux lire en temp réel le flux de mon camera IP avec node JS ?
15 avril 2022, par C_BbrahimQuel méthode dois je appliquer pour lire en temps réel le flux de mon camera IP en utilisant Node Js et le protocole de communication RTSP ?