
Recherche avancée
Médias (91)
-
Richard Stallman et le logiciel libre
19 octobre 2011, par
Mis à jour : Mai 2013
Langue : français
Type : Texte
-
Stereo master soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
Elephants Dream - Cover of the soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
#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
Autres articles (79)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
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.
Sur d’autres sites (9898)
-
record video from website using puppeteer + ffmpeg
8 novembre 2020, par rudolfninjaI'm trying to record video from website using the way similar to puppeteer-recorder, but I want to stop recording by myself and then save it to file (after I stopped it). I wrote simple web service for this purpose :


var express = require('express');
var app = express();
const { spawn } = require('child_process');
const puppeteer = require('puppeteer');
var record = true;


app.get('/startRecord', function (req, res)
{
const frun_record = async () => {
 console.log("Start recording");
 const browser = await puppeteer.launch();
 const page = await browser.newPage();
 await page.goto('http://worldfoodclock.com/', { waitUntil: 'networkidle2' });
 var ffmpegPath = 'ffmpeg';
 var fps = 60;

 var outFile = 'E:\\Code\\video-record\\output.webm';

 const args = ffmpegArgs(fps);

 args.push(outFile);

 const ffmpeg = spawn(ffmpegPath, args);

 const closed = new Promise((resolve, reject) => {
 ffmpeg.on('error', reject);
 ffmpeg.on('close', resolve);
 });

 console.log("Entering loop");

 while (record) {
 let screenshot = await page.screenshot({ omitBackground: true });
 await write(ffmpeg.stdin, screenshot);
 }
 ffmpeg.stdin.end();
 console.log("Recording stopped");
 await closed;
};
frun_record();
res.end( "starting recording" );
})

app.get('/stopRecord', function (req, res) {
 record = false;
 res.end( "stopped" );
})

const ffmpegArgs = fps => [
 '-y',
 '-f',
 'image2pipe',
 '-r',
 `${+fps}`,
 '-i',
 '-',
 '-c:v',
 'libvpx',
 '-auto-alt-ref',
 '0',
 '-pix_fmt',
 'yuva420p',
 '-metadata:s:v:0',
 'alpha_mode="1"'
];

const write = (stream, buffer) =>
 new Promise((resolve, reject) => {
 stream.write(buffer, error => {
 if (error) reject(error);
 else resolve();
 });
 });

var server = app.listen(8081, function () {
var host = server.address().address
var port = server.address().port
console.log("Example app listening at http://%s:%s", host, port)
})



But it always record only 1 second video, looks like stream is just overwritten. I tried just save screenshots on disk and it was more than 1 second of video.
So the main question is how to put all the screenshots into the stream and then save it on disk ? And another thing I'd like to know is what the frequency of taking screenshots from web page ?


-
Livestream screen capture to frontend website with low latency [closed]
3 juin 2021, par Eddie Huangfor a project I want to livestream my desktop on my Ubuntu server onto the frontend website (running on the same server using Node/Express).


It would be the same effect as livestreaming with OBS/ffmpeg to Youtube/Twitch and embedding into my own website.
It has to be low latency (<1 second)


Could anyone point me in what protocols/applications/tutorials to use as an outline ?


-
Forwarding rtsp feed from one local port to another
11 août 2021, par Thabet Sabhaso let's say I have an rtsp server running on port 554, and when a certain command is received, i want the rtsp server to start forwarding the feed (using rtsp+tcp) to a service running on the same machine but on port 553 (Linux OS), is that possible via a CL command, or do I have to use something like ffmpeg ?


currently this is what is being used, but I feel like this is redundant since all we're doing is just forwarding the feed to another port on the same machine.


const ffmpegOptions = [
"-rtsp_transport", "tcp",
"-i", "rtsp://127.0.0.1:554",
"-codec", "copy",
"-f", "rtsp",
"-rtsp_transport", "tcp",
"rtsp://127.0.0.1:553"
]

const myProcess = spawn('ffmpeg', ffmpegOptions);



Thanks.