
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (88)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
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 (10963)
-
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 ?


-
An application for decoding videos
15 janvier 2016, par user5765185How I can use the ffmpeg or libde265 to decode videos which coded with x265 encoder note that i works with windows 7 and the IDE is visual studio 2012 .
-
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 ?