Recherche avancée

Médias (1)

Mot : - Tags -/epub

Autres articles (82)

  • 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

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

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

Sur d’autres sites (5722)

  • ffmpeg specify image start/end time by seconds in slideshow

    31 décembre 2022, par Martin

    I have an ffmpeg command that when ran on command prompt in win10, will combine 2 mp3 files and 1 image file into a low resolution .mkv video file.

    


    06:23 = 383 = song1.mp3 length
05:40 = 340 = song2.mp3 length
12:03 = 723 = estimated total video length
12:04 = 724 = actual video length


    


    Command that generates video file :

    


    ffmpeg -loop 1 -framerate 2 -i images/img1.png  -i "audio files/song1.mp3"  -i "audio files/song2.mp3"  -c:a pcm_s32le  -filter_complex concat=n=2:v=0:a=1  -vcodec libx264  -bufsize 3M  -filter:v "scale=w=640:h=638,pad=ceil(iw/2)*2:ceil(ih/2)*2"  -crf 18  -pix_fmt yuv420p  -shortest  -tune stillimage  -t 724 audioAndImageIntoVideo.mkv 


    


    The current command just uses -i images/img1.png as a static image for the entire video. But I want to have one image for the duration of the first song, and a second image for the duration of the second song. With a timeline like so :

    


    song1.mp3 and img1.png start at 00:00 and end at 06:23 ( 383 seconds )
song2.mp3 and img2.png start at 06:23 ( 383 seconds ) and end at 12:03 ( 723 seconds )


    


    is there any flag to specify the timeline of two images ? Right now I am just trying to get them in order in a video, and then I can change the individual img resolution / size / stretching details for how it fills the frame

    


  • ffmpeg Image2pipe command Stuck infinitely while taking image stream from PhantomJS

    15 mai 2019, par Link2 Video

    Let me Explain by my Code what issue i am facing...

    This is my js file for using with PhantomJS. It simple tell it to open a page and take screenshots of it and store them in stdout.

    var page = require("webpage").create();
    page.viewportSize = { width: 640, height: 480 };
    page.open("http://www.goodboydigital.com/pixijs/examples/12-2/", function() {
    setInterval(function() {
    page.render("/dev/stdout", { format: "png" });
    }, 25);
    });

    And this is the cmd command I’m running to receive the captured images in ffmpeg in Windows Command Prompt.

    phantomjs runner.js | ffmpeg -y -c:v png -f image2pipe -r 25 -t 10  -i - -c:v libx264 -pix_fmt yuv420p -movflags +faststart dragon.mp4

    This command successfully starts the processes of PhantomJS and ffmpeg. But nothing happens for quite some time, after 15 minutes it gives an error saying :

    "Failed to reallocate parser buffer"

    thats it. I have referenced this code from this site on which the developer claims that it works
    https://mindthecode.com/recording-a-website-with-phantomjs-and-ffmpeg/

    Please see the attached Image for more explanation.
    Image of Code

  • FFMPEG blackdetect output

    25 juin 2018, par MertG

    I am currently working on detecting black frames in my video. I tried lots of examples on my windows own command prompt with ffmpeg and got good result. Then I started using what I learned on java platform. When I used same string on my java code, there seems to be a problem, because I get exit code 1. I print my results on txt file so ofc there is no output too since its not working. My code is below ;

       public class MyCode{
    public static void main(String[] args){

    Runtime runtime = Runtime.getRuntime();
    Process process = runtime.exec("C:\\Users\mg\\Desktop\\test\\ffmpeg -i C:\\Users\mg\\Desktop\\test\\video.mp4 -vf blackdetect=d=0.1:pix_th=.1 -an -f null 2> C:\\Users\mg\\Desktop\\test\\output.txt C:\\Users\mg\\Desktop\\test");

    BufferedReader input = new BufferedReader(new InputStreamReader(process.getInputStream()));

    int exitCode = process.waitFor();
    System.out.println(exitCode);
    }

    btw this C:\\Users\mg\\Desktop\\test\\ffmpeg -i C:\\Users\mg\\Desktop\\test\\video.mp4 -vf blackdetect=d=0.1:pix_th=.1 -an -f null 2> C:\\Users\mg\\Desktop\\test\\output.txt C:\\Users\mg\\Desktop\\test
    part works on command promt but not on java.