
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (62)
-
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 -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)
Sur d’autres sites (11043)
-
Revision 6fcaa06911 : Correct the miscalculation in uv dimensions The calculation of required extensi
6 février 2015, par Yaowu XuChanged Paths :
Modify /vpx_scale/generic/yv12extend.c
Correct the miscalculation in uv dimensionsThe calculation of required extension used in HBD case was wrong due
to rounding for UV when y dimension is odd. This commit replace the
computation with correct version.This fixes a crash caused by writting beyond buffer boundary.
Change-Id : Ic7c9afeb7388cd1341ec4974a611dacfb74ac6b6
(cherry picked from commit 4bca73b609bfe9a5cb86fc25b69c6128d9041504) -
ffmpeg udp streaming downs after certains minutes
8 juin 2020, par DoriHp 0I'm trying to use ffmpeg to stream a sequence independent images via udp use the following lines of code :



if __name__ == "__main__":
 cap = cv2.VideoCapture(0)
 width = int(cap.get(cv2.CAP_PROP_FRAME_WIDTH) / 2)
 height = int(cap.get(cv2.CAP_PROP_FRAME_HEIGHT) / 2)
 output_file = "output.mp4"
 # Config ffmpeg command
 dimension = "%dx%d" %(width, height)
 command = ['ffmpeg',
 '-re',
 '-y',
 '-vcodec', 'rawvideo', # create temp video
 '-f', 'rawvideo',
 '-s', dimension,
 '-pix_fmt', 'bgr24', # color space
 '-r', "20", # framerate
 '-i', '-', # take input as image from stdin
 '-an', # no audio streaming
 '-b:v', '500K', # bitrate
 '-vcodec', 'libx264', 
 '-tune', 'zerolatency', # reduce streaming's lantency
 '-timeout', '2000', 
 '-thread_type', 'slice',
 '-slices', '1',
 '-preset', 'superfast',
 '-intra-refresh', '1',
 '-crf', '15', 
 '-f', 'mpegts', 'udp://<ip>:10000?overrun_nonfatal=1&buffer_size=50000000']

 while True:
 ret, frame_read = cap.read()
 if not ret:
 print("End of input!")
 break

 image = frame_read
 image = cv2.resize(image, (width, height), interpolation=cv2.INTER_AREA)
 cv2.rectangle(image, (5, 5), (100, 100), (0, 255, 0), 2)
 #image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB)

 try:
 proc.stdin.write(image.tostring())
 except IOError as e:
 if e.errno == errno.EPIPE:
 pass
</ip>



because I must do something with the frame before sending, so I used
suprocess
module and feed python variable for this task. I ran this code on a linux machine, and at the target machine (win 10), I usedffplay udp:127.0.0.1:10000
to receive and show what I got.
The code worked well for about 7 8 minutes, I can see what my webcam got, but after that, I got no data from the stream. I checked network status on both machines but there is no in used bandwidth. I checked running processes on linux machine and recognized that ffmpeg was still running. I couldn't get any exception from subprocess block code, too. 
What I did wrong ? I've got stuck with this problem for several days

-
Revision c0167cbbc2 : Fix mv range border in pixels WIP : trying to resolve the mismatch issue in exte
8 juin 2013, par Jingning HanChanged Paths :
Modify /vp9/encoder/vp9_firstpass.c
Modify /vp9/encoder/vp9_mbgraph.c
Fix mv range border in pixelsWIP : trying to resolve the mismatch issue in extending frame
dimension into multiples of 8.Change-Id : I24e7638ab3c50e21e6969c1eeed4f607d6f11f65