Recherche avancée

Médias (0)

Mot : - Tags -/performance

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (77)

  • Submit enhancements and plugins

    13 avril 2011

    If you have developed a new extension to add one or more useful features to MediaSPIP, let us know and its integration into the core MedisSPIP functionality will be considered.
    You can use the development discussion list to request for help with creating a plugin. As MediaSPIP is based on SPIP - or you can use the SPIP discussion list SPIP-Zone.

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

Sur d’autres sites (12711)

  • tools : Add a sidxindex tool

    29 octobre 2014, par Martin Storsjö
    tools : Add a sidxindex tool
    

    This tool can write an MPD file for fragmented MP4 files with
    a sidx index at the start of the file.

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DH] libavformat/Makefile
    • [DH] tools/sidxindex.c
  • tools : Add a sidxindex tool

    29 octobre 2014, par Martin Storsjö
    tools : Add a sidxindex tool
    

    This tool can write an MPD file for fragmented MP4 files with
    a sidx index at the start of the file.

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DBH] libavformat/Makefile
    • [DBH] tools/sidxindex.c
  • FFMPEG AMF Hardware Acceleration on AMD Ryzen™ 7 7700 Server in Ubuntu 22.04 [closed]

    4 décembre 2024, par LoNormaly

    I was trying to make ffmpeg available with AMF and have access to the AMF hardware acceleration (in ffmpeg -hwaccels) but failed.

    &#xA;

    At first, the kernel that the server as Ubuntu 22.04 came with was 5.15 and after contacting support I was explained that I need to upgrade the kernel to have access to /dev/dri.

    &#xA;

    So I upgraded to 6.8 and then I had access to /dev/dri and was able to use ffmpeg 7.1 with vaapi working.

    &#xA;

    In AMD, they have their own hardware acceleration named AMF, that allows much better speed and quality of transcoding.

    &#xA;

    I installed the AMD GPU drivers like it's explained here : https://www.amd.com/en/support/download/linux-drivers.html

    &#xA;

    I installed AMF as well, and compiled my own ffmpeg build with --enable-amf flag.

    &#xA;

    Still in ffmpeg -hwaccels I get access to vaapi and drm only.

    &#xA;

    Can you share if you know any solution to this enigma ?

    &#xA;

    These are the instructions with which I installed the drivers, AMF and ffmpeg with :

    &#xA;

    Install AMD GPU Pro Drivers:&#xA;wget https://repo.radeon.com/amdgpu-install…60203-1_all.deb&#xA;sudo apt install ./amdgpu-install_6.2.60203-1_all.deb&#xA;&#xA;amdgpu-install --usecase=amf,multimedia -y&#xA;sudo amdgpu-install -y --usecase=amf,graphics --accept-eula --opencl=rocr,legacy --vulkan=amdvlk,pro&#xA;&#xA;&#xA;&#xA;CompilationGuide/Ubuntu – FFmpeg&#xA;Compiling ffmpeg:&#xA;&#xA;sudo apt-get update -qq &amp;&amp; sudo apt-get -y install \&#xA;autoconf \&#xA;automake \&#xA;build-essential \&#xA;cmake \&#xA;git-core \&#xA;libass-dev \&#xA;libfreetype6-dev \&#xA;libgnutls28-dev \&#xA;libmp3lame-dev \&#xA;libtool \&#xA;libvorbis-dev \&#xA;meson \&#xA;ninja-build \&#xA;pkg-config \&#xA;texinfo \&#xA;wget \&#xA;yasm \&#xA;zlib1g-dev&#xA;&#xA;sudo apt install libunistring-dev libaom-dev libdav1d-dev -y&#xA;&#xA;mkdir -p ~/ffmpeg_sources ~/bin&#xA;&#xA;// Install prerequisites&#xA;apt-get update &amp;&amp; apt-get install -y \&#xA;build-essential \&#xA;pkg-config \&#xA;yasm \&#xA;nasm \&#xA;libtool \&#xA;automake \&#xA;cmake \&#xA;libx264-dev \&#xA;libx265-dev \&#xA;libvpx-dev \&#xA;libfdk-aac-dev \&#xA;libopus-dev \&#xA;libaom-dev \&#xA;libdrm-dev \&#xA;libva-dev \&#xA;vainfo&#xA;    &#xA;    &#xA;cd ~/ffmpeg_sources &amp;&amp; \&#xA;wget https://ffmpeg.org/releases/ffmpeg-7.1.tar.bz2 &amp;&amp; \&#xA;tar -xjf ffmpeg-7.1.tar.bz2 &amp;&amp; \&#xA;mkdir ffmpeg_build &amp;&amp; \&#xA;cd ffmpeg_build &amp;&amp; \&#xA;mkdir include &amp;&amp; \&#xA;cd include &amp;&amp; \&#xA;&#xA;&#xA;// Install AMF&#xA;git clone https://github.com/GPUOpen-LibrariesAndSDKs/AMF.git &amp;&amp; \&#xA;mv ~/ffmpeg_build/include/AMF/amf ~/ffmpeg_build/include/ &amp;&amp; \&#xA;rm -rf AMF &amp;&amp; \&#xA;&#xA;// From here: https://askubuntu.com/questions/1440…-ubuntu-20-04-5&#xA;// Correct install:&#xA;cd ~/&#xA;git clone https://github.com/GPUOpen-LibrariesAndSDKs/AMF.git&#xA;mkdir /usr/local/include/AMF&#xA;cd /usr/local/include/AMF&#xA;ln -sf ~/AMF/amf/public/include/core&#xA;ln -sf ~/AMF/amf/public/include/components&#xA;&#xA;// Install libvmaf&#xA;cd ~/ffmpeg_sources &amp;&amp; \&#xA;wget https://github.com/Netflix/vmaf/archive/v3.0.0.tar.gz &amp;&amp; \&#xA;tar xvf v3.0.0.tar.gz &amp;&amp; \&#xA;mkdir -p vmaf-3.0.0/libvmaf/build &amp;&amp; \&#xA;&#xA;cd vmaf-3.0.0/libvmaf &amp;&amp; \&#xA;meson setup build --buildtype=release --default-library=static --prefix="$HOME/ffmpeg_build" &amp;&amp; \&#xA;ninja -C build &amp;&amp; \&#xA;ninja -C build install&#xA;&#xA;cd ~/ffmpeg_sources/ffmpeg-7.1&#xA;PATH="$HOME/bin:$PATH" PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure \&#xA;--prefix="$HOME/ffmpeg_build" \&#xA;--pkg-config-flags="--static" \&#xA;--extra-cflags="-I$HOME/ffmpeg_build/include" \&#xA;--extra-ldflags="-L$HOME/ffmpeg_build/lib" \&#xA;--extra-libs="-lpthread -lm" \&#xA;--ld="g&#x2B;&#x2B;" \&#xA;--bindir="$HOME/bin" \&#xA;--enable-gpl \&#xA;--enable-gnutls \&#xA;--enable-libaom \&#xA;--enable-libass \&#xA;--enable-libfdk-aac \&#xA;--enable-libfreetype \&#xA;--enable-libmp3lame \&#xA;--enable-libopus \&#xA;--enable-libdav1d \&#xA;--enable-libvorbis \&#xA;--enable-libvpx \&#xA;--enable-libx264 \&#xA;--enable-libx265 \&#xA;--enable-libdrm \&#xA;--enable-vaapi \&#xA;--enable-libvmaf \&#xA;--enable-amf \&#xA;--enable-nonfree &amp;&amp; \&#xA;PATH="$HOME/bin:$PATH" make &amp;&amp; \&#xA;make -j$(nproc) install &amp;&amp; \&#xA;hash -r&#xA;&#xA;&#xA;./ffmpeg -buildconf&#xA;&#xA;&#xA;&#xA;Test VMAF to compare quality:&#xA;./ffmpeg -i input.mp4 -i reference.mp4 -lavfi libvmaf -f null -&#xA;// example output: [Parsed_libvmaf_0 @ 0x74a0f8004940] VMAF score: 98.930249ate=N/A speed=9.06x&#xA;

    &#xA;