Recherche avancée

Médias (1)

Mot : - Tags -/artwork

Autres articles (92)

  • Taille des images et des logos définissables

    9 février 2011, par

    Dans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
    Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)

  • Pas question de marché, de cloud etc...

    10 avril 2011

    Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
    sur le web 2.0 et dans les entreprises qui en vivent.
    Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
    Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
    le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
    Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

Sur d’autres sites (9011)

  • Sample RTP code to stream x264 data

    5 août 2016, par Ajay Ponna Venkatesh

    I am using x264 library to encode frames and I need to stream it to a client which will receive the frame, decode and render it.
    Currently, I have borrowed the code from OBS to stream through RTMP and have written a client using FFMPEG’s RTMP code to receive this data. BUT RTMP works on TCP and I now need to stream over UDP. OBS doesn’t seem to support any other protocols than RTMP.

    So, I decided to use RTP. I can write a client to receive and decode using FFMPEG since it supports RTP just like RTMP. Can anyone please help me with sample code to stream x264 encoded data through plain RTP ? (I don’t want to complicate by using RTSP etc. along with RTP).

    The requirement is simple. Say, I use ffplay -> ffplay.exe rtp ://127.0.0.1:17000 then I want this sample code to be able to send data through RTP (over UDP) and ffplay should be able to play. I can take it over from there. Thanks in advance !

    -Ajay

  • How OpenGL directly manipulates data on GPU that a video hardware decoded by FFmpeg CUDA

    24 janvier 2019, par gn cavalry

    Ubuntu 18.04
    FFmpeg 4.1
    CUDA 10.0

    What I want to do is using FFmpeg CUDA decode a video, directly peocess data on GPU by GLSL , then encode data using FFmpeg CUDA. Like this :

    Raw Video —> FFmpeg CUDA decoder —> GLSL —> FFmpeg CUDA encoder —> New Video

    Here is the short code :

    ret = avcodec_send_packet(decoder_ctx, pkt);
    while (ret >= 0) {
       ret = avcodec_receive_frame(decoder_ctx, frame);

       /**
        * Now CUDA decoded data is stored on GPU and referenced by frame
        * How can GLSL manipulate decoded data on GPU directly,
        * without transfer it to CPU and load to GPU again by glTexImage2D()
        */


       // I don't if the following code is right, if GLSL processed data is still referenced by frame
       while (avcodec_send_frame(encoder_ctx, frame)) {
           avcodec_receive_packet(encoder_ctx, &enc_pkt);
       }
    }

    Can anyone help me ? Thanks very much !

  • Injecting KLV data in video stream using ffmpeg

    29 octobre 2022, par lsilk

    Does anyone here have any experience with streaming video on one stream, for example 0:0, and then taking a .bin file in klv format and putting it in 0:1, and then outputting that to a mpegts udp stream ? I have it working, the only problem is that I have written a python program to update the klv data file while it is streaming, but it doesn't seem to be updated in the stream.

    


    My command : ffmpeg -I "filepath.mpg" -f data -i "filepath.bin" -filter:v fps=60 -map 0:v:0 -map 1:d:0 -f mpegts udp ://IP:PORT

    


    Ive tried -I from a local file, I've also tried streaming the .bin file from an other stream after updating it, but then the fps drops to about 0.5.