
Recherche avancée
Médias (91)
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Core Media Video
4 avril 2013, par
Mis à jour : Juin 2013
Langue : français
Type : Video
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
Autres articles (82)
-
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
Le plugin : Gestion de la mutualisation
2 mars 2010, parLe plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
Installation basique
On installe les fichiers de SPIP sur le serveur.
On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
< ?php (...)
Sur d’autres sites (3990)
-
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.
-
dashenc : allow assigning all streams of a media type to an AdaptationSet
29 janvier 2017, par Peter Großedashenc : allow assigning all streams of a media type to an AdaptationSet
Using the characters "v" or "a" instead of stream index numbers for assigning
streams in the adaption_set option, all streams matching that given type will
be added to the AdaptationSet.Signed-off-by : Peter Große <pegro@friiks.de>
Signed-off-by : Martin Storsjö <martin@martin.st> -
Convert *.mov file to *.mp4 with media source support
4 février 2017, par Yerzhan TorgayevMy goal is to play converted *.mp4 file with HTML5 Media Source Extension (MSE).
I made a small video with iMovie on my Mac and exported this video to *.mov file. Using ffmpeg I’ve converted *.mov file to fragmented *.mp4 file.
I used code from Mozilla Media Source tutorial to make simple html5 video player.But I couldn’t get my video played with this tutorial. Other *.mp4 videos play just fine. But I have troubles with converted *.mov videos.
I’ve checked codec support for my video.
On this page I’ve got my codec info :http://nickdesaulniers.github.io/mp4info/
track #0 codec string: mp4v
track #1 codec string: mp4a.40.2
track #2 codec string: tmcd
MediaSource.isTypeSupported('video/mp4; codecs="mp4v, mp4a.40.2, tmcd"'); // => falseI found that
tmcd
codec is not supported by MSE :https://cconcolato.github.io/media-mime-support/
I couldn’t find the way to get my video work with MSE. Can anyone help me with this issue ?