Recherche avancée

Médias (0)

Mot : - Tags -/upload

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (13)

  • Mediabox : ouvrir les images dans l’espace maximal pour l’utilisateur

    8 février 2011, par

    La visualisation des images est restreinte par la largeur accordée par le design du site (dépendant du thème utilisé). Elles sont donc visibles sous un format réduit. Afin de profiter de l’ensemble de la place disponible sur l’écran de l’utilisateur, il est possible d’ajouter une fonctionnalité d’affichage de l’image dans une boite multimedia apparaissant au dessus du reste du contenu.
    Pour ce faire il est nécessaire d’installer le plugin "Mediabox".
    Configuration de la boite multimédia
    Dès (...)

  • 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 (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

Sur d’autres sites (2373)

  • ffmpeg is looping / hanging up

    18 mars 2017, par Zara Rebecka Elisabeth Zentio

    I have a video that i created from 3 other videos (merged them with FFMPEG).
    Video Plays fine, but when i try to also add an watermark overlay on the video file i created it start to loop. And if i force it to close the output will be of one movie only.

    I have 3 video files they have diffrent ScreenResulutions.
    I merg those 3 video files in FFMPEG with this command via commandline

    ffmpeg -i  "concat:intermediate1.ts|intermediate2.ts|intermediate3.ts" -c copy -bsf:a aac_adtstoasc myoutputfile.mp4

    The out put works fine all 3 movies are merged, and i can play it like normal.

    Now i try to ad a water mark to this new created video file.

    ffmpeg -i mainmovie.ts -i mywatermark.png -filter_complex "overlay=10:10:enable='lt(mod((t\\),20),7)'" WatermarkedVideoFile.mp4

    The issue here is that it starts to loop seems like it hangs on the first 6 secounds and this seems to be the video that was in intermediate1.ts so i think the issue is that the 3 files i merged to one video file may have diffrent Resulutions and this is why the overlay script dont work proper.

    So my question is can i re-encode it somehow and force it so it will have same resulution while keeping aspect ratio ?

  • mp4 files / SSTS info

    3 avril 2017, par Thomas

    I am trying to find the fastest way to get a list of all I-frames in a movie.

    So far, I tried ffprobe, but it is quite slow and I have been looking for a faster solution.

    The other option I found is using the mp4parser tool ; it outputs a file with this sectio, the SSTS info :

    -------------------------------------------------------------------------
    /moov/trak/mdia/minf/stbl/stss                              @ 0x1c152d8
     Box size: 0x44    version: 0x0    flags: 0x0
     entry_count:              0xd
       sample_number:
        0x1    0x12d    0x259    0x385    ....

    I can see that I have 13 I frames and they’re spaced 300 frames apart (from the 4 values displayed)

    Is the spacing of I frames constant through movies ? or do I need to write my own SSTS parser to get the whole list ?

  • How to stream to a element using fluent-ffmpeg

    19 mai 2017, par Lukas

    I am writing on an electron application and I am trying to use fluent-ffmpeg to create a streaming server and use a <video></video> element to consume that stream. I wonder how to set up fluent-ffmpeg and the <video></video> using flowplayer like this :

    Server :

    const express = require('express');
    const ffmpeg = require('fluent-ffmpeg');

    const app = express();

    app.use(express.static(__dirname + '/flowplayer'));

    app.get('/', function(req, res) {
       res.send('index.html');
    });

    app.get('/video/:filename', function(req, res) {
       res.contentType('flv');
       // make sure you set the correct path to your video file storage
       const pathToMovie = '/Users/luke/Movies/' + req.params.filename;
       const proc = ffmpeg(pathToMovie)
       // use the 'flashvideo' preset (located in /lib/presets/flashvideo.js)
           .preset('divx')
           // setup event handlers
           .on('end', function() {
               console.log('file has been converted succesfully');
           })
           .on('error', function(err) {
               console.log('an error happened: ' + err.message);
           })
           // save to stream
           .pipe(res, {end:true});
    });

    app.listen(4000);

    Webseite with <video></video> element :

     
       
       <code class="echappe-js">&lt;script src=&quot;https://code.jquery.com/jquery-1.11.2.min.js&quot;&gt;&lt;/script&gt;

    &lt;script src='http://stackoverflow.com/feeds/tag/flowplayer-7.0.4/flowplayer.min.js'&gt;&lt;/script&gt;

    &lt;script&gt;<br />
       require('./ffmpeg-server.js');<br />
     &lt;/script&gt;

    The main problem I see right now is to find a way to set up the right settings for ffmpeg (currently I am using the divx preset together with the video type video/mpeg4 in the HTML which (of course) does not work.