
Recherche avancée
Médias (91)
-
Les Miserables
9 décembre 2019, par
Mis à jour : Décembre 2019
Langue : français
Type : Textuel
-
VideoHandle
8 novembre 2019, par
Mis à jour : Novembre 2019
Langue : français
Type : Video
-
Somos millones 1
21 juillet 2014, par
Mis à jour : Juin 2015
Langue : français
Type : Video
-
Un test - mauritanie
3 avril 2014, par
Mis à jour : Avril 2014
Langue : français
Type : Textuel
-
Pourquoi Obama lit il mes mails ?
4 février 2014, par
Mis à jour : Février 2014
Langue : français
-
IMG 0222
6 octobre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Image
Autres articles (16)
-
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP 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 (...) -
Qu’est ce qu’un éditorial
21 juin 2013, parEcrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
Vous pouvez personnaliser le formulaire de création d’un éditorial.
Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...) -
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)
Sur d’autres sites (2971)
-
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 ?


-
download compile and install ffmpeg on Snow Leopard for HLS streaming
10 mai 2012, par alphablenderIn reference to this question :
transcode and segment with ffmpeg
how can I download and install ffmpeg on my mac mini with Snow Leopard with the options listed in the answer to that question ? I don't (at the moment) want to bother with RTMP support, the goal is to realtime transcode files, not live video.
-
Revision 49101 : Yaml peut être victime de textwheel. Correction a minima en ne redéclarant ...
27 juin 2011, par marcimat@… — LogYaml peut être victime de textwheel. Correction a minima en ne redéclarant pas la fonction yaml_decode si elle existe. textwheel la possède dans inc/yaml-mini.