
Recherche avancée
Médias (2)
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (88)
-
Soumettre améliorations et plugins supplémentaires
10 avril 2011Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...) -
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...) -
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)
Sur d’autres sites (10460)
-
avformat/mxfenc : Add object model version
17 mars 2018, par Michael Niedermayeravformat/mxfenc : Add object model version
Other tools (XFConvert at least) write this as well.
Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>
- [DH] libavformat/mxfenc.c
- [DH] tests/ref/fate/copy-trac4914
- [DH] tests/ref/fate/mxf-reel_name
- [DH] tests/ref/fate/time_base
- [DH] tests/ref/lavf/mxf
- [DH] tests/ref/lavf/mxf_d10
- [DH] tests/ref/lavf/mxf_dv25
- [DH] tests/ref/lavf/mxf_dvcpro50
- [DH] tests/ref/lavf/mxf_opatom
- [DH] tests/ref/lavf/mxf_opatom_audio
-
Why does ffmpeg have bigger latency on dark images ?
19 novembre 2017, par doodoromaI have a c# application to stream real camera images using ffmpeg. The input images are in raw, 8-bit gray-scale format. I created an ffmpeg stream using the standard input to feed the images and send the output packages to websocket clients.
I start an external ffmpeg process using this config :
-f rawvideo -pixel_format gray -video_size " + camera.Width.ToString() + "x" + camera.Height.ToString() + " -framerate 25 -i - -f mpeg1video -b:v 512k -s 320x240 -
Typical image size is 1040*1392 pixels
I display the stream on the browser, using jsmpeg library
This works with a reasonable latency ( 500ms on localhost), but when the camera image is really dark (black image), the latency is extremely big ( 2-3 seconds on localhost). When there is something bright on the image again after a black period, it takes 2-3 seconds to "synchronize".
I was thinking that black images are really easy to compress and will generate really small packages, jsmpeg has almost no information to display and wait until a complete data package arrives, but I couldn’t prove my theory.
I played with ffmpeg parameters like bitrate and fps but nothing has changed.
Is there any settings which I could try ?
-
FFmpeg programming : exr image too dark [on hold]
2 juillet 2017, par Francis TeslaUsing the fantastic FFmpeg library to load images all exr files appears dark.
I am almost sure that’s involve converting the resulting AVFrame or AVPicture from linear to sRGB but I don’t know how to do it.Here is how the EXR file is loaded into an AVPicture :
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);Regards,
Francis