
Recherche avancée
Médias (91)
-
DJ Z-trip - Victory Lap : The Obama Mix Pt. 2
15 septembre 2011
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Matmos - Action at a Distance
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
DJ Dolores - Oslodum 2004 (includes (cc) sample of “Oslodum” by Gilberto Gil)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Danger Mouse & Jemini - What U Sittin’ On ? (starring Cee Lo and Tha Alkaholiks)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Cornelius - Wataridori 2
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Rapture - Sister Saviour (Blackstrobe Remix)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (54)
-
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. -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (5269)
-
Trouble understanding XHR streams and express
17 janvier 2017, par JonI’m having some trouble understanding how I can trigger an XHR response from an express server
res.write
.I’m creating a request on the client with the following code :
var xhr = new XMLHttpRequest();
xhr.open(opts.method || 'get', url);
for (var k in opts.headers||{}) {
xhr.setRequestHeader(k, opts.headers[k]);
}
xhr.onload = e => res(e.target.responseText);
xhr.onerror = rej;
if (xhr.upload && progressCb) {
xhr.upload.onprogress = progressCb;
}
xhr.send(opts.body);On the node server, I’m doing multiple res.write() in response to this request.
For example, I’m creating a video using ffmpeg() and throughout the creation process, I’ll
res.write()
aJSON.stringified
status update.The client will receive the last
.write()
, but thexhr.upload.onprogress
callback is not triggered, so I don’t think I understand how to use it correctly. I’m guessing that thexhr.upload.onprogress
is meant solely for callbacks related to uploading data to the server, not for triggering a response to multiple writesIs there a way for an XHR request to fire a callback every time it receives a
res.write()
from express ? If not, what’s a better way of achieving this goal ? -
How to plot an animated graph
2 août 2019, par Mukonza Sabastian SimbarasheFollowing along How to Create Animated Graphs in Python when constructing an animated plot then on writing the ffmpeg I get the following error :
'Requested MovieWriter ({}) not available'.format(name))
RuntimeError: Requested MovieWriter (ffmpeg) not availableAfter getting this error, I initially tried to install ffmpeg using
pip
by the following method :python -m install ffmpeg
and it seems to have successfully installed ffmpeg, but going back to my code I still get the same error
Find below my code :
import numpy as np
import pandas as pd
import seaborn as sns
import matplotlib
import matplotlib.pyplot as plt
import matplotlib.animation as animation
overdoses = pd.read_excel(r'C:\Users\ACER\Desktop\overdose_data_1999-2015.xls',sheet_name='Online',skiprows =6)
def get_data(table,rownum,title):
data = pd.DataFrame(table.loc[rownum][2:]).astype(float)
data.columns = {title}
return data
title = 'Heroin Overdoses'
d = get_data(overdoses,18,title)
x = np.array(d.index)
y = np.array(d['Heroin Overdoses'])
overdose = pd.DataFrame(y,x)
overdose.columns = {title}
Writer = animation.writers['ffmpeg']Here is the stack trace :
Traceback (most recent call last):
File "C:\Python\Python36\lib\site-packages\matplotlib\animation.py", line 161, in __getitem__
return self.avail[name]
KeyError: 'ffmpeg'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "", line 1, in <module>
Writer = animation.writers['ffmpeg']
File "C:\Python\Python36\lib\site-packages\matplotlib\animation.py", line 164, in __getitem__
'Requested MovieWriter ({}) not available'.format(name))
RuntimeError: Requested MovieWriter (ffmpeg) not available
</module> -
Evolution #2923 : Remplacement d’un document et date du document
21 mars 2013, par - EquipementEffectivement, sans attendre des changements éventuels dans SPIP, je modifie automatiquement (via un plugin) le champ "date" (et pas le champ "date de publication") lors du remplacement d’un document.