Recherche avancée

Médias (91)

Autres articles (92)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Changer son thème graphique

    22 février 2011, par

    Le thème graphique ne touche pas à la disposition à proprement dite des éléments dans la page. Il ne fait que modifier l’apparence des éléments.
    Le placement peut être modifié effectivement, mais cette modification n’est que visuelle et non pas au niveau de la représentation sémantique de la page.
    Modifier le thème graphique utilisé
    Pour modifier le thème graphique utilisé, il est nécessaire que le plugin zen-garden soit activé sur le site.
    Il suffit ensuite de se rendre dans l’espace de configuration du (...)

Sur d’autres sites (8638)

  • Additionals : Fix pattern method when parameter is a string

    2 octobre 2014, par barryvdh
    Additionals : Fix pattern method when parameter is a string
    

    Reverts 37992c1c9e2e0be8b315ccccc2acb74863439d3e

    The pattern should match the entire value of the input, not just a subset.

    Closes #1204

  • avfilter/dnn : Refactor DNN parameter configuration system

    7 mai 2024, par Zhao Zhili
    avfilter/dnn : Refactor DNN parameter configuration system
    

    This patch trying to resolve mulitiple issues related to parameter
    configuration :

    Firstly, each DNN filters duplicate DNN_COMMON_OPTIONS, which should
    be the common options of backend.

    Secondly, backend options are hidden behind the scene. It's a
    AV_OPT_TYPE_STRING backend_configs for user, and parsed by each
    backend. We don't know each backend support what kind of options
    from the help message.

    Third, DNN backends duplicate DNN_BACKEND_COMMON_OPTIONS.

    Last but not the least, pass backend options via AV_OPT_TYPE_STRING
    makes it hard to pass AV_OPT_TYPE_BINARY to backend, if not impossible.

    This patch puts backend common options and each backend options inside
    DnnContext to reduce code duplication, make options user friendly, and
    easy to extend for future usecase.

    For example,

    ./ffmpeg -h filter=dnn_processing

    dnn_processing AVOptions :
    dnn_backend <int> ..FV....... DNN backend (from INT_MIN to INT_MAX) (default tensorflow)
    tensorflow 1 ..FV....... tensorflow backend flag
    openvino 2 ..FV....... openvino backend flag
    torch 3 ..FV....... torch backend flag

    dnn_base AVOptions :
    model <string> ..F........ path to model file
    input <string> ..F........ input name of the model
    output <string> ..F........ output name of the model
    backend_configs <string> ..F.......P backend configs (deprecated)
    options <string> ..F.......P backend configs (deprecated)
    nireq <int> ..F........ number of request (from 0 to INT_MAX) (default 0)
    async <boolean> ..F........ use DNN async inference (default true)
    device <string> ..F........ device to run model

    dnn_tensorflow AVOptions :
    sess_config <string> ..F........ config for SessionOptions

    dnn_openvino AVOptions :
    batch_size <int> ..F........ batch size per request (from 1 to 1000) (default 1)
    input_resizable <boolean> ..F........ can input be resizable or not (default false)
    layout <int> ..F........ input layout of model (from 0 to 2) (default none)
    none 0 ..F........ none
    nchw 1 ..F........ nchw
    nhwc 2 ..F........ nhwc
    scale <float> ..F........ Add scale preprocess operation. Divide each element of input by specified value. (from INT_MIN to INT_MAX) (default 0)
    mean <float> ..F........ Add mean preprocess operation. Subtract specified value from each element of input. (from INT_MIN to INT_MAX) (default 0)

    dnn_th AVOptions :
    optimize <int> ..F........ turn on graph executor optimization (from 0 to 1) (default 0)

    Signed-off-by : Zhao Zhili <zhilizhao@tencent.com>
    Reviewed-by : Wenbin Chen <wenbin.chen@intel.com>
    Reviewed-by : Guo Yejun <yejun.guo@intel.com>

    • [DH] libavfilter/dnn/dnn_backend_common.h
    • [DH] libavfilter/dnn/dnn_backend_openvino.c
    • [DH] libavfilter/dnn/dnn_backend_tf.c
    • [DH] libavfilter/dnn/dnn_backend_torch.cpp
    • [DH] libavfilter/dnn/dnn_interface.c
    • [DH] libavfilter/dnn_filter_common.c
    • [DH] libavfilter/dnn_filter_common.h
    • [DH] libavfilter/dnn_interface.h
    • [DH] libavfilter/vf_derain.c
    • [DH] libavfilter/vf_dnn_classify.c
    • [DH] libavfilter/vf_dnn_detect.c
    • [DH] libavfilter/vf_dnn_processing.c
    • [DH] libavfilter/vf_sr.c
  • Add more parameters to function with declared parameter

    27 novembre 2017, par Programmmereg

    I want to add two variable in addFilter() function. But the problem is that this method allows only one parameter to get. How to extend it ?

    FMpeg::fromDisk('public')
           ->open('/uploads/videos/' .$video->file_name)
           ->addFilter(function($filters) {
               $filters->clip(FFMpeg\Coordinate\TimeCode::fromSeconds($start), FFMpeg\Coordinate\TimeCode::fromSeconds($duration));
           })
           ->export()
           ->toDisk('public')

    definition of code : I can’t change this

    public function addFilter(FilterInterface $filter)
       {
           $this->filters->add($filter);

           return $this;
       }