
Recherche avancée
Médias (91)
-
999,999
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Slip - Artworks
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
-
Demon seed (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
The four of us are dying (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Corona radiata (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Lights in the sky (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
Autres articles (30)
-
Gestion générale des documents
13 mai 2011, parMédiaSPIP ne modifie jamais le document original mis en ligne.
Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...) -
À propos des documents
21 juin 2013, parQue faire quand un document ne passe pas en traitement, dont le rendu ne correspond pas aux attentes ?
Document bloqué en file d’attente ?
Voici une liste d’actions ordonnée et empirique possible pour tenter de débloquer la situation : Relancer le traitement du document qui ne passe pas Retenter l’insertion du document sur le site MédiaSPIP Dans le cas d’un média de type video ou audio, retravailler le média produit à l’aide d’un éditeur ou un transcodeur. Convertir le document dans un format (...) -
Qualité du média après traitement
21 juin 2013, parLe bon réglage du logiciel qui traite les média est important pour un équilibre entre les partis ( bande passante de l’hébergeur, qualité du média pour le rédacteur et le visiteur, accessibilité pour le visiteur ). Comment régler la qualité de son média ?
Plus la qualité du média est importante, plus la bande passante sera utilisée. Le visiteur avec une connexion internet à petit débit devra attendre plus longtemps. Inversement plus, la qualité du média est pauvre et donc le média devient dégradé voire (...)
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.