
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 (60)
-
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 (...) -
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...) -
Le plugin : Gestion de la mutualisation
2 mars 2010, parLe plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
Installation basique
On installe les fichiers de SPIP sur le serveur.
On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
< ?php (...)
Sur d’autres sites (3185)
-
avfilter/f_sendcmd : export width and height too
7 mars 2022, par Paul B Mahol -
FFmpeg more than 1000 frames duplicated and input height doesn't match
2 septembre 2021, par KarineI'm currently using this code to record two windows side by side :


ffmpeg -f gdigrab -framerate 30 -i title="" -f gdigrab -framerate 30 -i title="" -c:v h264_nvenc -qp 0 -filter_complex hstack=inputs=2 2.mp4



However it throw this error after execution :


More than 1000 frames duplicated



Error Log : https://pastebin.com/gREVrKVK


The first window mostly time is the same frame, maybe 1 frame change in each 3 sec.


Another error in console is when the first window have a different height than second window, error :


[Parsed_hstack_0 @ 000002491166fd00] Input 1 height 500 does not match input 0 height 488.
[Parsed_hstack_0 @ 000002491166fd00] Failed to configure output pad on Parsed_hstack_0



Error log : https://pastebin.com/vqdBPfpv


Looks like is not possible to record when they have different dimensions, so, if possible I would like to ask how to scale the first window to the same height (doesn't need to keep aspect ratio) of the second window, considering low CPU use above the video quality.


-
Is there a way to parse Hevc rtsp packets and find height and width in c++ application
2 août 2021, par dinesh47I have written a C++ application with processing of RTP video and Audio packet(Bitstream packets) but can't able to find a way to get height and width from VPs,SPs or PPs from every keyframe.
Note:I am using only pure c++ codes until encoding and writing the file part with ffmpeg lib


Need to know How to Extract it from that extra data for Memcopy it to add with start code.


Need to find Height and width with it(Parsing).


i have Written in case like the folowing :


byte *packet=&*(frameData);
int size =ptr->m_size;
boost::shared_ptr<byte> dst ;
int naltype = (packet[0] >> 1) & 0x3f;

switch(naltype)
{
case HEVC_NAL_VPS:
 m_vpsSize=(size)+4;
 m_vpsHeader[3]=1;
 memcpy(&m_vpsHeader[4],&packet[0],size); //need size and packet start and End dimension
 break;
case HEVC_NAL_SPS:
 m_spsSize=(size)+4;
 m_spsHeader[3]=1;
 memcpy(&m_spsHeader[4],&packet[0],size);//need size and packet start and End dimension
 break;
case HEVC_NAL_PPS:
 m_ppsSize=(size)+4;
 m_ppsHeader[3]=1;
 memcpy(&m_ppsHeader[4],&packet[0],size);//need size and packet start and End dimension
 break;
case 49:
 byte new_nal_header[2]={0};
 int startFU=packet[2]&0x80;
 int endFU = packet[2]&0x40;
 int fuType=packet[2] & 0x3f;
 new_nal_header[0] = (packet[0] & 0x81) | (fuType<<1);
 new_nal_header[1]=packet[1];

}
</byte>