
Recherche avancée
Autres articles (81)
-
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (13149)
-
hevc : Add support for alternative transfer characterics SEI
9 juin 2017, par Vittorio Giovarahevc : Add support for alternative transfer characterics SEI
The use of this SEI is for backward compatibility in HLG HDR systems :
older devices that cannot interpret the "arib-std-b67" transfer will
get the compatible transfer (usually bt709 or bt2020) from the VUI,
while newer devices that can interpret HDR will read the SEI and use
its value instead.Signed-off-by : Vittorio Giovara <vittorio.giovara@gmail.com>
-
hevc : Add support for alternative transfer characterics SEI
9 juin 2017, par Vittorio Giovarahevc : Add support for alternative transfer characterics SEI
The use of this SEI is for backward compatibility in HLG HDR systems :
older devices that cannot interpret the "arib-std-b67" transfer will
get the compatible transfer (usually bt709 or bt2020) from the VUI,
while newer devices that can interpret HDR will read the SEI and use
its value instead.Signed-off-by : Vittorio Giovara <vittorio.giovara@gmail.com>
-
FFmpeg programming : assign color transfer characteristics
8 juillet 2017, par Francis TeslaWhen using ffmpeg library to load an EXR file it appears to dark.
This seems to be the same problem as this one :
ffmpeg - getting a dark output when converting .exr sequence to .mp4
The EXR decoder has a parameter to assign color transfer
characteristics.For sRGB, it is
ffmpeg -apply_trc iec61966_2_1 -start_frame 1100 -i input.$04d.exr
output.mp4But how to achieve the same result programmatically ?
Here is my code :
AVFrame *frame = av_frame_alloc();
avcodec_decode_video2(codecCtx, frame, &frameFinished, &packet);
...
AVPicture picture;
avpicture_alloc(&picture, dest_format, dest_width, dest_height);
SwsContext *swsCtx = NULL;
swsCtx = sws_getContext(source_width, source_height, source_format, dest_width, dest_height, dest_format, SWS_POINT, NULL, NULL, NULL);
if (swsCtx == NULL) {
qDebug() << "error calling sws_getContext";
}
sws_scale(swsCtx, frame->data, frame->linesize, 0, frame->height, picture.data, picture.linesize);
QImage image(dest_width, dest_height, QImage::Format_ARGB32);
for (int y = 0; y < dest_height; ++y) {
memcpy(image.scanLine(y), picture.data[0] + y * picture.linesize[0], picture.linesize[0]);
}
av_frame_free(&frame);
sws_freeContext(swsCtx);Thank you,
Francis