
Recherche avancée
Médias (91)
-
Chuck D with Fine Arts Militia - No Meaning No
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Paul Westerberg - Looking Up in Heaven
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Le Tigre - Fake French
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Thievery Corporation - DC 3000
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Dan the Automator - Relaxation Spa Treatment
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Gilberto Gil - Oslodum
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (30)
-
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...) -
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 (...) -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)
Sur d’autres sites (2630)
-
download livestream real-time data
15 juillet 2024, par Chenguang HeI'm working on a project to design a RTMP server in Java to get livestream data and download to flv file. One requirement is that to capture the real-time data, I need to download the recording for every second instead of downloading entire recording when livestream stop. Is there any way to achieve it ? Thanks


tried to download stream into byte array for every second and decode to flv using H.264 but didn't work.


-
lavu/tx : add real to real and real to imaginary RDFT transforms
3 août 2023, par Lynnelavu/tx : add real to real and real to imaginary RDFT transforms
These are in-place transforms, required for DCT-I and DST-I.
Templated as the mod2 variant requires minor modifications, and is
required specifically for DCT-I/DST-I. -
Simultaneously map video and data streams to one subprocess pipeline in real-time
9 février 2023, par seabass1217I need to process the video stream and the klvdata streams simultaneously in real-time in OpenCV/Python. I'm using FFMPEG to read the file or stream as OpenCV does not retain the klvdata. I pass the data to OpenCV with the subprocess module.


My problem is I cannot figure out how to map both the video and klvdata to the same subprocess pipe simultaneously ?


My code :


#!/usr/bin/env python3
import sys, json, klvdata;
from subprocess import PIPE
import subprocess as sp
import cv2
import numpy

command = ['ffmpeg',
 '-i', 'DayFlight.mpg',
 '-map', '0:0',
 '-map', '0:d', 
 '-pix_fmt', 'bgr24',
 '-c:v', 'rawvideo', 
 '-an','-sn', 
 '-f', 'image2pipe', '-',
 '-c:d', 'copy',
 '-f','data',
 ]

pipe = sp.Popen(command, stdin=sp.PIPE, stdout=sp.PIPE, stderr=sp.PIPE, bufsize=10**8)

while True:
 raw_image = pipe.stdout.read(1280*720*3)
 image = numpy.fromstring(raw_image, dtype='uint8')
 image = image.reshape((720,1280,3)) 
 if image is not None:
 cv2.imshow('Video', image)
 if cv2.waitKey(1) & 0xFF == ord('q'):
 break
 for packet in klvdata.StreamParser(pipe.stdout): 
 metadata = packet.MetadataList()
 print(metadata)
pipe.stdout.flush()
cv2.destroyAllWindows()




Produces the below error :


Traceback (most recent call last):
 File "test_cv.py", line 32, in <module>
 metadata = packet.MetadataList()
AttributeError: 'UnknownElement' object has no attribute 'MetadataList'

</module>


Any help is greatly appreciated.