Recherche avancée

Médias (2)

Mot : - Tags -/rotation

Autres articles (53)

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

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

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (11232)

  • ffmpeg can't read png data on iphone

    10 octobre 2014, par user2789801

    I’m using ffmpeg to decode a png picture and use the AVFrame as a opengl texture.
    But the strangest thing is that I can get the png converted to opengl texture nicely on a iphone simulator, but I got a blank texture on a real iphone.

    on both simulator and iphone, I got a null pointer for AVFrame’s data

    avcodec_decode_video2(codecContext/* AVCodecContext* */,frame /* AVFrame */,&finished,&tempPacket);

    Then I covert the color space to AV_PIX_FMT_RGBA

    void convertToRGBColor()
    {
       int numBytes = avpicture_get_size(
                                     AV_PIX_FMT_RGBA,
                                     codecContext->width,
                                     codecContext->height);
       uint8_t *buffer = (uint8_t *)av_malloc(numBytes);
       avpicture_fill(rgbFrame/* AVFrame* */, buffer, AV_PIX_FMT_RGBA, codecContext->width, codecContext->height);

       struct SwsContext *img_convert_ctx = NULL;
       img_convert_ctx = sws_getCachedContext(
                            img_convert_ctx,
                            codecContext->width,
                            codecContext->height,
                            codecContext->pix_fmt,
                            codecContext->width,
                            codecContext->height,
                            COLOR_SPACE,
                            SWS_BILINEAR,
                            NULL,
                            NULL,
                            NULL);

       if( !img_convert_ctx )
       {
           fprintf(stderr, "Cannot initialize sws conversion context\n");
       }

       sws_scale(img_convert_ctx,
                 frame->data,
                 frame->linesize,
                 0,
                 codecContext->height,
                 rgbFrame->data,
                 rgbFrame->linesize);
       sws_freeContext(img_convert_ctx);
    }

    On a simulator, rgbFrame’s data[0] will be a valid pointer, but on a iphone, it’s null.

    So, does anyone had the same problem before ?

  • FFMPEG : Videos converted from FLV to MP4 does not play in iPod but works in iPhone

    22 juin, par Shakti Singh

    I used below command to convert videos from FLV,M4V to MP4.

    


    


    ffmpeg -y -i video_1336406262.flv -vcodec libx264 -vpre slow -vpre
ipod640 -b 250k -bt 50k -acodec libfaac -ac 2 -ar 48000 -ab 64k -s
480x320 video_1336406262.mp4

    


    


    The videos converted from M4V to MP4 are playing very well in both iPhone and iPod but the videos converted from FLV to MP4 does not work in iPod but does in iPhone.

    


    In the video area of HTML5 page iPod even does not show the play symbol.

    


    I am using the same command to convert from both FLV and M4V to MP4.

    


  • FFMPEG : Videos converted from FLV to MP4 does not play in iPod but works in iPhone

    3 juin 2012, par Shakti Singh

    I used below command to convert videos from FLV,M4V to MP4.

    ffmpeg -y -i video_1336406262.flv -vcodec libx264 -vpre slow -vpre
    ipod640 -b 250k -bt 50k -acodec libfaac -ac 2 -ar 48000 -ab 64k -s
    480x320 video_1336406262.mp4

    The videos converted from M4V to MP4 are playing very well in both iPhone and iPod but the videos converted from FLV to MP4 does not work in iPod but does in iPhone.

    In the video area of HTML5 page iPod even does not show the play symbol.

    Could someone help here ?

    I am using the same command to convert from both FLV and M4V to MP4.

    Thanks