Recherche avancée

Médias (0)

Mot : - Tags -/auteurs

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

Autres articles (43)

  • Modifier la date de publication

    21 juin 2013, par

    Comment changer la date de publication d’un média ?
    Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
    Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
    Dans la rubrique "Champs à ajouter, cocher "Date de publication "
    Cliquer en bas de la page sur Enregistrer

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (9390)

  • Encoding audio data using ffmpeg

    30 mai 2019, par Matin Kh

    I am receiving a byte array (int8_t*) and I would like to use FFMPEG to encode it into FLAC. All the examples I found are reading data from files, which is not the case for me. Following the original documents (see here), I came up with the following solution :

    #include "libavcodec/avcodec.h"

    // ...

    // params:
    //  audioData: original audio data
    //  len: length of the byte array (audio data)
    //  sampleRate: sample rate of the original audio data
    //  frameSize: frame size of the original data
    uint8_t* encodeToFlac(uint8_t* audioData, int len, int sampleRate, int frameSize) {
     uint8_t* convertedAudioData;

     // Context information
     AVCodecContext* context = avcodec_alloc_context();
     context->bit_rate = 64000;
     context->sample_rate = sampleRate;
     context->channels = 2;
     context->frame_size = frameSize;

     short* samples = malloc(frameSize * 2 * context->channels);
     int outAudioDataSize = len * 2;
     convertedAudioData = malloc(outAudioDataSize);
     int outSize = avcodec_encode_audio(c, convertedAudioData, outAudioDataSize, samples);

     return convertedAudioData;
    }

    I have two main issues with the above solution :

    1. I did not specify what the final encoding should be (for example, MP3, FLAC, etc), which makes me wonder if I’m using FFMPEG library correctly ?

    2. Do I have all the necessary information about the source - original audio data ? I am not certain if I have all the necessary information to perform the encoding.

  • How can i use live data from an api to livestream using FFMPEG

    17 août 2022, par Steve Mimshak

    I would like to use live data from an api in a live stream video in real time how i did not find any information about how this is possible.

    


    I want to use an ubuntu server with FFMPEG to create the livestream.

    


    Does anyone know how to do it.

    


  • ffserver streaming h.264 raw data

    11 novembre 2014, par Samuel David Hudson

    I have a c++/openGL application which generate a .h264 stream using a hardware encoder (nvidia grid). Im using ffserver to serve the stream to be consumed via a url.

    The application writes out the stream data to a file on disk, which gets added to as time goes by.

    ffserver.conf

    # Port on which the server is listening. You must select a different
    # port from your standard HTTP web server if it is running on the same
    # computer.
    HttpPort 8090

    <stream>
       File "/home/ec2-user/demo/movie.h264"
       NoAudio
       Format mpegts
    </stream>

    The problem i am having is that whenever you view the stream, it starts from the begining of the data, rather than from ’now’. I want the stream to be as realtime as possible.

    Does anyknow know how i might achieve this ?