
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (54)
-
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...) -
Les statuts des instances de mutualisation
13 mars 2010, parPour des raisons de compatibilité générale du plugin de gestion de mutualisations avec les fonctions originales de SPIP, les statuts des instances sont les mêmes que pour tout autre objets (articles...), seuls leurs noms dans l’interface change quelque peu.
Les différents statuts possibles sont : prepa (demandé) qui correspond à une instance demandée par un utilisateur. Si le site a déjà été créé par le passé, il est passé en mode désactivé. publie (validé) qui correspond à une instance validée par un (...) -
L’agrémenter visuellement
10 avril 2011MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté.
Sur d’autres sites (9887)
-
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 ? -
AForge.Video.FFMPEG XamlParseException
10 février 2017, par tobloefI’m trying to set up a simple C# application where I want to record multiple USB webcams and save their feeds to some files. I’m using AForge.NET since this seems to be the most popular option for this sort of application. I can record video fine using the AForge.Video.VFW AVIWriter but due to a number of reasons I need to use the AForge.Video.FFMPEG VideoFileWriter. Whenever I try to use this class however, I get a System.Windows.Markup.XamlParseException with no additional information or inner exceptions apart from a little additional information which is quite useless.
I have a simple code example to trigger the exception :
using AForge.Video.FFMPEG;
namespace CameraPrototype {
public partial class MainWindow {
public MainWindow() {
InitializeComponent();
VideoFileWriter videoFileWriter = new VideoFileWriter();
}
}
}I’ve also googled a bit around and tried some suggestion mentioned elsewhere :
- Checking all the boxes in Exceptions Settings, enabling breaks on all types of exceptions. I had hoped this would give me some more info when the exception was thrown, unfortunately it doesn’t change anything.
- Copying the FFMPEG DLLs (swscale-2.dll, postproc-52.dll, etc) into the same folder as the application’s built executable (../bin/Debug/). I ’m pretty sure the exception has something to do with ffmpeg, but this particular solution isn’t working. Perhaps I’m doing something wrong here or I’m missing something for ffmpeg to work ?
If anyone have any idea what I might be doing wrong or how I can get more information about the exception, I would really appreciate any help. Let me know if I need to post any other information. Thanks !
Edit :
Though it doesn’t really answer the question, I’m also open to suggestions for alternatives to AForge.NET, as long as it lets me record and save video from multiple USB webcams. -
Merge commit ’aa37d2bf4505afc106e2a23c44afc722bb204a8e’
19 mars 2017, par Clément BœschMerge commit ’aa37d2bf4505afc106e2a23c44afc722bb204a8e’
* commit ’aa37d2bf4505afc106e2a23c44afc722bb204a8e’ :
swscale : Kill non-compiling disabled cruftThe isGray() chunk is not merged as an alternative patch actually fixing
the dead code is currently under review on the mailing-list.The SWS_X chunk is merged, with an additional cosmetic.
Merged-by : Clément Bœsch <u@pkh.me>