Recherche avancée

Médias (1)

Mot : - Tags -/pirate bay

Autres articles (88)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains 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 2011

    MediaSPIP 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, par

    MediaSPIP 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 Huang

    for 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.&#xA;It has to be low latency (<1 second)

    &#xA;

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

    &#xA;

  • An application for decoding videos

    15 janvier 2016, par user5765185

    How 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 rudolfninja

    I'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 :

    &#xA;

    var express = require(&#x27;express&#x27;);&#xA;var app = express();&#xA;const { spawn } = require(&#x27;child_process&#x27;);&#xA;const puppeteer = require(&#x27;puppeteer&#x27;);&#xA;var record = true;&#xA;&#xA;&#xA;app.get(&#x27;/startRecord&#x27;, function (req, res)&#xA;{&#xA;const frun_record = async () => {&#xA;    console.log("Start recording");&#xA;    const browser = await puppeteer.launch();&#xA;    const page = await browser.newPage();&#xA;    await page.goto(&#x27;http://worldfoodclock.com/&#x27;, { waitUntil: &#x27;networkidle2&#x27; });&#xA;    var ffmpegPath = &#x27;ffmpeg&#x27;;&#xA;    var fps = 60;&#xA;&#xA;    var outFile = &#x27;E:\\Code\\video-record\\output.webm&#x27;;&#xA;&#xA;    const args = ffmpegArgs(fps);&#xA;&#xA;    args.push(outFile);&#xA;&#xA;    const ffmpeg = spawn(ffmpegPath, args);&#xA;&#xA;    const closed = new Promise((resolve, reject) => {&#xA;        ffmpeg.on(&#x27;error&#x27;, reject);&#xA;        ffmpeg.on(&#x27;close&#x27;, resolve);&#xA;    });&#xA;&#xA;    console.log("Entering loop");&#xA;&#xA;    while (record) {&#xA;        let screenshot = await page.screenshot({ omitBackground: true });&#xA;        await write(ffmpeg.stdin, screenshot);&#xA;    }&#xA;    ffmpeg.stdin.end();&#xA;    console.log("Recording stopped");&#xA;    await closed;&#xA;};&#xA;frun_record();&#xA;res.end( "starting recording" );&#xA;})&#xA;&#xA;app.get(&#x27;/stopRecord&#x27;, function (req, res) {&#xA; record = false;&#xA; res.end( "stopped" );&#xA;})&#xA;&#xA;const ffmpegArgs = fps => [&#xA;  &#x27;-y&#x27;,&#xA;  &#x27;-f&#x27;,&#xA;  &#x27;image2pipe&#x27;,&#xA;  &#x27;-r&#x27;,&#xA;  `${&#x2B;fps}`,&#xA;  &#x27;-i&#x27;,&#xA;  &#x27;-&#x27;,&#xA;  &#x27;-c:v&#x27;,&#xA;  &#x27;libvpx&#x27;,&#xA;  &#x27;-auto-alt-ref&#x27;,&#xA;  &#x27;0&#x27;,&#xA;  &#x27;-pix_fmt&#x27;,&#xA;  &#x27;yuva420p&#x27;,&#xA;  &#x27;-metadata:s:v:0&#x27;,&#xA;  &#x27;alpha_mode="1"&#x27;&#xA;];&#xA;&#xA;const write = (stream, buffer) =>&#xA;    new Promise((resolve, reject) => {&#xA;        stream.write(buffer, error => {&#xA;            if (error) reject(error);&#xA;            else resolve();&#xA;        });&#xA;    });&#xA;&#xA;var server = app.listen(8081, function () {&#xA;var host = server.address().address&#xA;var port = server.address().port&#xA;console.log("Example app listening at http://%s:%s", host, port)&#xA;})&#xA;

    &#xA;

    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.&#xA;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 ?

    &#xA;