Recherche avancée

Médias (91)

Autres articles (54)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

Sur d’autres sites (8933)

  • libx264 codec not enabled in ffmpeg ubuntu 18.04

    18 janvier 2023, par Bendemann

    I have some weird codec installation issues with the following docker image.

    


    ARG PYTORCH="1.8.0"
ARG CUDA="11.1"
ARG CUDNN="8"
FROM pytorch/pytorch:${PYTORCH}-cuda${CUDA}-cudnn${CUDNN}-devel

ENV TORCH_CUDA_ARCH_LIST="6.0 6.1 7.0 8.0+PTX"
ENV TORCH_NVCC_FLAGS="-Xfatbin -compress-all"
ENV CMAKE_PREFIX_PATH="$(dirname $(which conda))/../"

# https://github.com/NVIDIA/nvidia-docker/issues/1632
RUN apt-key del 7fa2af80
RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/3bf863cc.pub
RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu2004/x86_64/7fa2af80.pub

RUN apt-get update && apt-get install -y \
        git nano ninja-build p7zip-full imagemagick wget unzip \
        libglib2.0-0 libsm6 libxrender-dev libxext6 libturbojpeg \
        libxrender1 libfontconfig1 freeglut3-dev llvm-6.0-tools curl \
        amqp-tools ffmpeg libx264-dev \
    && apt --fix-broken install \
    && apt-get clean \
    && rm -rf /var/lib/apt/lists/* \
    # for visualizing
    && wget https://github.com/mmatl/travis_debs/raw/master/xenial/mesa_18.3.3-0.deb \
    && dpkg -i ./mesa_18.3.3-0.deb || true \
    && apt install -f \
    && git clone https://github.com/mmatl/pyopengl.git \
    && pip install ./pyopengl


    


    First of all, libx264 is supposed to be installed by a simple apt-get install ffmpeg in ubuntu 18.04.5. Indeed I see that it is being installed in the installation instructions but for some reason, it's not enabled. This is confirmed when running ffmpeg -codecs | grep 264, which doesn't show libx264 (only h264, libopenh264 are there).

    


    In addition, I also compiled from source, explicitly enabling libx264 during installation. It didn't make a difference.

    


  • libx264 codex not enabled in ffmpeg ubuntu 18.04

    23 novembre 2022, par Bendemann

    I have some weird codex installation issues with the following docker image.

    


    ARG PYTORCH="1.8.0"
ARG CUDA="11.1"
ARG CUDNN="8"
FROM pytorch/pytorch:${PYTORCH}-cuda${CUDA}-cudnn${CUDNN}-devel

ENV TORCH_CUDA_ARCH_LIST="6.0 6.1 7.0 8.0+PTX"
ENV TORCH_NVCC_FLAGS="-Xfatbin -compress-all"
ENV CMAKE_PREFIX_PATH="$(dirname $(which conda))/../"

# https://github.com/NVIDIA/nvidia-docker/issues/1632
RUN apt-key del 7fa2af80
RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/3bf863cc.pub
RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu2004/x86_64/7fa2af80.pub

RUN apt-get update && apt-get install -y \
        git nano ninja-build p7zip-full imagemagick wget unzip \
        libglib2.0-0 libsm6 libxrender-dev libxext6 libturbojpeg \
        libxrender1 libfontconfig1 freeglut3-dev llvm-6.0-tools curl \
        amqp-tools ffmpeg libx264-dev \
    && apt --fix-broken install \
    && apt-get clean \
    && rm -rf /var/lib/apt/lists/* \
    # for visualizing
    && wget https://github.com/mmatl/travis_debs/raw/master/xenial/mesa_18.3.3-0.deb \
    && dpkg -i ./mesa_18.3.3-0.deb || true \
    && apt install -f \
    && git clone https://github.com/mmatl/pyopengl.git \
    && pip install ./pyopengl


    


    First of all, libx264 is supposed to be installed by a simple apt-get install ffmpeg in ubuntu 18.04.5. Indeed I see that it is being installed in the installation instructions but for some reason, it's not enabled. This is confirmed when running ffmpeg -codecs | grep 264, which doesn't show libx264 (only h264, libopenh264 are there).

    


    In addition, I also compiled from source, explicitly enabling libx264 during installation. It didn't make a difference.

    


  • libx264 codex not enabled in ffmpeg ubuntu 18.04

    23 novembre 2022, par Bendemann

    I have some weird codex installation issues with the following docker image.

    


    ARG PYTORCH="1.8.0"
ARG CUDA="11.1"
ARG CUDNN="8"
FROM pytorch/pytorch:${PYTORCH}-cuda${CUDA}-cudnn${CUDNN}-devel

ENV TORCH_CUDA_ARCH_LIST="6.0 6.1 7.0 8.0+PTX"
ENV TORCH_NVCC_FLAGS="-Xfatbin -compress-all"
ENV CMAKE_PREFIX_PATH="$(dirname $(which conda))/../"

# https://github.com/NVIDIA/nvidia-docker/issues/1632
RUN apt-key del 7fa2af80
RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/3bf863cc.pub
RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu2004/x86_64/7fa2af80.pub

RUN apt-get update && apt-get install -y \
        git nano ninja-build p7zip-full imagemagick wget unzip \
        libglib2.0-0 libsm6 libxrender-dev libxext6 libturbojpeg \
        libxrender1 libfontconfig1 freeglut3-dev llvm-6.0-tools curl \
        amqp-tools ffmpeg libx264-dev \
    && apt --fix-broken install \
    && apt-get clean \
    && rm -rf /var/lib/apt/lists/* \
    # for visualizing
    && wget https://github.com/mmatl/travis_debs/raw/master/xenial/mesa_18.3.3-0.deb \
    && dpkg -i ./mesa_18.3.3-0.deb || true \
    && apt install -f \
    && git clone https://github.com/mmatl/pyopengl.git \
    && pip install ./pyopengl


    


    First of all, libx264 is supposed to be installed by a simple apt-get install ffmpeg in ubuntu 18.04.5. Indeed I see that it is being installed in the installation instructions but for some reason, it's not enabled. This is confirmed when running ffmpeg -codecs | grep 264, which doesn't show libx264 (only h264, libopenh264 are there).

    


    In addition, I also compiled from source, explicitly enabling libx264 during installation. It didn't make a difference.