Recherche avancée

Médias (91)

Autres articles (88)

  • 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

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

Sur d’autres sites (11398)

  • 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: [] }
  • 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.

  • Video with background image

    23 novembre 2012, par Gabriele Murari

    since my video doesn't respect the safe area i thought to make it smaller and fill the background area (the resulting video must be 720x576 px) with a still image.

    So i've created a movie out of a still image (loop_video.mpg) and then i tried to mix it with my input video using it as a watermark. Doing so i lose the audio stream that comes from my input video.

    here my code :

    ffmpeg -i loop_video.mpg -vf \"movie=input.mpg, scale=648:519 [wm];[in][wm] overlay=36:28 [out]\" -b:v 4096k -bufsize 8192k -minrate 2048k -maxrate 8192k -y -t 10 out.mpg

    So i tried to mix the two and keeping just the audio stream of my input video, and then watermarking again, but i have a significant delay between video and audio stream. It seems that the watermark starts after 1 second :

    ffmpeg -i loop_video.mpg -i input.mpg -map 0:0 -map 1:1 -vf \"movie=input.mpg, scale=648:519 [wm];[in][wm] overlay=36:28 [out]\" -b:v 4096k -bufsize 8192k -minrate 2048k -maxrate 8192k -y -t 10 out.mpg

    Someone could help me ?

    Thanks so much