
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 (97)
-
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...) -
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 -
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...)
Sur d’autres sites (9628)
-
intreadwrite : Add AV_COPYxxU macros for copying to/from unaligned addresses
23 octobre 2012, par Diego Biurrunintreadwrite : Add AV_COPYxxU macros for copying to/from unaligned addresses
-
avcodec/hevc : Check max ctb addresses for WPP
28 novembre 2015, par Michael Niedermayeravcodec/hevc : Check max ctb addresses for WPP
Fixes out of array read
Fixes : 2f95ddd996db8a6281d2e18c184595a7/asan_heap-oob_192fe91_3330_58e4441181e30a66c19f743dcb392347.bitFound-by : Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by : Michael Niedermayer <michael@niedermayer.cc> -
Streaming a video to multiple end users with node.js and ffmpeg
9 juin 2023, par Nick KnappI'm designed an API endpoint with node.js and express which will accept a url from a different part of the application, convert it into a webm stream, and allow multiple different end users to receive the end result without too much backend processing.


I'd like to have the process running once and pipe the resulting stream to n endpoint calls without using temp files to hold it. So far, all of my attempts to store the output in a temporary object have failed.


What would be the best method of going about doing this ?


The following does not work, but is an example of what I've been trying to do.


import express from 'express';
import cors from 'cors';
import FfmpegCommand from 'fluent-ffmpeg';
import stream from 'stream';

const app = express();
const port = 3002;
const activeStreams = {};

app.use(cors());

app.get('/video/stream', (req, res) => {

 var streamUrl = new URL(req.query.streamurl);
 var protocol = streamUrl.protocol;

 if (activeStreams[streamUrl] === undefined) {
 activeStreams[streamUrl] = new stream.Duplex();
 if (['udp:', 'rtmp:', 'rtsp:'].includes(protocol)) {
 FfmpegCommand(path)
 .toFormat('webm')
 .on('error', function(err, stdout, stderr) {
 console.log('an error occurred', err.message);
 console.log("stdout:\n" + stdout);
 console.log("stderr:\n" + stderr);
 })
 .pipe(activeStreams[streamUrl], {end: true});
 }
 activeStreams[streamUrl].read().pipe(res);
 } else {
 activeStreams[streamUrl].read().pipe(res); 
 }
});