
Recherche avancée
Médias (1)
-
Richard Stallman et le logiciel libre
19 octobre 2011, par
Mis à jour : Mai 2013
Langue : français
Type : Texte
Autres articles (67)
-
L’espace de configuration de MediaSPIP
29 novembre 2010, parL’espace de configuration de MediaSPIP est réservé aux administrateurs. Un lien de menu "administrer" est généralement affiché en haut de la page [1].
Il permet de configurer finement votre site.
La navigation de cet espace de configuration est divisé en trois parties : la configuration générale du site qui permet notamment de modifier : les informations principales concernant le site (...) -
Participer à sa traduction
10 avril 2011Vous 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 (...) -
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)
Sur d’autres sites (13408)
-
What does `-map data-re` option in FFMPEG do ?
9 décembre 2024, par zardoshtI am trying to extract and parse KLV data from a video stream. I found the following example in a Github repository. I am wondering what does the mapping option
data-re
do ?

$ ffmpeg -i Day\ Flight.mpg -map data-re -codec copy -f data - 



I understand the rest of the command, and know that
-map
is used to choose streams from inputs. But what doesdata-re
mean. I couldn't find any explanation for it (or similar mapping option or stream identifier) in the documentation, e.g. here and here.

-
I want to separate MPEG2ts data into images and metadata (klv)
4 août 2020, par 夏目たかしplease. Help me.

I would like to separate the streamed MPEG2ts data into images and metadata (klv).

Delivery

ffmpeg -fflags +genpts -re -i NightFlightIR.mpg -f mpegts -c copy -map 0:v -map 0:d udp ://127.0.0.1:5004



reception

ffmpeg -i 'udp ://127.0.0.1:5004' -vsync 0 -q:v 2 -f image2 -update 1 img.jpg -c copy -map d:0 -f data klv.bin



The image is output, but the klv.bin is empty.



This command outputs data to standard output, but cannot output to a file.

ffmpeg -i 'udp ://127.0.0.1:5004' -vsync 0 -q:v 2 -f image2 -update 1 img.jpg -c copy -map d:0 -f data -



On ffmpeg2.8.6, the klv.bin contains data, but on 3.x and 4.x, it's empty.

Is it possible to write klv data to klv.bin on 4.x ?

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