
Recherche avancée
Médias (16)
-
#7 Ambience
16 octobre 2011, par
Mis à jour : Juin 2015
Langue : English
Type : Audio
-
#6 Teaser Music
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#5 End Title
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#4 Emo Creates
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#2 Typewriter Dance
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
Autres articles (52)
-
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...) -
Use, discuss, criticize
13 avril 2011, parTalk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
A discussion list is available for all exchanges between users.
Sur d’autres sites (6549)
-
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); 
 }
});



-
How can I allow my users to combine audio and video tracks for downloading a youtube video ? [closed]
1er décembre 2023, par Faizan AhangerI have a website which, along a bunch a text, has a embedded youtube videos to play. I want to allow my users to also a be able to download those videos. There are too many videos there to store on my own server and I know that there are already website like y2mate.com and savefrom.net which do this.


I used yt-dlp and using the
--print-json
parameter I can get the urls for downloading the files but the audio and video tracks are not combined for higher videos. Using ffmpeg seems to be the obvious solution but I don't understand where the videos should be combined. Should I download both needed tracks on my server and combine them before serving it to users ? This seems very inefficient as it take a lot of bandwidth for handling all download requests. There is also this library ffmpeg.wasm which according to them is "a pure WebAssembly / JavaScript port of FFmpeg enabling video & audio record, convert and stream right inside browsers !"

This should work but it will require the users to download a 30MB webapp before they can download any video. This is also not very efficient, especially if they are downloading a video which is only a few MBs in size.


Are these the only two options that I have or is there a better way to do this ?


-
lavu/log : Also print the log level for level trace.
16 décembre 2019, par Carl Eugen Hoyos