Recherche avancée

Médias (1)

Mot : - Tags -/Christian Nold

Autres articles (75)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

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

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

Sur d’autres sites (14070)

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

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

    &#xA;

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

    &#xA;

    Does anyone know how to do it.

    &#xA;

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