Recherche avancée

Médias (1)

Mot : - Tags -/Christian Nold

Autres articles (71)

  • 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

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

Sur d’autres sites (13166)

  • raspberrypi bash[597] : [48.0K blob data] [closed]

    26 octobre 2020, par Android'e Doğru

    Hi everyone i am developing raspberry pi streaming with ffmpeg and Node-Media-Server. My system worked 4 days. But yesterday my pi have issue. Like this ;

    


    raspberrypi bash[597]: [48.0K blob data]
raspberrypi bash[598]: [48.0K blob data]
raspberrypi bash[599]: [48.0K blob data]
raspberrypi bash[600]: [48.0K blob data]
raspberrypi bash[601]: [48.0K blob data]


    


    Why i saw this issue , And what does it mean ?

    


  • Is raw audio in AVFrame->data the same as LPCM ?

    4 décembre 2023, par CheekyChips

    In the ffmpeg documentation for an AVFrame it says

    


    


    This structure describes decoded (raw) audio or video data.

    


    


    In the case of audio data, what format are the samples within an AVFrame in ? Do they basically look like raw LPCM samples ? If you decode audio data into an AVFrame (i.e. via avcodec_send_packet() ... avcodec_receive_frame()) does the audio data of the packet look the same, regardless of what encoding it was originally in in the packet (assuming the same sample rate, sample format, etc) ?

    


    Based on the question How is decoded audio data stored in ffmpeg AVFrame ? it seems like this is the case, but I want to know if this is the same as LPCM, regardless of what encoding the audio data was in before ?

    


    Bonus question : If it is the same as LPCM, why would you use a PCM encoder (e.g. ""pcm_f32le") to encode the frame data to AVPackets ? Does the internal data look the same ? Is it just in order to use functions that take AVPackets like av_interleaved_write_frame()

    


  • QAudioSink play AVFrame data decoded by ffmpeg

    26 mai 2022, par liuyulvv

    I want to using QAudioSink to play PCM data decoded by ffmpeg.

    


    I first try to play a pcm file and I made it :

    


    Here is the override function readData of QIODevice

    


    qint64 PCMDevice::readData(char *data, qint64 maxlen)
{
    int len = m_inputFile.size();
    len = len < maxlen ? len : maxlen;

    m_inputFile.read(data, len);
    return len;
}


    


    And I get the right result, the file is playing.

    


    But I want to play AVFrame data from the memory :

    


    qint64 PCMDevice::readData(char *data, qint64 maxlen)
{
    AVFrame *res = getFrame();
    if (res == nullptr)
        return 0;

    // Something wrong here
    auto ret = res->nb_samples;
    memcpy(data, res->data[0], ret);

    delete res;
    res = nullptr;
    return ret;
}


    


    How to make AVFrame's data to the data that QAudioSink need ?

    


    I'm pretty sure I'm using the correct sample_fmt, sample_rate etc.

    


    Where is the data of the stereo AVFrame and how to copy it to the data correctly ?