
Recherche avancée
Médias (1)
-
Spitfire Parade - Crisis
15 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (89)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)
Sur d’autres sites (14290)
-
Revision 35dc9f5546 : Save nzcstats. Change-Id : I4a3a9eb9f9d17218a0f0d7e148123d34dae879c2
26 mars 2013, par Ronald S. BultjeChanged Paths : Modify /vp9/encoder/vp9_bitstream.c Save nzcstats. Change-Id : I4a3a9eb9f9d17218a0f0d7e148123d34dae879c2
-
Save on disk h264 packages received using PyAV
29 février 2020, par Vítor CézarI’m using PyAV to read packets from H.264 stream during 5 minutes. I need to save the packets encoded on disk and load and decode them later. I tried to use pickle to save the packets, but it cannot serialize them. What can I do ? Here is part of my code (an exception is thrown when I try to save the packets using pickle, so the code doesn’t work) :
import av
import time
import pickle
# open container
container = av.open(url) # url from a h264 stream
# read packages from stream during 5 minutes and add them to a list
packets = []
initialTime = time.time()
for packet in container.demux(video = 0):
packets.append(packet)
if time.time() - initialTime > 300:
break
# save packets
pickle.dump(packets, open("packets.obj", "wb"))
# load packets, get the frames they contain and saves them as files
load_packets = pickle.load(open("packets.obj", "rb"))
for idx, packet in enumerate(load_packets):
frame = packet.decode_one()
if frame is not None:
frame.to_image().save('frame-%04d-%04d.jpg' % (frame.index, idx)) -
libde265 decode hevc and save to .jpg file
31 octobre 2017, par aj3423I need to decode some hevc file to jpg, I can do this with ffmpeg :
ffmpeg -i test.hevc test.jpg
I want to integrate ffmpeg with my program, but the ffmpeg library seems to be large and not that easy to build on Win32. So I found another small and independent library libde265. Its sample demonstrates how to get every pixel of the hevc image, but it seems not able to save to a .jpg file.
What’s the simplest way to save a
de265_image
to a jpg file ?