Recherche avancée

Médias (17)

Mot : - Tags -/wired

Autres articles (64)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

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

  • 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

Sur d’autres sites (8923)

  • Emulate iphone video stream from file to RTMPS in ffpmeg ?

    28 juillet 2017, par Alex808

    Try to do this by command

    ffmpeg -re -i IMG_0450.MOV -vcodec libx264 -profile:v main -preset:v medium -r
    30 -g 60 -keyint_min 60 -sc_threshold 0 -b:v 2500k -maxrate 2500k -bufsize
    2500k -filter:v scale="trunc(oha/2)2:720" -sws_flags lanczos+accurate_rnd -
    acodec libfdk_aac -b:a 96k -ar 48000 -ac 2 -f flv rtmps:\\...

    but witout success :(

  • Upload video that filmed by iPhone [closed]

    6 novembre 2012, par user1801625

    Possible Duplicate :
    Rotating videos with FFmpeg

    When somebody film a video and upload to my website It appears in the horizontally
    How can I make this vertical ? using ffmpeg ?

    and its only heppend if he film its horizontally.

    Sorry for my English

  • video frames render slow using opengl and ffmpeg in iphone

    17 février 2012, par resident_

    I'm developing an video player for iPhone. I'm using ffmpeg libraries to decode frames of video and I'm using opengl 2.0 to render the frames to the screen.

    But my app is very slow render the frames and some videos played slowly.

    I have played AVI, MOV, FLV, MP4 and WMV, and only several AVI files are correct played.

    I don't have much idea of ffmpeg and opengl, and I have used a tutorials and examples until now. But I think that the problem can be two things :

    1. The render method is very slowly. I don't use correctly the glTexSubImage2D function.

    2. I don't scale the frames correctly. I don't use correctly the sws_getContext function.

    I'm here parts of my code, to see if anyone can help me.

    So I use sws_getContext

    ctx->p_sws_ctx = sws_getContext(ctx->p_video_ctx->width,
                                   ctx->p_video_ctx->height,
                                   ctx->p_video_ctx->pix_fmt,
                                   ctx->p_video_ctx->width,
                                   ctx->p_video_ctx->height,
                                   PIX_FMT_RGB565, SWS_FAST_BILINEAR, NULL, NULL, NULL);




    // Framebuffer for RGB data
    ctx->p_frame_buffer = malloc(avpicture_get_size(PIX_FMT_RGB565,
                                                   ctx->p_video_ctx->width,
                                                   ctx->p_video_ctx->height));

    avpicture_fill((AVPicture*)ctx->p_picture_rgb, ctx->p_frame_buffer, PIX_FMT_RGB565,
                  ctx->p_video_ctx->width,
                  ctx->p_video_ctx->height);

    My render method of opengl 2.0

    - (void) render: (uint8_t*) buffer

    [EAGLContext setCurrentContext:context] ;

    glBindFramebuffer(GL_FRAMEBUFFER, defaultFramebuffer);
    glViewport(0, 0, backingWidth, backingHeight);

    glClearColor(0.0f, 0.0f, 0.0f, 1.0f);

    glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);

    // OpenGL loads textures lazily so accessing the buffer is deferred until draw; notify
    // the movie player that we're done with the texture after glDrawArrays.          
    glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, mFrameW, mFrameH, GL_RGB,GL_UNSIGNED_SHORT_5_6_5, buffer);

    glDrawArrays(GL_TRIANGLE_STRIP, 0, 4);


    [moviePlayerDelegate bufferDone];

    glBindRenderbuffer(GL_RENDERBUFFER, colorRenderbuffer);
    [context presentRenderbuffer:GL_RENDERBUFFER];

    Someone, can I Help me ?

    Thanks,