Recherche avancée

Médias (1)

Mot : - Tags -/graphisme

Autres articles (37)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

Sur d’autres sites (5246)

  • Console Log Stream information using ffmpeg node.js

    5 mars 2019, par Matteo

    I have created a work application that links in room encoders to live stream onto Facebook, Twitter and Youtube. I am wondering as to how to properly log the stream quality on the CMD. Below are snippets of the code and where I think the logic should be to properly pull the stream quality and display it in the cmd :

    Pushing Stream :

       if (req.query.french_facebook) {
     var streamComplete = req.query.fb_fre_streamURL + req.query.fb_fre_streamKey;
     temp = checkValidity('Facebook', 'French', req.query.fb_fre_streamURL, req.query.fb_fre_streamKey, status);
     status = temp[0];
     valid = temp[1];
     if (valid == true) {
       var command = `ffmpeg -re -i ${inputURL2('French',req.query.fb_fre_venue)} -c:v copy -acodec aac -ac 1 -ar 44100 -x264-params keyint=60:scenecut=0 -strict -2 -f flv "${streamComplete}"`;
       var process = nodeCmd.run(command);
       createStream(req.query.username, 'Facebook', 'French', req.query.fb_fre_streamKey, process.pid);
     } else {
       console.error("ERROR: unable to create stream");
     }
    }

    App initialization :

       var createError = require('http-errors');
    var express = require('express');
    var path = require('path');
    var cookieParser = require('cookie-parser');
    var logger = require('morgan');

    var indexRouter = require('./routes/index');
    var usersRouter = require('./routes/users');

    var app = express();

    var fs = require('fs');

    // view engine setup
    app.set('views', path.join(__dirname, 'views'));
    app.set('view engine', 'ejs');

    // app.use(logger('dev'));
    app.use(express.json());
    app.use(express.urlencoded({ extended: false }));
    app.use(cookieParser());
    app.use(express.static(path.join(__dirname, 'public')));

    app.use('/', indexRouter);
    app.use('/users', usersRouter);

    // catch 404 and forward to error handler
    app.use(function(req, res, next) {
     next(createError(404));
    });

    // error handler
    app.use(function(err, req, res, next) {
     // set locals, only providing error in development
     res.locals.message = err.message;
     res.locals.error = req.app.get('env') === 'development' ? err : {};

     // render the error page
     res.status(err.status || 500);
     res.render('error');
    });

    module.exports = app;

    If there is anything I am not making clear please let me know

  • ffmpeg droping session when there is no input , need to wait for an input

    25 mars 2019, par Hovo

    I am trying to live stream to facebook from an application, which is writing frames into image sequence of XXX_Frame.jpg inside a folder.

    I am using a ffmpeg with these commands

    ffmpeg -y -r 15 -f image2 -start_number 0 -i "%0d_Frame.jpg" -i "test.mp3" -muxdelay 1 -preset slow -flush_packets 1 -ar 44100 -b:a 128k -profile:v baseline -acodec aac -vf scale=1280x720 -vcodec libx264 -crf 15 -r 50 -pix_fmt yuvj420p -minrate 50k -maxrate 150k -bufsize 8192k -g 1 -b:v 1200 -f flv "rtmp ://live-api-s.facebook.com:80/rtmp/xxxxxx"

    It is starting to stream faster than 15 frames per second and whenever it finishes up streaming of the available frames it is killing the process and returning error.
    It would be perfect if it was possible to slow down the mux’s read from the input to frame rate speed.

    [flv @ 000001f34347cf00] Failed to update header with correct duration.
    [flv @ 000001f34347cf00] Failed to update header with correct filesize.
    Error writing trailer of rtmp ://live-api-s.facebook.com:80/rtmp/xxxxxx : Error number -10053 occurred

    Any help would be appreciated.

    Expected result is to stream continuously without losing the connection , even sending the last available image continuously.

  • FFMPEG delay mutliple overlay videos (with different delays)

    28 avril 2019, par Bamba675

    I’m trying to overlay a video (for example a report) with different other videos or images, like hints to the facebook page or a hint to the website. These other videos or images are smaller than the original and sometimes transparent (rgba).

    I already tried to overlay multiple videos, which works pretty well :

    ffmpeg -i 30fps_fhd.mp4 -i sample.mp4 -i timer.webm -i logo.jpg -filter_complex "overlay = x=100:y=1000, overlay = x=30:y=66:eof_action=pass, overlay = x=0:y=0" -acodec copy -t 70 out.mp4

    But now, I want to start some videos or images not at the beginning of the video, instead after a period of time.
    I found flags like ’itsoffset’ or ’setpts’, but I dont know how to apply them on this ’multiple video / image overlay command’.

    LG Bamba