Recherche avancée

Médias (1)

Mot : - Tags -/pirate bay

Autres articles (35)

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

  • Librairies et logiciels spécifiques aux médias

    10 décembre 2010, par

    Pour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
    Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

Sur d’autres sites (5204)

  • Video editor application in android [on hold]

    26 janvier 2019, par Mustafa Çakar

    I want to make a video editor app, I also I want to add and remove text in the video. You can check renderforest video tab for example. I can use FFMPEG for basic editing operations like cropping, cutting, but I have no idea about set text or change text in the video. Do you have a source or library to suggest ? Sorry for my bad english.

  • On memcpy application crashes - FFMPEG, C++

    3 mai 2013, par Spamdark

    I have been working with ffmpeg, I got it working good, but I got a memory leak, I followed some instructions to fix it (like use av_frame_unref), so I needed to update ffmpeg to the version 1.2.
    This is weird for me, because everything was working good, and then, with the update, the application started to crash in a memcpy.

    Honestly, I don't know what's happening, I tried to google it but no answer. I would appreciate your help, here is the segment of the code which is failing :

    int WbMedia::DecodeAudioFrame(int16_t *audio_buf){
    static AVFrame *frame;
    static AVPacket pkt;
    static uint8_t *audio_pkt_data = NULL;
    static int audio_pkt_size = 0;
    static bool first_time = true;

    if(first_time){
       first_time=false;
    }

    int len1, data_size = 0;

    for(;;){
       bool do_rt = false;

       while(audio_pkt_size > 0){
           int obt_frame = 0;

           if (!frame) {
               if (!(frame = avcodec_alloc_frame())) {
                   MessageBox(0,"Out of memory error","Error: Memory",MB_ICONWARNING | MB_OK);
                   return -1;
               }
           }

           len1 = avcodec_decode_audio4(_audio_ccontext,frame,&obt_frame,&pkt);
           if(len1 < 0){
               audio_pkt_size = 0;
               break;
           }

           if(obt_frame){
               data_size = av_samples_get_buffer_size(NULL,channel_count,sample_fr,_audio_ccontext->sample_fmt,1);
               memcpy(audio_buf,frame->data[0],data_size);
           }

           audio_pkt_data+=len1;
           audio_pkt_size-=len1;

           if(data_size < 0){
               continue;
           }


           return data_size;
       }

       if(pkt.data){
           //MessageBox(0,"hi","Hi",MB_OK); // This is only for test if the app si reaching this av_free_packet
           av_free_packet(&pkt);
       }

       if(do_rt){
           return data_size;
       }

       // Try to get a new packet
       if(!audio_packets.empty()){
           WaitForSingleObject(Queue_Audio_Mutex,INFINITE);
               pkt = *audio_packets.front();
               audio_packets.pop();
           ReleaseMutex(Queue_Audio_Mutex);

           audio_pkt_size = pkt.size;
           audio_pkt_data = pkt.data;
       }else{
           return -1;
       }
    }
    return 0;
    }

    Thanks so much.

  • jpeg2000dec : make cblk->length(inc)/data use consistent

    13 juin 2013, par Michael Niedermayer
    jpeg2000dec : make cblk->length(inc)/data use consistent
    

    Fixes Ticket2612

    Reviewed-by : Nicolas BERTRAND <nicoinattendu@gmail.com>
    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavcodec/jpeg2000dec.c