
Recherche avancée
Médias (1)
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
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 tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)
Sur d’autres sites (15965)
-
avutil/xga_font_data : add getters to access the shared arrays
22 juillet, par James Almer -
download video by ffmpeg access denied [closed]
14 septembre 2021, par Vĩnh Hộiffmpeg -i "https://stream2.hocmai.vn/media/FhxZzrGLdQz59MY4r2xKAA/1631218009/saturn/moon/2020-2021_s5/Toan/Luyen_thi_THPTQG/PEN-C_N3/Nguyen_Thanh_Tung/01.Ky_thuat_truy_nguoc_ham_28365/01_360.mp4/clipTo/60000/hocmai-14-v1-a1.ts" -c copy -bsf:a aac_adtstoasc "output.mp4"


and fail
[https @ 000002133ca2e6c0] HTTP error 403 Forbidden
https://stream2.hocmai.vn/media/FhxZzrGLdQz59MY4r2xKAA/1631218009/saturn/moon/2020-2021_s5/Toan/Luyen_thi_THPTQG/PEN-C_N3/Nguyen_Thanh_Tung/01.Ky_thuat_truy_nguoc_ham_28365/01_360.mp4/clipTo/60000/hocmai-14-v1-a1.ts : Server returned 403 Forbidden (access denied)


-
OpenCV access live streaming from FFserver delay at start
2 mai 2022, par Sandro PellizzaI've already posted this question on superuser.com (https://superuser.com/questions/1718608/ffmpeg-live-streaming-to-ffserver-delay-at-start), but since part of this question is OpenCV related, they suggested me to post it also here.


I'm trying to achieve a simple camera streaming using FFMpeg and FFserver. I have two slightly different systems acting as source, both Debian OS :


the first one runs ffmpeg 3.4.8, as indicated in figure 1


First system FFMPEG version


the second one runs ffmpeg 2.8.17, as indicated in figure 2


Second system FFMPEG version


The ffmpeg command used to send the stream to to ffserver is the following, identical for both systems :


ffmpeg -re -f v4l2 -s 640x360 -thread_queue_size 20 -probesize 32 -i /dev/video0 -threads 4 -fflags nobuffer -tune zerolatency http://myserverIP:myserverPort/liveFeed.ffm


In order to see the stream result I access the live stream from a third system using openCV pointing to the server URL :


VideoCapture videoCap = new VideoCapture("http://myserverIP:myserverPort/liveFeed.flv"); 
...
videoCap.read(imageInput);



and start grabbing the incoming frames from the stream.


The wierd thing happens here :


- 

- with the first system the video stream visualized through openCV is pretty much real time, with 1-2 seconds of delay from the original source.
- with the second system the video stream is affected by a variable delay which is comparable with the elapsed time between the start time of the stream source and the start time of the stream acquisition with openCV (for example : if I start the source stream at 12:00:00 and wait 30 seconds before access the stream with openCV, I have a delay of about 30 seconds shown on the third system)






The ffserver configuration is the following


HTTPBindAddress 0.0.0.0
MaxHTTPConnections 2000
MaxClients 1000
MaxBandwidth 6000
CustomLog -
#NoDaemon

<feed>
 File /tmp/SCT-0001_3.ffm
 FileMaxSize 5M
</feed>

<stream>
 Format flv
 Feed liveFeed.ffm

 VideoCodec libx264
 VideoFrameRate 20
 VideoBitRate 200
 VideoSize 640x360
 AVOptionVideo preset superfast
 AVOptionVideo tune zerolatency
 AVOptionVideo flags +global_header

 NoAudio
</stream>

##################################################################
# Special streams
##################################################################
<stream>
 Format status
 # Only allow local people to get the status
 ACL allow localhost
 ACL allow 192.168.0.0 192.168.255.255
</stream>

# Redirect index.html to the appropriate site
<redirect>
 URL http://www.ffmpeg.org/
</redirect> 



Any help to spot the problem would be great ! Thanks