
Recherche avancée
Médias (91)
-
Corona Radiata
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Lights in the Sky
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Head Down
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Echoplex
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Discipline
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Letting You
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (99)
-
(Dés)Activation de fonctionnalités (plugins)
18 février 2011, parPour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...) -
Le plugin : Podcasts.
14 juillet 2010, parLe problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
Types de fichiers supportés dans les flux
Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...) -
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
Sur d’autres sites (4385)
-
How do I use ffmpeg with Python by passing File Objects (instead of locations to files on disk)
1er mai 2012, par Lyle PrattI'm trying to use ffmpeg with Python's subprocess module to convert some audio files. I grab the audio files from a URL and would like to just be able to pass the Python File Objects to ffmpeg, instead of first saving them to disk. It would also be very nice if I could just get back a file stream instead of having ffmpeg save the output to a file.
For reference, this is what I'm doing now :
tmp = "/dev/shm"
audio_wav_file = requests.get(audio_url)
## ## ##
## This is what I don't want to have to do ##
wavfile = open(tmp+filename, 'wrb')
wavfile.write(audio_wav_file.content)
wavfile.close()
## ## ##
conversion = subprocess.Popen('ffmpeg -i "'+tmp+filename+'" -y "'+tmp+filename_noext+'.flac" 2>&1', shell = True, stdout = subprocess.PIPE).stdout.read()Does anyone know how to do this ?
Thanks !
-
why can't I access rtsp camera in python ?
6 septembre 2024, par Come OhI'm trying to access an RTSP camera in Python and get frame information from it.


One of the camera options is RTSP authentication, and when I include it, VLC asks for login information. ('[rtsp @ ] method DESCRIBE failed : 401 Unauthorized')


If I turn it off, I can access it regardless of ID or PW, but if I turn it on, I can't access it from Python.


I verified that it works by putting the same RTSP address, ID, and PW in VLC, and it doesn't contain any symbols like '@' which is a common problem.


I used several libraries, including Opencv, ffmpeg, and others, and got the same
'[rtsp @ ] method DESCRIBE failed : 401 Unauthorized' and only this error appears


What could be the cause,,, please help...


import cv2

url = "rtsp://username:password@camera_ip:554/stream_path"

cap = cv2.VideoCapture(url)

if not cap.isOpened():
 print("Failed to open RTSP stream.")
 exit()

while True:
 ret, frame = cap.read()
 if not ret:
 print("Failed to read frame.")
 break
 cv2.imshow('RTSP Stream', frame)
 if cv2.waitKey(1) & 0xFF == ord('q'):
 break

cap.release()
cv2.destroyAllWindows()



I tried running the above code and debugging it using the ffmpeg library.


-
why can't access rtsp camera in python ?
6 septembre 2024, par Come OhI'm trying to access an RTSP camera in Python and get frame information from it.


One of the camera options is RTSP authentication, and when I include it, VLC asks for login information. ('[rtsp @ ] method DESCRIBE failed : 401 Unauthorized')


If I turn it off, I can access it regardless of ID or PW, but if I turn it on, I can't access it from Python.


I verified that it works by putting the same RTSP address, ID, and PW in VLC, and it doesn't contain any symbols like '@' which is a common problem.


I used several libraries, including Opencv, ffmpeg, and others, and got the same
'[rtsp @ ] method DESCRIBE failed : 401 Unauthorized' and only this error appears


What could be the cause,,, please help...


import cv2

url = "rtsp://username:password@camera_ip:554/stream_path"

cap = cv2.VideoCapture(url)

if not cap.isOpened():
 print("Failed to open RTSP stream.")
 exit()

while True:
 ret, frame = cap.read()
 if not ret:
 print("Failed to read frame.")
 break
 cv2.imshow('RTSP Stream', frame)
 if cv2.waitKey(1) & 0xFF == ord('q'):
 break

cap.release()
cv2.destroyAllWindows()



I tried running the above code and debugging it using the ffmpeg library.