
Recherche avancée
Autres articles (45)
-
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 -
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (10434)
-
How to prescale a frame using ffmpeg and H.265
20 juillet 2017, par akwI want to decode video frames with the H.265 coded (
AV_CODEC_ID_HEVC
)
I use the following code :AVCodec *hevcCodec = avcodec_find_decoder(AV_CODEC_ID_HEVC);
AVCodecContext *avctx = avcodec_alloc_context3(hevcCodec);
avcodec_open2(avctx, hevcCodec, 0);
AVFrame *frame = av_frame_alloc();
AVPacket pkt;
av_init_packet(&pkt);
pkt.data = myDataPtr;
pkt.size = myDataSize;
int got_frame = 0;
avcodec_send_packet(avctx, &pkt);
if (avcodec_receive_frame(avctx, frame) >=0 ) {
got_frame = 1;
...
}This works fine, I got my YUV frame and can process it further (like converting to RGB or scaling, etc.)
However, I would like to somehow tell the ffmpeg library, to scale theAVFrame
while decoding (a scale factor of a power of 2 would be sufficient).
I don’t want to scale after converting to RGB or useswscale
or anything. I have to decode a lot of frames and need a smaller resolution.Is it possible to give the
AVCodecContext
some hints to scale the frames ?
(I tried settingavctx.width
andavctx.height
, but this did not help) -
avfilter/af_headphone : Remove pointless additions
28 août 2020, par Andreas Rheinhardt -
avfilter/vf_vpp_qsv : add scale mode option
24 février 2021, par Fei Wangavfilter/vf_vpp_qsv : add scale mode option
The option allow user to set diffenent scaling mode from
auto/low-power/high-quality.More details :
https://github.com/Intel-Media-SDK/MediaSDK/blob/master/doc/mediasdk-man.md#mfxExtVPPScalingSigned-off-by : Fei Wang <fei.w.wang@intel.com>
Signed-off-by : Linjie Fu <linjie.justin.fu@gmail.com>