Recherche avancée

Médias (91)

Autres articles (43)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • MediaSPIP Init et Diogène : types de publications de MediaSPIP

    11 novembre 2010, par

    À l’installation d’un site MediaSPIP, le plugin MediaSPIP Init réalise certaines opérations dont la principale consiste à créer quatre rubriques principales dans le site et de créer cinq templates de formulaire pour Diogène.
    Ces quatre rubriques principales (aussi appelées secteurs) sont : Medias ; Sites ; Editos ; Actualités ;
    Pour chacune de ces rubriques est créé un template de formulaire spécifique éponyme. Pour la rubrique "Medias" un second template "catégorie" est créé permettant d’ajouter (...)

Sur d’autres sites (4682)

  • Evolution #4277 : Pouvoir utiliser InnoDB à la place de MyISAM (patch)

    18 septembre 2019, par b b

    Pour info, chez un hébergeur associatif on utiliser aussi mariadb en mode cluster avec innodb et le SPIP que je viens d’y installer a bien toutes ses tables en innodb. J’ai vérifié sur mon serveur local, idem les tables des bases de mes SPIP sont toutes en innodb. Il semble donc que l’instruction ENGINE=MyISAM peut être ignorée par le serveur, et que dans ce cas le define ne serait pas utile ?

  • hardware conversion of image pixel format in ffmpeg ?

    18 janvier 2024, par dongrixinyu

    I am trying to decode an online rtmp video stream into RGB format frames, and then encoding RGB frames into an online stream.

    


    Task

    


    Here is what I do now :

    


    


    decoding a video stream to get images(RGB) ---> ai model process ---> encoding frames(RGB) to form a video stream in H264

    


    


    My scheme

    


    All my code in written in C with FFmpeg dependencies. The detailed steps are :

    


    


    rtmp/rtsp video stream ---> AVPacket ---(nvidia cuda)---> AVFrame(nv12 pix fmt) ---> AVFrame(RGB pix fmt) ---> AI process.

    


    


    


    AVFrame(RGB pix fmt) ---> AVFrame(nv12 pix fmt) ---(nvidia cuda)---> AVPacket ---> rtmp/rtsp video stream

    


    


    Now, the decoding and encoding part are run on NVIDIA GPU, which is quite fast.

    


    But the conversion of pixel format between AV_PIX_FMT_NV12 and AV_PIX_FMT_RGB is run on CPU, which is astonishingly CPU-consuming cause the size of video frame is 2k.

    


    My question

    


    So, is there any off-the-shelf method to fulfill the conversion of image pixel format on GPU (especially via cuda) directly ?

    


  • Interlace two videos by alternating frames

    31 mars 2017, par GIRISH RAMNANI

    I am trying to interlace two videos by alternating frames. i.e. show a frame of the first video for 0.03s and then of the second for 0.03s. finally storing this into a file. I searched online and found that ffmpeg filters can be used to do this. But i am open to any other methods as well.