Recherche avancée

Médias (91)

Autres articles (29)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

Sur d’autres sites (4411)

  • ffmpeg javacv audio - integrate audio into video javacv

    16 juillet 2014, par Cyril Lequeux

    I’ve looked for this issue since a while but I didn’t find out any solution...
    I want to create a video from pictures with javacv (great, it works). But now I want to put in a sync way audio into my video. I heard I had to make a byte array with the sound data and then record() according to the audiobitrate/8 = audiobyterate but i didn’t find a simple sample...I’m not the first asking this question but all the same questions are still unanswered

       IplImage Image = cvLoadImage("data/photo.jpg");
       FrameRecorder recorder = FFmpegFrameRecorder.createDefault("out.avi", 1920, 1080);
       recorder.setVideoCodec(AV_CODEC_ID_MPEG4);
       recorder.setFrameRate(30);
       recorder.setFormat("avi");
       recorder.start();
           for(int s=0; s<10; s++){
               for(int i=0; i<30; i++){
                   recorder.record(Image);
    //Here I want to record my music.mp3 stream
               }
           }
           recorder.stop();

    Please help me, I’m desesperate :p
    Ps : I’m using javacv 0.3 FFMPEG 1.06 OpenCv 2.4.3

  • ffmpeg : How to add an image to the end of a video, freeze framing the last frame and using a fade

    26 novembre 2019, par Jeremy Thomerson

    (I’ve looked at a number of other similar questions, but can’t find any with an answer that actually works)

    I often need to combine a short video clip with in image. Typically, the video clip is a short explanation of a concept, followed by an image that helps the user visualize the concept. Rarely do the frame sizes / resolution of the video and image match. Typically, I need every second of the video clip to display, so even though I would like a cross-fade between the video and image, I’d like to freeze-frame the final frame of the video, and then cross-fade between that frozen frame and the following image.

    I’d like both the video and image, despite the disparity in their resolutions, to "fit to frame", such that I get an output that’s either a) the size of the larger asset, or b) some fixed size (like 720p), and in either case, both the image and video are scaled to fit into those dimensions, while maintaining their original aspect ratio.

    For example, given the following two assets (video and image), how could I accomplish what’s described above ? (Note : these assets are just ones I found that are available for examples, and not the actual type of content I’d be using ; however, they do accurately represent the disparity in resolution and aspect ratio I’d often have between video and image file).

    Bonus : At times, I’d like to :

    1. Reverse the order (image, and then video), or
    2. Have a video and then multiple images, one after the other, faded between each, or
    3. Video, fade to image, then more video

    Note : I’m running ffmpeg on Mac / OSX, installed via brew

    Thanks so much if you can help !

  • Play RTP stream in android

    28 mai 2014, par AndroidOptimist

    I know this question is asked several times, but still i didn’t find complete answer for this.

    I would like to play RTP streams in android. From my search i understand that android does not support playing RTP stram and using ffmpeg i can play RTP videos. So, i browsed for good ffmpeg tutorial for playing RTP videos but still i didn’t find anything relevant to my search. I tried like

    ffmpeg play

    rtp using ffmpeg

    and so on.

    but still i don’t know how t play. I googled but couldn’t find. Can anyone please tell me

    1) how to play rtp streamed videos in android using ffmpeg.

    2) please suggest me some good examples or tutorials for the same.

    Thanks in advance.