Recherche avancée

Médias (91)

Autres articles (79)

  • Qu’est ce qu’un éditorial

    21 juin 2013, par

    Ecrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
    Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
    Vous pouvez personnaliser le formulaire de création d’un éditorial.
    Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)

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

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (11638)

  • How to convert char buffer (with pcm audio data) to short buffer

    18 décembre 2012, par testCoder

    I have char pAudioBuffer buffer which i got from function ffmpeg :

    int len = avcodec_decode_audio3(av_codec_context,
               (int16_t *) pAudioBuffer, &out_size, &packet);

    I know that audio format is two bytes per sample, i need to convert every two bytes to short value, i have tried to use code snippet below, but i often got zero instead of short value :

    int shortBufIndex = 0;
    for (int i = 0; i < (out_size); i += 2) {
       char b1 = pAudioBuffer[i];
       char b2 = pAudioBuffer[i + 1];
       short sample = atoi(&b1) + atoi(&b2);
       shortBuffer[shortBufIndex] = sample;
       shortBufIndex++;
       LOGI("BUFFER_ITEM='%d'", sample);
    }

    What i'm doing wrong, how to convert every two bytes in char buffer to short and and back.

    UPDATE :

    system's byte order is LITTLE_ENDIAN i have test it like this : Endianness of Android NDK

    How can i convert every two bytes in buffer to sample of short type and back. Please can you provide any code sample.

    UPDATE

    I have tried to access to short as pairs, here is my fixed code, but it not work, i don't hear any sound :

       int shortBufIndex = 0;
       for (int i = 0; i < (out_size); i += 2) {
           char * byte = (char *) pAudioBuffer[i];
           short * sample = byte;
           shortBuffer[shortBufIndex] = sample;
    }

    What i'm doing wrong ?
    I need conversion like this : byte array to short array and back again in java but in c.

  • Merge videos with different start times and show them on a grid

    1er août 2017, par shamaleyte

    I have multiple video files of a conference call. However, each participant joined the call at a different time, which resulted in the fact that each video file has a different start time offset values.

    Video   Start Time
    ------------------
    Video1  00:00
    Video2  00:10
    Video3  01:40

    My purpose is to play back this conference. However, I did not record the conference as 1 video, it is recorded with multiple video files, instead.
    How do I stitch these videos ?

    There is also a paid solution to merge video fragments to a single clip – this will make the client-side much simpler. But can I do it for free ?

    The expected outcome is to have one video showing three videos on a grid.
    When ffmpeg stitches the videos, it should consider their start time values properly so that the videos are played accordingly.

  • Anomalie #3495 : Il manque peut-être un accent à icône

    3 juillet 2015

    wikipedia préfère icône
    https://fr.wikipedia.org/wiki/Ic%C3%B4ne

    je serais pour laisser le chapeau pour éviter la confusion avec l’anglais