
Recherche avancée
Médias (91)
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Core Media Video
4 avril 2013, par
Mis à jour : Juin 2013
Langue : français
Type : Video
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
Autres articles (32)
-
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 (...) -
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;
Sur d’autres sites (3826)
-
Revision 63c5bf2b9c : Fix Tsan errors This patch fixed 2 reported Tsan errors while running VP9 real-
15 avril 2015, par Yunqing WangChanged Paths :
Modify /vp9/encoder/vp9_encodeframe.c
Modify /vp9/encoder/vp9_encodeframe.h
Modify /vp9/encoder/vp9_encoder.c
Modify /vp9/encoder/vp9_pickmode.c
Fix Tsan errorsThis patch fixed 2 reported Tsan errors while running VP9 real-time
encoder.Change-Id : Ib0278fe802852862c3ce87c4a500e544d7089f67
-
ffmpeg Windows stream desktop real time to web
14 avril 2019, par ilapasleHello i want to stream my Windows desktop in realtime with ffmpeg
for capture desktop i use this code :
ffmpeg.exe -f gdigrab -framerate 60 -i desktop output.mkv
it’s work
Now i not want to record video of my desktop but stream my desktop and view this in web browser.
i need to export stream video in m3u8 filei have use this code :
ffmpeg.exe -f gdigrab -framerate 60 -i desktop -c:v libx264 -crf 18 -maxrate 400k -bufsize 1835k -pix_fmt yuv420p -hls_time 10 -hls_wrap 6 output.m3u8
in my current dir i have 6 ts file and output.m3u8 but i can not open output.m3u8 file, the file is empty why ?
i want to read this file in web browser like this code :
<div>
<video autoplay="true" controls="controls" width="640" height="480">
<source src="output.m3u8" type="application/x-mpegURL"></source>
Your browser does not support HTML5 streaming!
</video>
</div>thanks for advance for your help
-
ffmpeg real-time buffer too full or near too full frame dropped, I even tried increasing rtbufsize. What could be going wrong ?
21 mai 2024, par Ali AzlanWe have a software where we capture the stream from the camera connected to the laptop or device using ffmpeg python,


ffmpeg
 .input(video, s='640x480', **self.args) //tried with rtbufsize=1000M (enough I suupose/ also sometimes the error does not occur even on default rtbufsize which is around 3MB)
 .output('pipe:', format='rawvideo', pix_fmt='rgb24')
 .overwrite_output()
 .run_async(pipe_stdout=True) 



majority of the times when I start the software like the software is still initiating we receive the following error, I have also received this error when the software has initiated fully and completely and it is running from a long time like after 12hrs or more.




Error : [dshow @ 000002248916e240] real-time buffer [Integrated
Camera] [video input] too full or near too full (80% of size : 3041280
[rtbufsize parameter]) ! frame dropped !
Last message repeated 1 times [dshow @ 000002248916e240] real-time buffer [Integrated Camera] [video input] too full or near too full
(101% of size : 3041280 [rtbufsize parameter]) ! frame dropped !




What are the things we possibly might be doing wrong ?


Edit 1 :


below is the code to consume the frame captured in the video using ffmpeg


def frame_reader(self):
 while True:
 in_bytes = self.process.stdout.read(self.width * self.height * 3)
 if not in_bytes:
 break
 try:
 in_frame = (
 np
 .frombuffer(in_bytes, np.uint8)
 .reshape([self.height, self.width, 3])
 )
 frame = cv2.resize(in_frame, (640, 480))
 frame = cv2.cvtColor(frame, cv2.COLOR_RGB2BGR)
 except Exception as e:
 logger.error(e, exc_info=True)
 in_frame = (
 np
 .frombuffer(in_bytes, np.uint8)
 )

 if not self.q.empty():
 try:
 self.q.get_nowait()
 except queue.Empty:
 pass
 self.q.put(frame)