Recherche avancée

Médias (91)

Autres articles (89)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

Sur d’autres sites (4638)

  • Pushing Projects to Github

    17 février 2012, par Multimedia Mike — Game Hacking, Python

    I finally got around to importing some old projects into my Github account. I guess it’s good to have a backup out there in the cloud.

    GhettoRSS
    https://github.com/multimediamike/GhettoRSS
    I describe this as a true offline RSS reader. Technically, it’s arguably not a true offline RSS reader. Rather, it does what most people actually want an offline RSS reader to do.

    I wrote this about 2 years ago when I had a long daily train ride with a disconnected netbook. I quickly learned that I couldn’t count on offline RSS readers simply because most RSS feeds to not contain much meat. Thus, I created a program that follows URLs in RSS feeds, downloads web pages and supporting images and CSS files, and caches them in an offline database which can be read via a local web browser.

    I wrote more information about this little project 2 years ago (here is part 1 and here is part 2). I fixed a few bugs in preparation for posting it but I probably won’t work on this anymore since I don’t have any use for it (the commute is long gone, but I didn’t even use it when I was commuting because I decided I just didn’t care enough to read the feeds on the train).

    xbfuse
    https://github.com/multimediamike/xbfuse
    This is a FUSE module for mounting Xbox/360 optical disc filesystems. Here is when I first discussed it. The tool has had its own little homepage for a long time. This tool has seen some development, as I learned from Googling for “xbfuse”. Regrettably, no one who has modified the tool has ever contacted me about it (at least, not that I can recall). This is unfortunate because the patches I have seen floating around which fix my xbfuse for various installations usually boil down replacing many occurrences of an include path in the autotool-generated build system. There is probably a simpler, cleaner fix.

    gcfuse
    https://github.com/multimediamike/gcfuse
    Written prior to xbfuse, this is a FUSE module for mounting GameCube optical disc filesystems. I first discussed this here and here. This tool has not seen too much direct development although someone eventually used it as the basis for WiiFuse which, as you can predict, mounts optical disc filesystems from Nintendo Wii games.

  • FFmpeg video out of many sources

    2 octobre 2017, par Wlad

    I have to make a 1920x1080 mp4 video out of many videos / pictures.

    There are 1 to 20 Parts (Image). The red area is a 5 second mp4 (1920x1080) video and the white areas are png images (3000x3000). I’m using Node.js to create the Images, so i can use a package or cli without any problems.

    Everything should be in one video and the parts should change every 5 seconds. It gets generated daily by a server, thats why i can’t use movie maker or something like that.

    My questions :

    1. Is it possible with FFmpeg or is there a better way ?
    2. Is it possible to make a simple transition between the parts ?
  • Node js request huge amount of pictures

    5 janvier 2019, par Manos Koutselakis

    I am trying to request a huge amount of images on node js (n > 3000)
    and then save them into a folder.
    I have tried using request library and request-promise.
    The problem is that if the number of pictures is too big some pictures do not complete downloading, leaving incomplete data or get an error(an empty .jpeg file). Is there a better way of downloading huge amounts of pictures ?
    Also i need when the pictures all download to request a function compile()
    to make them into a video. I am using ffmpeg for that.

    Below are 2 ways i tried doing this.

    const req = require('request');
    const request = require('request-promise');
    const fs = require('fs');
    const ffmpegPath = require('@ffmpeg-installer/ffmpeg').path;
    const ffmpeg = require('fluent-ffmpeg');
    ffmpeg.setFfmpegPath(ffmpegPath);

    function downloadImgs(imgUrls) {
     let promises = [];
     let prom;
     for (let i = 0; i < imgUrls.length; i++) {
       imgPath = `assets/pics/st_${pad(i + 1, 3)}.jpg`

       prom = request(imgUrls[i]);
       prom.on('error', () => console.log('err'));
       prom.pipe(fs.createWriteStream(imgPath));
       promises.push(prom);
     }

     Promise.all(promises).then(() => {
       console.log('I Run');
       compilee();
     });

     //SECOND TRY-----------------------------------------
     for (let i = 0; i < imgUrls.lengh; i++) {
       imgUrl = imgUrls[i];
       req(imgUrl)
         .on('error', () => console.log("img error", imgUrl))
         .pipe(fs.createWriteStream(`assets/pics/st_${pad(i + 1, 3)}.jpg`)).on('close', () => {
           console.log('downloaded', x)
         })
     }
     compilee();

    //---------------------------------------------------------

     function compilee() {
       command
         .on('end', onEnd)
         // .on('progress', onProgress)
         .on('error', onError)
         .input('assets/pics/st_%03d.jpg')
         .inputFPS(5)
         .output('assets/output/pepe.mp4')
         .outputFps(30)
         .run();
     }

    The errors i am getting for the first : UnhandledPromiseRejectionWarning : RequestError : Error : socket hang up

    and the second :
    Error : socket hang up
    at createHangUpError (_http_client.js:330:15)
    at TLSSocket.socketOnEnd (_http_client.js:433:23)
    at TLSSocket.emit (events.js:187:15)
    at endReadableNT (_stream_readable.js:1098:12)
    at process.internalTickCallback
    (internal/process/next_tick.js:72:19) code : ’ECONNRESET’ }

    Also, should i download the pictures on the server or on the client if i want to sent the video to the client immediately.