
Recherche avancée
Médias (1)
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (62)
-
Utilisation et configuration du script
19 janvier 2011, parInformations spécifiques à la distribution Debian
Si vous utilisez cette distribution, vous devrez activer les dépôts "debian-multimedia" comme expliqué ici :
Depuis la version 0.3.1 du script, le dépôt peut être automatiquement activé à la suite d’une question.
Récupération du script
Le script d’installation peut être récupéré de deux manières différentes.
Via svn en utilisant la commande pour récupérer le code source à jour :
svn co (...) -
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 -
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)
Sur d’autres sites (5002)
-
Revision b9ed185659 : arm : Explicitly write both target registers for ldrd The microsoft assembler ca
15 mai 2013, par Martin StorsjoChanged Paths :
Modify /vp8/common/arm/armv6/filter_v6.asm
arm : Explicitly write both target registers for ldrdThe microsoft assembler can't handle the second register being
implicit.Change-Id : Ia831953a78a25fd6b2082474f05fdb78d96cdf78
-
Python - ffmpeg-like media seeking with requests
8 janvier 2017, par WillUsing ffmpeg, times in HTTP media resources, such as videos, can be seeked to very quickly with a command like
ffmpeg -ss 00:01:00 -i https://example.com/video.mp4
, presumably by downloading the video headers to look for the right byte offset. This means that it is very fast to run operations on a section of video, even if it is hours in.What I want to be able to do is to do the same thing but piping into ffmpeg with the requests module with something like (in partial pseudo-code) :
stream = requests.get(url, stream=True)
start_byte = get_byte_offset(stream, time=60)
stream.seek_to(start_byte)
process = subprocess.Popen(["ffmpeg", "-i" "pipe:" "out.mp4"], stdin=subprocess.PIPE)
for chunk in stream.iter_content(chunk_size=64 * 2 ** 10):
process.stdin.write(chunk)
process.stdin.close()This would allow me to implement extra checks into the stream that I would normally need to parse ffmpeg for, such as if the stream returns a bad status code such as 404 or 403.
How might I be able to implement this using the requests, and presumably other, modules ? I suppose the first part is using a tool to parse the video headers.
-
Return a JSON response for DELETE requests.
14 décembre 2013, par blueimpReturn a JSON response for DELETE requests.