Recherche avancée

Médias (0)

Mot : - Tags -/configuration

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

Autres articles (54)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (11059)

  • Save base64 bit encoded tring to the file in php

    10 mai 2016, par ppeiris

    I have a php application which takes base64 encoded wav file from the client (browser) via ajax and save to the database. No I have to re encode the wav file using ffmpeg before I save the file in to the database (I can do this using system calls). But the questions is I need the input file (name.wav) for ffmpeg to do the work and as of right now I have only base64 encoded string in my php variable. I need to save this file to the disk using these base64 encoded string. How can I do this in php.

    my server is running on RedHat and apache.

    Thanks for your help in advance

    Prabath

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

  • javafx show FFmpegFrameGrabber javacv

    26 mai 2017, par Anastasia Sisordia

    I use org.bytedeco.javacv. Created

    FFmpegFrameGrabber streamGrabber = new FFmpegFrameGrabber(filename);

    When I use CanvasFrame i just grab the streamGrabber and convert this frame to BufferedImage and show this image canvas.showImage(bi);

    And this works perfect.

    But if I want to show this image inside the GridPane , I convert BufferedImage to javafx.scene.image.Image :

    Image image= SwingFXUtils.toFXImage(bi, null);

    And my programm catch OutOfMemoryError .

    May I add Frame (org.bytedeco.javacv.Frame) or BufferedImage to my GridPane without conver to image ? What need to do ?