Recherche avancée

Médias (1)

Mot : - Tags -/publicité

Autres articles (38)

  • 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

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (3097)

  • 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 : MP4 videos are not playing properly in iPhone, iPod, iPad

    26 janvier 2020, par Shakti Singh

    I am converting videos from m4v, flv to MP4 for iPhone, iPod, iPad.

    I am using the below command to convert these videos

    ffmpeg -y -i video_1336500693.m4v -vcodec libx264 -vpre slow -vpre
    ipod640 -b 250k -bt 50k -acodec libfaac -ab 56k -ac 2 -s 480x320
    video_1336500693.mp4

    The video part of this mp4 file is working fine but the audio is not working properly. I am using HTML5 for this.

    The audio works for first 8-10 seconds but after that audio does not work and the strange thing is if I jump to forward or backward the audio works.

    Can anyone suggest what’s going wrong ?

  • ffmpeg image conversion works for nokia conformation heic files but not iphone heic images

    2 novembre 2020, par user12879350

    Below ffmpeg image conversion works for nokia conformation heic files but not iphone heic images

    



    ffmpeg -i c001.heic -c:v mjpeg -frames:v 1 -pix_fmt rgb48 outs.jpg 
(works for nokia conformation files https://github.com/nokiatech/heif_conformance/tree/master/conformance_files 
but not iphone images )

    



    For iphone images ,it throws the below exception
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000021bcaba9980] moov atom not found
image4.heic : Invalid data found when processing input

    



    Is there anything I'm missing