Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (40)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (7160)

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