Recherche avancée

Médias (1)

Mot : - Tags -/biographie

Autres articles (86)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie 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 (...)

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

Sur d’autres sites (9963)

  • Evolution #4539 (Nouveau) : Suppression des versions dans des procures de spip

    15 août 2020, par Franck D

    Hello
    Avant de faire, je voulais un avis :)

    Je me demande s’il ne faudrait pas que nous supprimions les versions des procures qu’il y a dans :
    https://git.spip.net/spip/spip/src/branch/master/ecrire/paquet.xml#L141
    https://git.spip.net/spip/spip/src/branch/master/ecrire/paquet.xml#L142

    Il y a les plugins (uniquement pour spip 2.1) https://plugins.spip.net/iterateurs.html et https://plugins.spip.net/queue.html

    J’hésite entre la suppression des lignes ou uniquement les versions

    Sachant que de toute façon, la version de itérateurs ne correspond plus avec la version de spip 2.1 depuis au moins les derniers commit de marcimat
    https://git.spip.net/spip/spip/commit/c69869b7b5604c736423c4eec4b92a3f3b7935dd
    https://git.spip.net/spip/spip/commit/afe3a6302795efc996d9d7e679965a201ddd2f22
    https://git.spip.net/spip/spip/commit/4d844b1f05c7ab9cde72f5550b09f0205d650fe7

    L’intérêt était surtout du temps ou les plugins n’avaient qu’un fichier plugin.xml pour spip 2 et 3, mais maintenant :
    - Ils sont rare, et de toute façon, pour spip 3.3 faudra obligatoirement un fichier paquet.xml en plus.
    - Il y a encore des plugins pour spip 3.2 avec un fichiers plugin.xml et un autre paquet.xml, mais je ne pense pas ( a vérifier) qu’il y a des plug qui ont "necessite" ou "utilise" iterateur ou queue

  • swscale/graph : add new high-level scaler dispatch mechanism

    10 octobre 2024, par Niklas Haas
    swscale/graph : add new high-level scaler dispatch mechanism
    

    This interface has been designed from the ground up to serve as a new
    framework for dispatching various scaling operations at a high level. This
    will eventually replace the old ad-hoc system of using cascaded contexts,
    as well as allowing us to plug in more dynamic scaling passes requiring
    intermediate steps, such as colorspace conversions, etc.

    The starter implementation merely piggybacks off the existing sws_init() and
    sws_scale(), functions, though it does bring the immediate improvement of
    splitting up cascaded functions and pre/post conversion functions into
    separate filter passes, which allows them to e.g. be executed in parallel
    even when the main scaler is required to be single threaded. Additionally,
    a dedicated (multi-threaded) noop memcpy pass substantially improves
    throughput of that fast path.

    Follow-up commits will eventually expand this to move all of the scaling
    decision logic into the graph init function, and also eliminate some of the
    current special cases.

    Sponsored-by : Sovereign Tech Fund
    Signed-off-by : Niklas Haas <git@haasn.dev>

    • [DH] libswscale/Makefile
    • [DH] libswscale/graph.c
    • [DH] libswscale/graph.h
  • FFMPEG, Blur an area of a video using Image Select Areas Plugin

    12 juillet 2016, par Drupalist

    I am building an online video editor. I need to allow the users to blur an area of movies. This must be done graphically, I mean user should be able to select an area of a video, using an screenshot, then the selected area must be blurred. Some thing like this

    enter image description here

    Is there anyway to map this selected area dimension and its distance from borders to the real values that must be applied to the video ?

    I mean four numbers, width, length, top, left will be provided using this plug in and I need to use these numbers to blur an area of videos.

    I take an screenshot of video. In order to keep the aspect ratio, I will fix the width to 800px and let the height to be scaled up/down. It is clear that the width, length, top, left of the selected area of the screenshot is a factor of the width, length, top, left of the area that must be blurred in video. but I don’t know how to get this factor. Besides that I don’t know how to get the video resolution.

    Thanks in advance.


    Update

    This is my PHP code that gets the selected area dimensions and offsets

    $iLeft = $_POST['left'];
    $iTop = $_POST['top'];
    $iWidth = $_POST['width'];
    $iHeight = $_POST['height'];
    exec('ffmpeg -i '.$url.' -filter_complex "[0:v]scale=iw*sar:ih,setsar=1,split[bg][bb];[bb]crop='.$iWidth.'*iw/800:iw*'.$iHeight.'/800:'.$iWidth.'*iw/800:'.$iHeight.'*iw/800,boxblur=10[b0];[bg][b0]overlay='.$iLeft.'*W/800:'.$iTop.'*W/800"" '.$name.' > block.txt 2>&amp;1');

    $iLeft, $iTop, $iWidth, $iHeight are the left, top, width and height of the selected area via the image plugin.

    It blurs many selected areas very well, but areas like this

    enter image description here

    The Image Left, Top, Width, Height is 257,  39.26666259765625,  10,  391

    don’t get blurred. Also a video with Dimension 207x207 didn’t get blurred as well.