Recherche avancée

Médias (0)

Mot : - Tags -/diogene

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

Autres articles (50)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • Prérequis à l’installation

    31 janvier 2010, par

    Préambule
    Cet article n’a pas pour but de détailler les installations de ces logiciels mais plutôt de donner des informations sur leur configuration spécifique.
    Avant toute chose SPIPMotion tout comme MediaSPIP est fait pour tourner sur des distributions Linux de type Debian ou dérivées (Ubuntu...). Les documentations de ce site se réfèrent donc à ces distributions. Il est également possible de l’utiliser sur d’autres distributions Linux mais aucune garantie de bon fonctionnement n’est possible.
    Il (...)

Sur d’autres sites (10675)

  • 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,

  • 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

  • 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 :(