
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (109)
-
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
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 ;
-
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)
Sur d’autres sites (32047)
-
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 ?

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

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