
Recherche avancée
Autres articles (7)
-
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.
Sur d’autres sites (4052)
-
Anomalie #4354 (En cours) : Problème de recherche REGEX, mauvais joker
19 juin 2019, par Jimmy LaporteBonjour,
J’ai remarqué un problème dans la recherche REGEX. Les caractères accentués sont remplacés par un joker . dans le pattern pour la requête mysql. Hors cela ne fonctionne pas, si j’ai le titre d’un article qui est "Fêtes et Cérémonies" par exemple et que je recherche (dans le backend ou le front peut importe) "Fêtes et Cérémonies", l’article ne sort jamais. La requête REGEX envoyée à mysql est "F.tes C.r.monies|F.tes|C.r.monies" hors, tout comme avec un preg_match en php, "F.tes" ne matchera jamais "Fêtes" le pattern dois être "F.*tes".
Pour résoudre le problème j’ai du modifier la ligne 202 dans le fichier ecrire/inc/rechercher.php
- <span class="CodeRay"><span class="local-variable">$q_t</span> = <span class="predefined">str_replace</span>(<span class="local-variable">$char</span>, <span class="local-variable">$is_preg</span> ? <span class="string"><span class="delimiter">"</span><span class="content">.</span><span class="delimiter">"</span></span> : <span class="string"><span class="delimiter">"</span><span class="content">_</span><span class="delimiter">"</span></span>, <span class="local-variable">$q_t</span>);
- </span>
par- <span class="CodeRay"><span class="local-variable">$q_t</span> = <span class="predefined">str_replace</span>(<span class="local-variable">$char</span>, <span class="local-variable">$is_preg</span> ? <span class="string"><span class="delimiter">"</span><span class="content">.*</span><span class="delimiter">"</span></span> : <span class="string"><span class="delimiter">"</span><span class="content">_</span><span class="delimiter">"</span></span>, <span class="local-variable">$q_t</span>);
- </span>
-
truehd_core : Switch to in-place modifications
6 juillet 2019, par Andreas Rheinhardttruehd_core : Switch to in-place modifications
The truehd_core bitstream filter decreases the sizes of the
major_sync_info structure (if present), of the
substream_directory and of the substreams themselves. As a consequence,
there is enough space available in front of the actual substream data
for the new header, so that one only needs to modify the header in front
of the actual data (which apart from shrinking is left untouched) and
the packet's size and buffer pointer (after having made sure that the
packet is writable).This and switching to bsf_get_packet_ref also removed the need for
having separate packets for in- and output.Even if the input is not writable, there are noticable performance
improvements : The average of 10 iterations of processing a file with 262144
runs each (inlcuding about 20 skips per iteration) went down from 5669
to 4362 decicycles. If the input is writable, it goes down to 1363
decicycles.Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
-
avformat/matroskadec : Accept more unknown-length elements II
17 mai 2019, par Andreas Rheinhardtavformat/matroskadec : Accept more unknown-length elements II
Up until now, one last kind of unknown-length element hasn't been
properly handled : Unknown-length elements that are supposed to be
skipped, i.e. the level 1 elements that might reside after the
clusters.This commit changes this. To do this, ebml_parse got a mode that
essentially tries to skip everything except when parsing is needed
(namely for unknown-length elements for which parsing is necessary
as they can't be skipped). This mode is selected by using a NULL
as destination where the parsed data should be written to.
It is used to parse the level 1 elements in matroska_parse_cluster.The syntax list used for parsing must of course include links to
the syntax of all the master elements that might need to be parsed.
In other words : Instead of matroska_clusters (which contained every
level 1 element except clusters as EBML_NONE elements designated to
be skipped) matroska_segment is needed and used ; matroska_clusters has
been removed.Furthermore, matroska_segment has been reordered so that clusters are at
the front as this is now the most common case for this list.Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>