Recherche avancée

Médias (0)

Mot : - Tags -/flash

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (105)

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

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

  • Soumettre améliorations et plugins supplémentaires

    10 avril 2011

    Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
    Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)

Sur d’autres sites (14846)

  • How do I pre-allocate the memory for libavcodec to write decoded frame data ?

    18 décembre 2018, par codemonkey

    I am trying to decode a video with libav by following the demo code : here

    I need to be able to control where the frame data in pFrame->data[0] is stored. I have tried setting pFrame->data to my own buffer as follows :

    // Determine required buffer size and allocate buffer
    int numBytes = av_image_get_buffer_size(pixFmt, width, height, 1);
    (uint8_t*) dataBuff = (uint8_t*) malloc (numBytes * sizeof(uint8_t));

    // Assign buffer to image planes in pFrame
    av_image_fill_arrays(frame->data, frame->linesize, dataBuff, pixFmt, width,
    height, 1);

    While this does set pFrame->data to be dataBuff (if I print their addresses, they are the same), this call ret = avcodec_receive_frame(pCodecContext, pFrame) to receive the decoded data always writes the data to a different address. It seems to manage its own memory somewhere in the underlying API and ignores the dataBuff that I assigned to pFrame right before.

    So I’m stuck—how can I tell libav to write decoded frame data to memory that I pre-allocate ? I’ve seen people ask similar questions online and in the libav forum but haven’t been able to find an answer.

    Many thanks 

  • How to make a video file from H264 encoded data [on hold]

    4 décembre 2014, par vominhtien961476

    I received H264 encoded data from Camera (frame by frame). Then I want to make a video File (AVI, MP4,...). So Is there any simple way to put directly these data to container whithout decode the h264 data -> convert to Bitmap -> encode again to make a video file as I did.

  • Get CC(Closed Caption) data from video file using ffmpeg

    18 septembre 2014, par mail2vguna

    I am using the following ffmpeg command to extract the CC(Closed Caption) data from .ts file.

    ffmpeg -i input.ts -an -vn -bsf:s mov2textsub -scodec copy -f rawvideo sub.txt

    FFMPEG -i input.ts -vn -an -codec:s:0.1 srt sub.srt

    ffmpeg -threads 4 -i input.ts -vn -an -codec:s:0.2 srt englishSubtitle.srt

    But i did not get the cc data, its says "invalid frame dimensions 0x0" error.

    Help me to extract the cc data from .ts file using ffmpeg.