Recherche avancée

Médias (91)

Autres articles (87)

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

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

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

Sur d’autres sites (12162)

  • How to overlay two video side by side and play one by one by using ffmpeg

    3 avril 2017, par Saravanan MB

    I used this below command

    ffmpeg -i input1.mp4 -i input2.mp4
     -filter_complex '[0:v]scale=160:240[v1],[v1]pad=320:240[int];[1:v]scale=160:240[v2];
                      [int][v2]overlay=W/2:0[vid];amix=inputs=2 [a]'
     -map [vid] -map [a] -map [vid] -map [a] output.mp4 -y**

    but in output.mp4 the both input videos are playing at the same time. i want to play one by one.

    i want output to be like enter image description here

    i want the output video in the image and it should play one by one

  • ffmpeg + play video loop

    3 septembre 2013, par Javier Ramírez

    Does anyone know how to make a video using ffmpeg + Opengl play continuously ?. Because this is only played once

    tiempo = glfwGetTime();
    duracion = 1.0/25.0; // 1 second / 25 fps

    while(1){

    ...        

     if(glfwGetTime() > tiempo + duracion){
       if(av_read_frame(pFormatCtx,&packet) >= 0){
         if(packet.stream_index == 0){
           avcodec_decode_video2(pCodecCtx,pFrame,&frameFin,&packet);
           if(frameFin)sws_scale(img_convert_ctx,pFrame->data,pFrame->linesize,0,pCodecCtx->height,pFrameRGB->data,pFrameRGB->linesize);
         }
         av_free_packet(&packet);
       }
       tiempo += duracion;
     }

    ...

    }

    I know av_read_frame function (...) returns 0 if the end of file. But how do I make the function again returns a value other than zero ? o How I can I make the video is constantly repeated ?

  • rtp : Fix play multiple multicast streams with the same port

    7 janvier 2016, par Zhao Zhili
    rtp : Fix play multiple multicast streams with the same port
    

    We cannot play multiple multicast streams with the same port at the
    same time. This is because both rtp and rtcp port are opened in
    read-write mode, so they will not bind to the multicast address. Try
    to make rtp port as read-only by default to solve this bug.

    Signed-off-by : Zhao Zhili <wantlamy@gmail.com>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/rtpproto.c
    • [DH] libavformat/rtsp.c