Recherche avancée

Médias (0)

Mot : - Tags -/navigation

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (86)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • 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 (...)

  • Librairies et logiciels spécifiques aux médias

    10 décembre 2010, par

    Pour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
    Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)

Sur d’autres sites (7617)

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

  • HTTP live streaming from android device to amazon web server S3

    25 juin 2014, par jawad bin zafar

    I want to stream a video being capture by an android device to an amazon S3 server. Is it possible only in java or I have to use JNI and FFMPEG. Any sample code or online tutorial/Link. Help plz.