
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 (46)
-
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 (...) -
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 -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.
Sur d’autres sites (6760)
-
ALSA lib pcm.c:7963 :(snd_pcm_recover) underrun occurred with MoviePy
25 janvier 2017, par mdornfe1So I have a bit of an unusual use case for MoviePy. I have a 40 core computer, and on each core I’m creating a moviepy object, having that object connect to an mp4 file, then having each object decompress random images from the mp4 file. I’m doing this so I can use the images to train a neural network. It actually works really except I’m getting this warning
ALSA lib pcm.c:7963:(snd_pcm_recover) underrun occurred
I can’t figure out its source. Here is a basic code example
from moviepy.editor import VideoFileClip
from queue import Queue, deque
import threading, multiprocessing
import numpy as np
def decompress_worker(training_data:Queue, frame_idxs:Queue, video_file_path:str):
"""
Eache of these workers will pop off one integer from frame_idxs.
It will then decompress that frame number from vs. Finally
it will store the decompressed image in training_data.
"""
vs = VideoFileClip(video_file_path)
fps = vs.fps
while frame_idxs.qsize() > 0:
frame_number = frame_idxs.get()
frame = vs.get_frame( frame_number / fps )
training_data.put(frame)
num_cores = multiprocessing.cpu_count()
frame_idxs = Queue()
training_data = Queue()
frame_idxs.queue = deque(np.random.randint(0, 10000, size = 1000))
decompress_threads = []
for n in range(num_cores):
decompress_thread = threading.Thread(target=decompress_worker,
args=(training_data, frame_idxs, video_file_path))
decompress_threads.append(decompress_thread)
decompress_thread.start()
[thread.join() for thread in decompress_threads]I’m guessing it’s coming from me reading data from the mp4 file to fast ? It would be nice if I could just suppress the warning. Is there a way to do that ?
-
Tunnel Streaming through server
28 octobre 2017, par Sarathvichet HengI want to be able to stream a hls IPTV streaming but the origin server has country restriction. I also have a VPS server of that country so I want to stream through that VPS.
For example : a request to server http://vps.com/tv.php?ch=2 and then stream
But the source behind it is the origin which is http://origin.com/tv/ch2.m3u8?token...............
I was able to bypass token and fetch the streaming url using php but don’t know how can I mask http://origin.com/tv/ch2.m3u8...... behind http://vps.com/tv.php..........
. I don’t want to use FFMPEG because it’ll get
data and rebroadcast a new stream and consume high vps resource.
and If I capture packet using Wireshark while playing this http://vps.com/tv.php?ch=2 I’ll see http://origin.com/tv/ch2.m3u8?token......... behind it. -
avcodec/mips : Improve avc avg mc 10, 30, 01 and 03 msa functions
6 novembre 2017, par Kaustubh Rasteavcodec/mips : Improve avc avg mc 10, 30, 01 and 03 msa functions
Align the mask buffer to 64 bytes.
Load the specific destination bytes instead of MSA load and pack.
Remove unused macros and functions.Signed-off-by : Kaustubh Raste <kaustubh.raste@imgtec.com>
Reviewed-by : Manojkumar Bhosale <Manojkumar.Bhosale@imgtec.com>
Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>