Recherche avancée

Médias (91)

Autres articles (58)

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Soumettre bugs et patchs

    10 avril 2011

    Un logiciel n’est malheureusement jamais parfait...
    Si vous pensez avoir mis la main sur un bug, reportez le dans notre système de tickets en prenant bien soin de nous remonter certaines informations pertinentes : le type de navigateur et sa version exacte avec lequel vous avez l’anomalie ; une explication la plus précise possible du problème rencontré ; si possibles les étapes pour reproduire le problème ; un lien vers le site / la page en question ;
    Si vous pensez avoir résolu vous même le bug (...)

Sur d’autres sites (9190)

  • avcodec/mpegvideo_dec : Don't use MotionEstContext as scratch space

    30 octobre 2022, par Andreas Rheinhardt
    avcodec/mpegvideo_dec : Don't use MotionEstContext as scratch space
    

    Decoders that might use quarter pixel motion estimation
    (namely MPEG-4 as well as the VC-1 family) currently
    use MpegEncContext.me.qpel_(put|avg) as scratch space
    for pointers to arrays of function pointers.
    (MotionEstContext contains such pointers as it supports
    quarter pixel motion estimation.) The MotionEstContext
    is unused apart from this for the decoding part of
    mpegvideo.

    Using the context at all is for decoding is actually
    unnecessary and easily avoided : All codecs with
    quarter pixels set me.qpel_avg to qdsp.avg_qpel_pixels_tab,
    so one can just unconditionally use this in ff_mpv_reconstruct_mb().
    MPEG-4 sets qpel_put to qdsp.put_qpel_pixels_tab
    or to qdsp.put_no_rnd_qpel_pixels_tab based upon
    whether the current frame is a b-frame with no_rounding
    or not, while the VC-1-based decoders set it to
    qdsp.put_qpel_pixels_tab unconditionally. Given
    that no_rounding is always zero for VC-1, using
    the same check for VC-1 as well as for MPEG-4 would work.
    Since ff_mpv_reconstruct_mb() already has exactly
    the right check (for hpeldsp), it can simply be reused.

    (This change will result in ff_mpv_motion() receiving
    a pointer to an array of NULL function pointers instead
    of a NULL pointer for codecs without qpeldsp (like MPEG-1/2).
    It doesn't matter.)

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavcodec/h263dec.c
    • [DH] libavcodec/mpv_reconstruct_mb_template.c
    • [DH] libavcodec/mss2.c
    • [DH] libavcodec/vc1dec.c
  • Stuck in installing a voicecloner via Python (module not found)

    25 novembre 2023, par Wimmah

    I use Python 3.11.5

    &#xA;

    As a great Python n00b I enter this forum because I'm stuck with installing a Voice Cloner (for personal use to do a funny trick for X-mas with my family) Its this tool that i'm trying to install : https://github.com/CorentinJ/Real-Time-Voice-Cloning

    &#xA;

    With a little help of chatGTP I came quite far but for some reason the downloaded datasets cant be found. Instructions of the tool state :

    &#xA;

    Install intructions form Github&#xA;So my tree looks like this :

    &#xA;

    (base) willem@willems-air Voice cloner % tree&#xA;.&#xA;├── demo_cli.py&#xA;├── demo_toolbox.py&#xA;├── encoder_preprocess.py&#xA;├── encoder_train.py&#xA;├── saved_models&#xA;│&#xA0;&#xA0; └── default&#xA;│&#xA0;&#xA0;     ├── encoder.pt&#xA;│&#xA0;&#xA0;     ├── synthesizer.pt&#xA;│&#xA0;&#xA0;     └── vocoder.pt&#xA;├── synthesizer_preprocess_audio.py&#xA;├── synthesizer_preprocess_embeds.py&#xA;├── synthesizer_train.py&#xA;└── vocoder_train.py&#xA;&#xA;3 directories, 11 files&#xA;

    &#xA;

    However, when I give the command to execute the demo, I get the message that a needed module cant be found :

    &#xA;

    (base) willem@willems-air Voice cloner % python demo_cli.py&#xA;Traceback (most recent call last):&#xA;  File "/Users/willem/Desktop/Voice cloner/demo_cli.py", line 10, in <module>&#xA;    from encoder import inference as encoder&#xA;ModuleNotFoundError: No module named &#x27;encoder&#x27;&#xA;</module>

    &#xA;

    I build a tree that (for me) looks inline with the installation instructions...(And of course i downloaded the modules without any errors)&#xA;Here also the first lines of the command demo_cli.py where you also see the path :

    &#xA;

    import argparse&#xA;import os&#xA;from pathlib import Path&#xA;&#xA;import librosa&#xA;import numpy as np&#xA;import soundfile as sf&#xA;import torch&#xA;&#xA;from encoder import inference as encoder&#xA;from encoder.params_model import model_embedding_size as speaker_embedding_size&#xA;from synthesizer.inference import Synthesizer&#xA;from utils.argutils import print_args&#xA;from utils.default_models import ensure_default_models&#xA;from vocoder import inference as vocoder&#xA;&#xA;&#xA;if __name__ == &#x27;__main__&#x27;:&#xA;    parser = argparse.ArgumentParser(&#xA;        formatter_class=argparse.ArgumentDefaultsHelpFormatter&#xA;    )&#xA;    parser.add_argument("-e", "--enc_model_fpath", type=Path,&#xA;                        default="saved_models/default/encoder.pt",&#xA;

    &#xA;

    I think i missed out a quite basic step here, but this far ChatGTP is looping and cant help any more, so I need a human tip i guess ;)

    &#xA;

    Thx in advance !

    &#xA;

  • How to use Intel Quick Sync/iGPU in OVH dedicated server

    3 octobre 2022, par Meir

    I have a dedicated server with the following HW :

    &#xA;

    CPU: Intel(R) Xeon(R) E-2386G CPU @ 3.50GHz&#xA;Motherboard: Manufacturer: ASRockRack, Product Name: E3C252D4U-2T/OVH&#xA;

    &#xA;

    According to the Intel website, E-2386G has Intel Quick Sync, and I want to use it.&#xA;I tried to check which VGA I have in the system (expected to see Intel + the local), and this is the output :

    &#xA;

    05:00.0 VGA compatible controller: ASPEED Technology, Inc. ASPEED Graphics Family (rev 41)&#xA;

    &#xA;

    I.e., the Intel iGPU doesn't recognize at all in the system, I tried to check in /dev/dri what are the existing devices there, and this is the output :

    &#xA;

    ls -alh /dev/dri&#xA;total 0&#xA;drwxr-xr-x  3 root root      80 Sep 19 10:28 .&#xA;drwxr-xr-x 18 root root    4.2K Sep 20 13:05 ..&#xA;drwxr-xr-x  2 root root      60 Sep 19 10:28 by-path&#xA;crw-rw----  1 root video 226, 0 Sep 19 10:28 card0&#xA;

    &#xA;

    When I tried to run vainfo tool, I get the following results :

    &#xA;

    Vanilla run :

    &#xA;

    vainfo&#xA;error: can&#x27;t connect to X server!&#xA;libva info: VA-API version 1.7.0&#xA;libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)&#xA;vaInitialize failed with error code -1 (unknown libva error),exit&#xA;

    &#xA;

    Run after setting export LIBVA_DRIVER_NAME=i965 :

    &#xA;

    vainfo&#xA;error: can&#x27;t connect to X server!&#xA;libva info: VA-API version 1.7.0&#xA;libva info: User environment variable requested driver &#x27;i965&#x27;&#xA;libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so&#xA;libva info: Found init function __vaDriverInit_1_6&#xA;libva error: /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so init failed&#xA;libva info: va_openDriver() returns -1&#xA;vaInitialize failed with error code -1 (unknown libva error),exit&#xA;

    &#xA;

    Run with sudo :

    &#xA;

    sudo vainfo&#xA;error: XDG_RUNTIME_DIR not set in the environment.&#xA;error: can&#x27;t connect to X server!&#xA;libva info: VA-API version 1.7.0&#xA;libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)&#xA;vaInitialize failed with error code -1 (unknown libva error),exit&#xA;

    &#xA;

    How can I use Intel Quick Sync ?

    &#xA;

    --- edit ---

    &#xA;

    Running the suggested commands :

    &#xA;

    vainfo --display DRM&#xA;libva info: VA-API version 1.7.0&#xA;libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)&#xA;vaInitialize failed with error code -1 (unknown libva error),exit&#xA;&#xA;vainfo --display wayland&#xA;error: failed to initialize display &#x27;wayland&#x27;&#xA;&#xA;vainfo --display help&#xA;Available displays:&#xA;  wayland&#xA;  x11&#xA;  DRM&#xA;&#xA;&#xA;sudo journalctl -b | grep i965  (no results)&#xA;

    &#xA;