Recherche avancée

Médias (1)

Mot : - Tags -/ogv

Autres articles (60)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    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, par

    Dans 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, par

    Le 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
    avfilter/f_sendcmd : export width and height too
    
    • [DH] doc/filters.texi
    • [DH] libavfilter/f_sendcmd.c
  • FFmpeg more than 1000 frames duplicated and input height doesn't match

    2 septembre 2021, par Karine

    I'm currently using this code to record two windows side by side :

    &#xA;

    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&#xA;

    &#xA;

    However it throw this error after execution :

    &#xA;

    More than 1000 frames duplicated&#xA;

    &#xA;

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

    &#xA;

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

    &#xA;

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

    &#xA;

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

    &#xA;

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

    &#xA;

    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.

    &#xA;

  • Is there a way to parse Hevc rtsp packets and find height and width in c++ application

    2 août 2021, par dinesh47

    I 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.&#xA;Note:I am using only pure c++ codes until encoding and writing the file part with ffmpeg lib

    &#xA;

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

    &#xA;

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

    &#xA;

    i have Written in case like the folowing :

    &#xA;

     byte *packet=&amp;*(frameData);&#xA;int size =ptr->m_size;&#xA;boost::shared_ptr<byte> dst ;&#xA;int naltype = (packet[0] >> 1) &amp; 0x3f;&#xA;&#xA;switch(naltype)&#xA;{&#xA;case HEVC_NAL_VPS:&#xA;    m_vpsSize=(size)&#x2B;4;&#xA;    m_vpsHeader[3]=1;&#xA;    memcpy(&amp;m_vpsHeader[4],&amp;packet[0],size); //need size and packet start and End dimension&#xA;    break;&#xA;case HEVC_NAL_SPS:&#xA;    m_spsSize=(size)&#x2B;4;&#xA;    m_spsHeader[3]=1;&#xA;    memcpy(&amp;m_spsHeader[4],&amp;packet[0],size);//need size and packet start and End dimension&#xA;    break;&#xA;case HEVC_NAL_PPS:&#xA;    m_ppsSize=(size)&#x2B;4;&#xA;    m_ppsHeader[3]=1;&#xA;    memcpy(&amp;m_ppsHeader[4],&amp;packet[0],size);//need size and packet start and End dimension&#xA;    break;&#xA;case 49:&#xA;    byte new_nal_header[2]={0};&#xA;    int startFU=packet[2]&amp;0x80;&#xA;    int endFU = packet[2]&amp;0x40;&#xA;    int fuType=packet[2] &amp; 0x3f;&#xA;    new_nal_header[0] = (packet[0] &amp; 0x81) | (fuType&lt;&lt;1);&#xA;    new_nal_header[1]=packet[1];&#xA;&#xA;}&#xA;</byte>

    &#xA;