
Recherche avancée
Autres articles (112)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
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 (12416)
-
How to read data from a compressed video segment and send it, frame by frame ?
5 mars 2018, par fei shawnshanksHow to read data from a compressed video segment and send it, frame by frame using C or C++ ?
I plan to design a video transport protocol, which should has ability to send and receive a compressed video segment, frame by frame, at the same time could distinguish between I frames and P frames.
-
send browser camera to rtmp server
22 juin 2022, par anamuli am using python and in frotnend javascript.


I am using
ffmpeg
to push video to rtmp server.

ffmpeg -y -f mp4 -stream_loop -1 -re -i myvideo.mp4
-b:v 3M -vcodec libx264 -r 30.0 -s 1280x720
-c:a copy -b:a 96k
-f flv "rtmps://dfdf222.global-contribute.live-video.net:443/app/"



It is working well but i am not getting how to push to rtmp server of my browser camera ? i mean from javascript ?


i am trying like this :



 <video autoplay="autoplay"></video>

 <a href="#">open and stream</a>

 <code class="echappe-js"><script>&#xA; function streamVideo () {&#xA; console.log(&#x27;ddd&#x27;)&#xA; navigator.mediaDevices.getUserMedia({&#xA; video: {&#xA;&#xA; },&#xA; audio: {&#xA; &#xA; }&#xA; }).then(stream=>{&#xA; console.log(stream)&#xA; document.getElementById(&#x27;vid&#x27;).srcObject = stream; &#xA; })&#xA;&#xA; }&#xA; </script>




It is working but not getting any way to push from browser to rtmp server. I know browser doesnt support rtmp protocol, we need to send it from the backend but can i push to server so that it push to rtmp server ?


Anyone know the way ?


-
Send stream from hdhomerun to AWS EC2 instance
13 novembre 2018, par icalveteI’m trying something odd to get fun. Send stream from hdhomerun to AWS EC2 instance.
First aproach. Read stream with ffmpeg
(tested locally successfully)hdhomerun_config discover sya my device have ip 192.168.1.200 so I open port on my router in this way
<my home="home" public="public" ip="ip">:5005 -> 192.168.1.200:80
<my home="home" public="public" ip="ip">:5004 -> 192.168.1.200:5004
</my></my>w3m and telnet say everything is ok.
But...
from EC2 instance I do
/usr/bin/ffmpeg -y -i 'http://<my home="home" public="public" ip="ip">:5004/auto/v5057?transcode=internet240' -t 12 -vn -acodec pcm_s16le -ar 16000 -ac 1 '/tmp/test.wav'
</my>In tuner1 I can see...
Virtual Channel none
Frequency 698.000 MHz
Program Number 186
Modulation Lock t8qam64
Signal Strength 89%
Signal Quality 100%
Symbol Quality 100%
Streaming Rate none
Resource Lock <ec2 public="public" ip="ip">
</ec2>In hdhomerun system logs...
19700102-10:27:25 Tuner: tuner0 tuning 5057 Telecinco (t8qam64:698MHz-186)
19700102-10:27:25 Tuner: tuner0 streaming http to <ec2 public="public" ip="ip">:34124
</ec2>Everything seems ok but ffmpeg don’t get any data.
Seccond aproach. Send stream to wowza
I have a wowza server running in EC2 instance
From a linux box at my home I do.
root# /usr/bin/hdhomerun_config 1250D7B2 scan /tuner1 scan.log
root# /usr/bin/hdhomerun_config 1250D7B2 set /tuner1/channel auto:651000000
root# /usr/bin/hdhomerun_config 1250D7B2 get /tuner1/streaminfo
root# /usr/bin/hdhomerun_config 1250D7B2 get /tuner1/program 190
root# /usr/bin/hdhomerun_config 1250D7B2 set /tuner1/target rtp://<wowza server="server" public="public" ip="ip">:1935/TEST/hdhr
root# echo $?
root# 0
</wowza>Ends without error buy doesn’t work
This was a long shot but ....Any ideas to do this.
Thanks !!!