Recherche avancée

Médias (9)

Mot : - Tags -/soundtrack

Autres articles (100)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

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

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

Sur d’autres sites (9080)

  • How to dump RTSP to raw data file without encoding

    28 juin 2020, par Yves

    I've read this link : How to dump raw RTSP stream to file ?

    


    In this link, it seems that dumping RTSP stream to some formatted file, such as mp4, is normal.

    


    But I want to store the RTSP stream into the raw data files, instead of files like mp4, avi etc. And I should be able to extract data from the raw data files and send it out as RTSP stream too.

    


    In a word, this is what I need :

    


      

    1. receiving RTSP stream ---> 2. store RTSP data into raw data files ---> 3. read raw data files and send data as RTSP stream
    2. 


    


    Why do I need this ?

    


    Because as my understanding, storing RTSP strema into some formatted file, such as mp4, needs to do an action of encoding (encode RTSP to mp4). But for me, I don't need this action, I simply need to store RTSP data and re-send it as RTSP stream. So if I can store RTSP into the raw-data file, instead of mp4, I don't need to spend computer resources on the action of encoding.

    


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

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