
Recherche avancée
Médias (2)
-
Core Media Video
4 avril 2013, par
Mis à jour : Juin 2013
Langue : français
Type : Video
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (106)
-
Gestion de la ferme
2 mars 2010, parLa ferme est gérée dans son ensemble par des "super admins".
Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
Dans un premier temps il utilise le plugin "Gestion de mutualisation" -
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs
Sur d’autres sites (10418)
-
libavdevice/v4l2 : fix invalid access to struct v4l2_buffer
20 septembre 2017, par Jaroslav Beranlibavdevice/v4l2 : fix invalid access to struct v4l2_buffer
In case we are short of queued buffers, at first v4l2_buffer was enqueued to kernel so it's not owned by
user-space anymore. After that it's timestamp field was read, but it might be overwritten by driver at
that moment. It resulted in invalid timestamp sometimes.Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>
-
FFmpeg dxva2 H264 decoder reinitialize codec - access violation
18 janvier 2023, par SpurigaI have a small project which decodes h264 I frame (SPS+PPS in extradata).
It uses "dxva2" hw acceleration and works fine until I reinitialize the codec. This can be occured when an rtsp stream change the format. Fe. : h264 to h264H. and the extradata must be changed.


The extradata modifying code is :


...

 ret = decode_write(decoder_ctx, packet); //GOOD 
 ret = decode_write(decoder_ctx, NULL);

 if (avcodec_close(decoder_ctx) < 0)
 return -2;

 if (hw_decoder_init(decoder_ctx, type) < 0)
 return -1;

 if ((ret = avcodec_open2(decoder_ctx, decoder, NULL)) < 0) {
 fprintf(stderr, "Failed to open codec for stream.\n");
 return -1;
 }

 ret = decode_write(decoder_ctx, packet); //ACCESS VIOLATION
 ret = decode_write(decoder_ctx, NULL);



The next
avcodec_send_packet
goes access violation exception.
When I switch off the HW acceleration and fallback to CPU this change is works fine.

So the only problem when I use dxva2 and reinitialize the codec.


The extradata change code is not in this small example, because the error reason is the reinitialize.


-
avformat/movenc : Use dedicated pointer for access to MOVTrack
16 décembre 2021, par Andreas Rheinhardtavformat/movenc : Use dedicated pointer for access to MOVTrack
Improves readability and slightly decreases codesize.
While just at it, also remove a check whether the packet list is
nonempty before freeing it, as freeing an empty list is fine
and basically a no-op.Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>