Recherche avancée

Médias (91)

Autres articles (29)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

Sur d’autres sites (9864)

  • Fix a typo : "the the" -> "the" (#2226)

    16 octobre 2018, par zhiliangxu
    Fix a typo : "the the" -> "the" (#2226)
  • Replace incorrect use of "multiply" with "multiple"

    27 août 2014, par James Darnley
    Replace incorrect use of "multiply" with "multiple"
    

    Also replace the plural form "multiplies" with "multiples".

    • [DH] doc/fftools-common-opts.texi
    • [DH] libavcodec/dirac.c
    • [DH] libavcodec/mpeg12enc.c
    • [DH] libavcodec/msvideo1enc.c
    • [DH] libavutil/frame.h
  • How can I display the frame got by FFmpeg cuvid decoder without copy to host memory ?

    21 septembre 2019, par hefty

    Nowadays I am working on a video display program using FFmpeg to decode the frames. For h264 input, I chose h264_cuvid to decode and get decoded AVFrame store in Nvidia video card’s device memory.

    Now I am using some inefficient way to display the frame by copying the hardware frame to host memory and then display :

    avcodec_receive_frame(decode_ctx, hw_frame); // Get decoded hardware frame that store in device memory.

    av_hwframe_transfer_data(sw_frame, hw_frame, flag); // Copy the hardware frame to the host memory.

    //...some code to scale and display the sw_frame.

    I want to display the hw_frame by Direct3D surface directly but I don’t know how to access the data in hw_frame and copy the pixel data to a D3D surface natively (without accessing the host memory).

    What I know is that the hw_frame’s data[0] and data[1] are CUdeviceptr pointing to the NV12 data store in device memory, anyone knows how to use the CUdeviceptr to transfer the data to a D3D surface through the device memory and display ?