
Recherche avancée
Autres articles (80)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (8481)
-
Evolution #4319 (Fermé) : Embarquer aussi jquery.min.js
11 février 2021, par cedric -Il y a plusieurs sujets :
- le minifieur buggait souvent sur les fichiers déjà minifiés, mais c’est résolu normalement
- le compresseur pourrait reconaitre et utiliser les fichiers .min.js
- mais ça veut dire double maintenance et risque que les utilisateurs modifient le fichier .js et pas le .min.js et s’etonnent que ça marche pas, ou alors on va devoir ajouter des conditions de date etc..
- de toute façon il faudrait enlever jquery du core :pje ferme ici donc, car je pense que c’est beaucoup de complexite pour peu d’avantage au final
-
ffmpeg .mp4 to .h264 avcc formatted bitstream
20 juillet 2014, par user2517182I have a .mp4 file. I would like to convert it to an .h264 file of the form of avcc bitstream.
When I run
ffmpeg -i somfile.mp4 -vcodec libx264 somefile.h264
, a .h264 file is produced, but of the form annexb bitstream. I also tried it withlibx264rgb
argument to -vcodec
and got the same result.I ran
ffmpeg -codecs
and the line that I believe applies to my situation isDEV.LS h264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (decoders: h264 h264_vda ) (encoders: libx264 libx264rgb )
According to this post and this post (they seem to be highly recommended on stackoverflow), although there are differences between the two bitstreams ; I should be able to produce either one of the bitstreams if the bits are packed correctly.
Any help with this would be greatly appreciated.
-
What's the best method for rendering a decoded frame ?
16 avril 2019, par hamidiAfter decoding and reaching to a frame, I need to know the best method for rendering it. I use Bitmap for this purpose, but every time I have to create a new bitmap, one for each frame. Maybe this is not the best method, since lots of memory is consumed and rebuilding bitmaps may take time. To clarify, I give the code :
ret = FFmpegInvoke.sws_scale(
convertContext,
&frame->data_0,
frame->linesize,
0,
frame->height,
&convertedFrame->data_0,
convertedFrame->linesize);
Debug.Assert(ret >= 0);
var bmp = new Bitmap(dest_width, dest_height,
convertedFrame->linesize[0], PixelFormat.Format32bppPArgb,
new IntPtr(convertedFrame->data_0));
pictureBox1.Image = bmp;I’ve added a picture box control to my form. I create a Bitmap from every decoded and converted frame’s data and then set the picture box’s image to the bitmap.
After finding the best method, and knowing whether I’ve done correctly, I need to know why is my problem with a background worker I put in the form. Apparently concurrent accessing to the bitmap object causes exception. Nevermind, first I need to make sure about this one.