
Recherche avancée
Autres articles (111)
-
L’utiliser, en parler, le critiquer
10 avril 2011La première attitude à adopter est d’en parler, soit directement avec les personnes impliquées dans son développement, soit autour de vous pour convaincre de nouvelles personnes à l’utiliser.
Plus la communauté sera nombreuse et plus les évolutions seront rapides ...
Une liste de discussion est disponible pour tout échange entre utilisateurs. -
Les statuts des instances de mutualisation
13 mars 2010, parPour des raisons de compatibilité générale du plugin de gestion de mutualisations avec les fonctions originales de SPIP, les statuts des instances sont les mêmes que pour tout autre objets (articles...), seuls leurs noms dans l’interface change quelque peu.
Les différents statuts possibles sont : prepa (demandé) qui correspond à une instance demandée par un utilisateur. Si le site a déjà été créé par le passé, il est passé en mode désactivé. publie (validé) qui correspond à une instance validée par un (...) -
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (7260)
-
How to read SCTE-104 messages in LIBAV [closed]
17 août 2024, par Avnish DassI am capturing a SDI signal from a Decklink card using LibAV (ffmpeg). How do I receive SCTE-104 messages embedded in the SDI ? Are these part of the Frame buf, or side_data, or some other pointer ?


There seems to be no ffmpeg filter or online sample to demonstrate this.


-
hardware conversion of image pixel format in ffmpeg ?
18 janvier 2024, par dongrixinyuI 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
andAV_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 ?


-
ffmpeg : simple RTMP streaming
2 avril 2013, par sajadI am trying to launch up a rtmp transcoder server using ffmpeg ; that receives udp MPEG-TS streams as input, transcodes it ; and generates an rtmp output to a URL, that can be accessed by users to receive and play the rtmp stream. All these are expected to be performed in a LAN and the output be accessed by all users.
1) First I don't know where the URL should point to. Is it enought to specify the IP of the system and some optional port ? Is it neccessary that a program should be listening on that port ?
2) How I can play the stream on the URL ?
I use a linux ubuntu machine whith IP=10.1.1.229 and I want to transcode multicast stream on this URL :
udp://@224.10.1.1:2001
.here is the command used to transcode input stream and generate rtmp url "rtmp ://10.1.1.229:2020".
ffmpeg -y -f mpegts -i "udp://@224.10.1.1:2001" -re -vcodec libx264 -maxrate 700k -r 25 -s 640x360 -deinterlace -acodec libfaac -ab 64k -ac 1 -ar 44100 -f flv "rtmp://10.1.1.229:2020"
and here is the command by which I am trying to play rtmp stream :
ffplay rtmp://10.1.1.229:2020
Any guidance would be helpfull. Thank you.