Recherche avancée

Médias (0)

Mot : - Tags -/interaction

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

Autres articles (51)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

  • 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

  • Taille des images et des logos définissables

    9 février 2011, par

    Dans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
    Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)

Sur d’autres sites (8418)

  • Loop a video with ffmpeg

    4 mars 2015, par Ellebkey

    I am triying to loop a short video using ffmpeg in python, and i have the next code :

    FFMPEG_BIN = "ffplay"

    import subprocess as sp
    import os  

    def playVideo(video):
       command = [ FFMPEG_BIN,video,'-autoexit']        
       pipe = sp.Popen(command, stdout = sp.PIPE, bufsize=10**8, stderr = sp.PIPE)
       pipe.wait()

    def playPrincipal():
       command = [ FFMPEG_BIN,"videos/01-bienvenida.webm","-autoexit","-an","-loop 0"]
       pipe2 = sp.Popen(command, stdout = sp.PIPE, bufsize=10**8, stderr = sp.PIPE)

    but the video doesnt show on my second method, im making a body gesture recognition so the point is to show a principal video stay on a loop playPrincipal() like a background, and when I detect a position show other video in front of the first video,that part alredy works, and when the video ends the first video still playing. My second though was to make a large video and play it, but after around 1.30min the screen frezze, so the video just stop.

  • Issue while generating thumbnail using ffmpeg image not syncing with the one in video

    17 janvier 2023, par Ravinarayanan

    I am trying to generate thumbnail for a video buffer using ffmpeg and pipe. The image created is not syncing with the frame in video.

    


    Below is the command am i missing anything ?

    


    args := []string"-ss", "0", //ddmmss[0],
"-i", "pipe :",
"-vframes", "1",
"-f", "image2", "pipe:1"

    


    cmd := exec.Command("../ffmpeg", args...)


    



    


    cat AAAA_BBB_2340_0.ts|./ffmpeg -ss 00:00:45 -i pipe : -vframes 1 -f image2 00-00-45-3.png

    


  • ffmpeg contentiously output stream ("multiplexing")

    11 mai 2022, par Marc

    I play for fun with ffmpeg and try to create a cinema like stream.
The idea behind this is to have a contentiously/non ending output stream.

    


    As input i have 2 other streams, which are shown alternating.
For Example, stream0 is the "advertising" input, stream1 the actual movie.

    


    The question is now how do i tell ffmpeg : if stream0 has ended/paused show, stream1.

    


    This is what i have put together :

    


    const cp = require("child_process");
const fs = require("fs");

const intro = fs.createReadStream("./intro.mp4");
const video = fs.createReadStream("./video.mp4");

//intro.pause();
video.pause();

const ffmpeg = cp.spawn("/usr/bin/ffmpeg", [
    "-loglevel", "8", "-hide_banner",
    //"-progress", "pipe:3",
    "-i", "pipe:4", // intro
    "-i", "pipe:5", // video
    //"-map", "0:a",
    //"-map", "1:v",
    "-c:v", "copy",
    //"-filter_complex", "concat=n=3:v=0:a=1",
    "-y",
    `output.mp4`,
], {
    windowsHide: true,
    stdio: [
        "inherit", "inherit", "inherit",
        "pipe", "pipe", "pipe"
    ],
});

ffmpeg.on("close", () => {
    console.log("Merging Completed");
});

setTimeout(() => {

    intro.close();
    video.resume();

}, 1000);

intro.pipe(ffmpeg.stdio[4]);
video.pipe(ffmpeg.stdio[5]);


    


    The code above just takes the intro video and write it to "output.mp4". The play/pause behavior described above does not work.