
Recherche avancée
Autres articles (66)
-
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
(Dés)Activation de fonctionnalités (plugins)
18 février 2011, parPour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)
Sur d’autres sites (5654)
-
Remove Plan 9 support
29 novembre 2016, par Diego BiurrunRemove Plan 9 support
Supporting the system was a nice joke for the 9 release, but it has
run its course. Nowadays Plan 9 receives no testing and has no
practical usefulness. -
YUV8_420P - AVFrame conversion hazard (only Y plan)
4 mai 2017, par FlowI’m working on a FFMPEG application. The goal is to convert a picture (YUV input format) to an AVFrame to be able to process it (by applying a specific filter) and then realize the invert conversion to redirect it to the output.
Although some filters as drawgrid or noise are perfectly working, filters which apply some "space transformation" (as a "crop" or a "hflip") seem to affect only over the Y component. The colors of the output pictures aren’t filtered which leads to an unsatisfying result.
I’m asking myself why I have such a result but I didn’t reach to find the problem origin.
Here is the part of cod which convert the YUV picture to an AVFrame :
unsigned int i = 0;
int number_common_channels = MIN(IMAGEFORMAT_COMPONENTS, AV_NUM_DATA_POINTERS);
// Transfer the image informations (width, height, pitch and data)
if ((av_im->width = yuv_im->width[0]) <= 0)
{
cu_printf(ERROR, "Width of destination picture null or negative");
return -1;
}
if((av_im->height = yuv_im->height[0]) <= 0)
{
cu_printf(ERROR, "Height of destination picture null or negative");
return -1;
}
for (i=0; i < number_common_channels; i++)
{
av_im->linesize[i] = yuv_im->pitch[i];
av_im->data[i] = yuv_im->data[i];
}If necessary, I can transmit you other parts of the cod where the problem could be. Thanks for your cooperation.
Flow.
EDIT 1 : After some researches, it would be possible the problem came from my function which initializes the filter graph. Actually, I used the FFMPEG example given on their website to make it and I deleted the options to the pixel format list because I thought it was useless. It’s possible this function and more precisely the av_opt_set_int_list could be the key, but I don’t reach to find a good example using it. Also, another function, av_opt_set_pixel_fmt was created in the last FFMPEG versions and this could be well to try using it, but I don’t know how to do. So please if someone has a good example with that, I’ll took it with hapiness.
EDIT 2 : The problem came from the way I copied my data back after the filter was applied. Closed.
-
Evolution #4828 : Intégrer tous les objets au plan du site
22 juin 2021, par b bÀ déplacer sur le projet https://core.spip.net/projects/plan ?