Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (104)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

Sur d’autres sites (12917)

  • How to packet encoded AAC data to flv file with ffmpeg API ?

    1er juillet 2015, par Jerikc XIONG

    I have captured the Audio data from Android Microphone and encoded them by MediaCodec.

    My question is :

    How to packet encoded AAC data to flv with ffmpeg ?

  • Fill a BGR Frame Data in FFMPEG

    23 février 2016, par mFeinstein

    I am following the FFmpeg video enconding example here, but it makes some dummy YUV420P frames and I have a BGR image already captured from a camera.

    I am not sure how to use frame->data[] and frame->linesize[] for filling them with my BGR image instead, so I can encode an H264 video.


    EDIT :

    I have the following code (it’s called for every new picture the camera sends) after Ronald’s answer :

       .............
       AVFrame *bgrFrame = av_frame_alloc();

       bgrFrame->width = originalBGRImage.cols;
       bgrFrame->height = originalBGRImage.rows;

       ret = av_image_alloc(bgrFrame->data, bgrFrame->linesize, bgrFrame->width, bgrFrame->height, AV_PIX_FMT_BGR24, 32);

       /////////////////////////////////////
       // This works and prevents memory leak....if I remove it, it consumes all the RAM....but I can't free this memory here, since I will use it later...
       av_freep(&bgrFrame->data[0]);
       av_frame_free(&bgrFrame);
       return;
       /////////////////////////////////////

       ret = av_image_fill_pointers(bgrFrame->data, AV_PIX_FMT_BGR24, bgrFrame->height, originalBGRImage.data, bgrFrame->linesize);

       /////////////////////////////////////
       // Here is where I am done using the memory so I will want to free it...but this same code crashes the program.
       av_freep(&bgrFrame->data[0]);
       av_frame_free(&bgrFrame);
       return;
       /////////////////////////////////////

    So if I remove the av_freep(&bgrFrame->data[0]); at the end of the code I will have a memory leak...but leaving it there crashes....so what’s the correct way to free the used memory ?

  • Modify video frames with Facebook data

    9 novembre 2014, par s kumari

    Can anyone suggest how to build web app like http://www1.lost-in-val-sinestra.com/ without flash. We want to pull the data from facebook and using pulled data edit the sample video and play in the browser. I was thinking to use php with ffmpeg to edit the video but unable to do it successfully. Can anyone suggest me better library/technology stack through which I should be able edit video and update few frames with our customized facebook data(text and images) ?

    Thanks a lot in advance