
Recherche avancée
Autres articles (86)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications 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, parCertains 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 ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (12383)
-
raspberrypi bash[597] : [48.0K blob data] [closed]
26 octobre 2020, par Android'e DoğruHi 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 CheekyChipsIn 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 anAVFrame
(i.e. viaavcodec_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
AVPacket
s ? Does the internal data look the same ? Is it just in order to use functions that takeAVPacket
s likeav_interleaved_write_frame()


-
QAudioSink play AVFrame data decoded by ffmpeg
26 mai 2022, par liuyulvvI 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
ofQIODevice


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