Recherche avancée

Médias (91)

Autres articles (37)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

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

  • Configuration spécifique pour PHP5

    4 février 2011, par

    PHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
    Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
    Modules spécifiques
    Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)

Sur d’autres sites (3397)

  • FFMPEG, AVCONV:Overylaying multiple videos with offset

    4 novembre 2014, par user1064504

    I am trying to overlay multiple videos in a split screen, with different offset (Audio, video both offset), initially I tried offsetting & overlaying like following

    avconv -i 1.webm -itsoffset 2 -s 640x480 -vf "movie=1.webm, scale=320:480 [vid2]; [vid2] overlay=0:0 [basis1]; [basis1][1] overlay=320:0" splitScreenOut.mp4

    & overlayed videos being offset by :

    movie=overlay.avi:seek_point=1.4

    But this approach didn’t worked on my end, the -itsoffset offsets entire video output & seek_point wasn’t recognized by my avconv build.

    Then I tried offsetting each video individually.

    avconv -itsoffset 4 -i 1.webm -c copy tmp1.webm

    & simply overlaying

    avconv -i tmp1.webm -s 640x480 -vf "[in] scale=640/3:480, pad=3.01*iw:ih [video0]; movie=tmp2.webm, scale=640/3:480 [video1];[video0][video1] overlay=(640)/3:0 [VidO1]; movie=tmp3.webm, scale=640/3:480 [video2];[VidO1][video2] overlay=(640/3)*2:0 [out]" -b:v 768k Output.webm<

    The problem is all video start in split screen, from offset of first video as if individually offsetting didn’t worked.

  • How to run the ffmpeg command using node.js ?

    12 juillet 2019, par Sachin Shah

    In node, When I got the request from /playMovie from App, I need to broadcast the video.

    When I execute this command in terminal it works fine.

    ffmpeg -re -i movie.mkv  -c:v libx264 -preset superfast -tune zerolatency -c:a aac -ar 44100 -f flv rtmp://192.168.1.13/live/myStream

    Now I’m going to setup this dynamic.

    app.use('/playMovie', function (req, res) {
     console.log("playMovie...");
     let filePaht = 'movie.mkv';
     let fileName = 'marvel-avengers';

     let ffmpeg = spawn(`ffmpeg -re -i ${filePaht}  -c:v libx264 -preset
       superfast -tune zerolatency -c:a aac -ar 44100 -f flv
    rtmp://192.168.1.13/live/${fileName}`);
        ffmpeg.on('exit', (statusCode) => {
      console.log("statusCode ::::::::::::::::::::::::::::::::: ",statusCode);
      if (statusCode === 0) {
         console.log('conversion successful')
      }
    })

    ffmpeg
     .stderr
     .on('data', (err) => {
       console.log('err:', new String(err))
     })
    });

    Refrence Link

    While run the app I got this error.

    playMovie...
    12/07/2019 15:27:17 31722 [ERROR] uncaughtException { Error: spawn ffmpeg -re -i movie.mkv  -c:v libx264 -preset superfast -tune zerolatency -c:a aac -ar 44100 -f flv rtmp://192.168.1.13/live/marvel-avengers ENOENT
    at _errnoException (util.js:1022:11)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:190:19)
    at onErrorNT (internal/child_process.js:372:16)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)
    code: 'ENOENT',
    errno: 'ENOENT',
    syscall: 'spawn ffmpeg -re -i movie.mkv  -c:v libx264 -preset superfast -tune zerolatency -c:a aac -ar 44100 -f flv
    rtmp://192.168.1.13/live/marvel-avengers',
    path: 'ffmpeg -re -i movie.mkv  -c:v libx264 -preset superfast -tune zerolatency -c:a aac -ar 44100 -f flv rtmp://192.168.1.13/live/marvel-avengers',
    spawnargs: [] }
  • Converting image sequence to video with inconsistent frame rate

    4 novembre 2022, par George

    I recently collected video data where the video was generated as image sequences. However, between different video of the same length, different numbers of frames were acquired, which made me think that the image sequence have varied frame rates between videos. So my question is how do I convert this image sequence back to video with accurate duration between frames. Is there a way to get that information from the date and time it was created using a code ? I know ffmpeg seems to be the tools many people use.

    


    I am not sure where to start. I am not very familiar with coding, so already have trouble executing the correct codes.