Recherche avancée

Médias (39)

Mot : - Tags -/audio

Autres articles (65)

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

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

Sur d’autres sites (5338)

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

    


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

    


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