
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (60)
-
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (9650)
-
Write video in a memory stream using libav
28 novembre 2012, par Dídac PérezI am successfully capturing video packets from the network using libav. Currently, I have an AVFormatContext object in which I can write the header, the packets, etc... The point is that I want to dump everything on this context into a file when required. What should I do ?
Thanks in advance,
Dídac Pérez -
how to decode h264 data from rtsp stream directively to BGR24 pixel format for cv::Mat or cv::cuda::GpuMat with ffmpeg c lib on NVIDIA GPU ?
30 septembre 2019, par WussupI want decode h264 dirctively to cv::Mat or cv::cuda::GpuMat without sws_scale to saving CPUs.
So is there any way to make it realized ? thanks in advance.
-
using FFmpeg, how to decode H264 packets
28 mars 2017, par JunI’m new to FFmpeg struggling to decode H264 packets which can be obtained as an array of uint8_t.
After many of investigations, I think it should be able to just put the array into an AVPacket like the below
AVPacket *avpkt = (AVPacket *)malloc(sizeof(AVPacket) * 1);
av_init_packet(avpkt);
avpkt->data = ct; // ct is the array
avpkt->length =....and decode by avcodec_decode_video2(). A part of the code is like
...
codec = avcodec_find_decoder(CODEC_ID_H264);
gVideoCodecCtx = avcodec_alloc_context();
gFrame = avcodec_alloc_frame();
avcodec_decode_video2(gVideoCodecCtx, gFrame, &frameFinished, packet);
...I guess I set all required properties properly but this function is returning only -1 :(
I just found the -1 is coming from
ret = avctx->codec->decode(avctx, picture, got_picture_ptr, avpkt) ;
in the avcodec_decode_video2() ;
Actually, what I’m wondering is if I can decode H264 packets (without RTP header) by avcodec_decode_video2().
Thanks for the help in advance.
/////////// added
OK, I’m still trying to find a solution. What I’m doing now is the below
** the H264 stream in this RTP stream is encoded by FU-A
-
receive a RTP packet
-
look if the second byte of the RTP header is > 0 which means it’s the first packet (and possibly will be followed)
-
see if the next RTP packet has > 0 at its second byte also, then it means the previous frame was a complete NAL or if this is < 0, the packet should be appended to the previous packet.
-
remove all RTP header of the packets so it has only like FU indicator | FU header | NAL
-
try play it with avcodec_decode_video2()
but it’s only returning -1..... am I supposed to remove FU indicator and header too ??
any suggestion will be very appreciated
thanks in advance.
-