Форум русскоязычного сообщества Ubuntu


Считаете, что Ubuntu недостаточно дружелюбна к новичкам?
Помогите создать новое Руководство для новичков!

Автор Тема: Установка ffmpeg c поддержкой nvenc в Ubuntu 16.04  (Прочитано 4251 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн baron_P

  • Автор темы
  • Новичок
  • *
  • Сообщений: 36
  • We do what we must because we can
    • Просмотр профиля
Доброго времени суток.
Возникла необходимость писать видео с экрана и хочется делать это с использованием видеокарты, а не процессора. По этому (https://linuxoidblog.blogspot.com/2017/01/obs-studio-ffmpeg-nvidia-nvenc.html) мануалу пытаюсь установить ffmpeg и obs. Сперва команда ./build.sh -d /home/baronp/ffmpeg-nvenc-obs -o выдавала ошибку о неожиданном конце файла. Исправил незакрытую кавычку в build.sh, получилось следующее:
#!/bin/bash

# This script will compile and install a static ffmpeg build with support for
# nvenc on ubuntu. See the prefix path and compile options if edits are needed
# to suit your needs.

#Authors:
#   Linux GameCast ( http://linuxgamecast.com/ )
#   Mathieu Comandon <strider@strycore.com>

set -e

ShowUsage() {
    echo "Usage: ./build.sh [--dest /path/to/ffmpeg] [--obs] [--help]"
    echo "Options:"
    echo "  -d/--dest: Where to build ffmpeg (Optional, defaults to ./ffmpeg-nvenc)"
    echo "  -o/--obs:  Build OBS Studio"
    echo "  -h/--help: This help screen"
    exit 0
}

root_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

params=$(getopt -n $0 -o d:soh --long dest:,ssr,obs,help -- "$@")
eval set -- $params
while true ; do
    case "$1" in
        -h|--help) ShowUsage ;;
        -o|--obs) build_obs=1; shift ;;
        -d|--dest) build_dir=$2; shift 2;;
        *) shift; break ;;
    esac
done

cpus=$(getconf _NPROCESSORS_ONLN)
source_dir="${root_dir}/source"
mkdir -p $source_dir
build_dir="${build_dir:-"${root_dir}/ffmpeg-nvenc"}"
mkdir -p $build_dir
bin_dir="${build_dir}/bin"
mkdir -p $bin_dir
inc_dir="${build_dir}/include"
mkdir -p $inc_dir

echo "Building FFmpeg in ${build_dir}"

export PATH=$bin_dir:$PATH

InstallDependencies() {
    echo "Installing dependencies"
    sudo apt-get -y --force-yes install autoconf automake build-essential libass-dev \
        libfreetype6-dev libgpac-dev libsdl1.2-dev libtheora-dev libtool libva-dev \
        libvdpau-dev libvorbis-dev libxcb1-dev libxcb-shm0-dev libxcb-xfixes0-dev \
        libqt5x11extras5-dev libxcb-xinerama0-dev libvlc-dev libv4l-dev   \
        pkg-config texi2html zlib1g-dev nasm cmake libcurl4-openssl-dev \
        libjack-jackd2-dev libxcomposite-dev x11proto-composite-dev \
        libx264-dev libgl1-mesa-dev libglu1-mesa-dev libasound2-dev \
        libpulse-dev libjack-dev libx11-dev libxext-dev libxfixes-dev \
        libxi-dev qt5-default qttools5-dev qt5-qmake
}

InstallNvidiaSDK() {
    echo "Installing the NVidia Video SDK"
    sdk_version="6.0.1"
    sdk_basename="nvidia_video_sdk_${sdk_version}"
    sdk_url="http://developer.download.nvidia.com/assets/cuda/files/${sdk_basename}.zip"
    cd $source_dir
    wget $sdk_url
    unzip "${sdk_basename}.zip"
    cd $sdk_basename
    cp -a Samples/common/inc/* $inc_dir
}

BuildYasm() {
    echo "Compiling yasm"
    cd $source_dir
    yasm_version="1.3.0"
    yasm_basename="yasm-${yasm_version}"
    wget http://www.tortall.net/projects/yasm/releases/${yasm_basename}.tar.gz
    tar xzf "${yasm_basename}.tar.gz"
    cd $yasm_basename
    ./configure --prefix="${build_dir}" --bindir="${bin_dir}"
    make -j${cpus}
    make install
}

BuildX264() {
    echo "Compiling libx264"
    cd $source_dir
    wget http://download.videolan.org/pub/x264/snapshots/last_x264.tar.bz2
    tar xjf last_x264.tar.bz2
    cd x264-snapshot*
    ./configure --prefix="$build_dir" --bindir="$bin_dir" # --enable-static
    make -j${cpus}
    make install
}

BuildFdkAac() {
    echo "Compiling libfdk-aac"
    cd $source_dir
    wget -O fdk-aac.zip https://github.com/mstorsjo/fdk-aac/zipball/master
    unzip fdk-aac.zip
    cd mstorsjo-fdk-aac*
    autoreconf -fiv
    ./configure --prefix="$build_dir" # --disable-shared
    make -j${cpus}
    make install
}

BuildLame() {
    echo "Compiling libmp3lame"
    cd $source_dir
    lame_version="3.99.5"
    lame_basename="lame-${lame_version}"
    wget "http://downloads.sourceforge.net/project/lame/lame/3.99/${lame_basename}.tar.gz"
    tar xzf "${lame_basename}.tar.gz"
    cd $lame_basename
    ./configure --prefix="$build_dir" --enable-nasm # --disable-shared
    make -j${cpus}
    make install
}

BuildOpus() {
    echo "Compiling libopus"
    cd $source_dir
    opus_version="1.1"
    opus_basename="opus-${opus_version}"
    wget "http://downloads.xiph.org/releases/opus/${opus_basename}.tar.gz"
    tar xzf "${opus_basename}.tar.gz"
    cd $opus_basename
    ./configure --prefix="$build_dir" # --disable-shared
    make -j${cpus}
    make install
}

BuildVpx() {
    echo "Compiling libvpx"
    cd $source_dir
    vpx_version="1.5.0"
    vpx_basename="libvpx-${vpx_version}"
    vpx_url="http://storage.googleapis.com/downloads.webmproject.org/releases/webm/${vpx_basename}.tar.bz2"
    wget $vpx_url
    tar xjf "${vpx_basename}.tar.bz2"
    cd $vpx_basename
    ./configure --prefix="$build_dir" --disable-examples --enable-shared --disable-static
    make -j${cpus}
    make install
}

BuildFFmpeg() {
    echo "Compiling ffmpeg"
    cd $source_dir
    ffmpeg_version="3.1"
    if [ ! -f  ffmpeg-${ffmpeg_version}.tar.bz2 ]; then
        wget http://ffmpeg.org/releases/ffmpeg-${ffmpeg_version}.tar.bz2
    fi
    tar xjf ffmpeg-${ffmpeg_version}.tar.bz2
    cd ffmpeg-${ffmpeg_version}
    PKG_CONFIG_PATH="${build_dir}/lib/pkgconfig" ./configure \
        --prefix="$build_dir" \
        --extra-cflags="-fPIC -m64 -I${inc_dir}" \
        --extra-ldflags="-L${build_dir}/lib" \
        --bindir="$bin_dir" \
        --enable-gpl \
        --enable-libass \
        --enable-libfdk-aac \
        --enable-libfreetype \
        --enable-libmp3lame \
        --enable-libopus \
        --enable-libtheora \
        --enable-libvorbis \
        --enable-libvpx \
        --enable-libx264 \
        --enable-nonfree \
        --enable-nvenc \
        --enable-pic \
        --extra-ldexeflags=-pie \
        --enable-shared
    make -j${cpus}
    make install
}

BuildOBS() {
    cd $source_dir
    export FFmpegPath="${source_dir}/ffmpeg"
    if [ -d obs-studio ]; then
        cd obs-studio
        git pull
    else
        git clone https://github.com/jp9000/obs-studio.git
        cd obs-studio
    fi
    mkdir -p build
    cd build
    cmake -DUNIX_STRUCTURE=1 -DCMAKE_INSTALL_PREFIX=$build_dir ..
    make -j${cpus}
    make install
}

CleanAll() {
    rm -rf $source_dir
}

MakeScripts() {
    cd $build_dir
    mkdir -p scripts
    cd scripts
    cat <<EOF > ffmpeg.sh
#!/bin/bash
export LD_LIBRARY_PATH="${build_dir}/lib":\$LD_LIBRARY_PATH
cd "${build_dir}/bin"
./ffmpeg "\$@"
EOF
    chmod +x ffmpeg.sh

    if [ "$build_obs" ]; then
        cat <<EOF > obs.sh
#!/bin/bash
export LD_LIBRARY_PATH="${build_dir}/lib":\$LD_LIBRARY_PATH
cd "${build_dir}/bin"
./obs "\$@"
EOF
        chmod +x obs.sh
    fi
}   

MakeLauncherOBS() {
    cat <<EOF > ~/.local/share/applications/obs.desktop
[Desktop Entry]
Version=1.0
Name=OBS Studio
Comment=OBS Studio (NVenc enabled)
Categories=Video;
Exec=${build_dir}/scripts/obs.sh %U
Icon=obs
Terminal=false
Type=Application
EOF
    mkdir -p ~/.icons
    cp ${root_dir}/ffmpeg-nvenc/share/icons/hicolor/256x256/apps/obs.png ~/.icons
    gtk-update-icon-cache -t ~/.icons
}

if [ $1 ]; then
    $1
else
    InstallDependencies
    InstallNvidiaSDK
    BuildYasm
    BuildX264
    BuildFdkAac
    BuildLame
    BuildOpus
    BuildVpx
    BuildFFmpeg
    if [ "$build_obs" ]; then
        BuildOBS
        MakeLauncherOBS
    fi
   
    MakeScripts
fi
Теперь пишет вот это:
Пакеты, имеющие неудовлетворённые зависимости:
 libjack-dev : Зависит: libjack0 (= 1:0.124.1+20140122git5013bed0-3build2) но он не будет установлен
 libjack-jackd2-dev : Конфликтует: libjack-dev
 libva-dev : Зависит: libva-drm1 (= 1.7.0-1ubuntu0.1) но 1.7.3-2~16.04.york0 будет установлен
             Зависит: libva-x11-1 (= 1.7.0-1ubuntu0.1) но 1.7.3-2~16.04.york0 будет установлен
             Зависит: libva1 (= 1.7.0-1ubuntu0.1) но 1.7.3-2~16.04.york0 будет установлен
 libx264-dev : Зависит: libx264-148 (= 2:0.148.2643+git5c65704-1) но 2:0.148.2795+gitaaa9aa8-1~16.04.york0 будет установлен
E: Невозможно исправить ошибки, у вас отложены (held) битые пакеты.

Подскажите, в какую сторону копать дальше?
OS: Ubuntu Mate 20.04, Lubuntu 16.04

Оффлайн peregrine

  • FSM
  • СуперМодератор
  • Старожил
  • *
  • Сообщений: 7203
  • Gentoo x64 Ubuntu 16.04.1 x64
    • Просмотр профиля
Re: Установка ffmpeg c поддержкой nvenc в Ubuntu 16.04
« Ответ #1 : 16 Июня 2018, 21:48:43 »
Ну наверно стоить начать с этого:
lspci -k | grep -EA2 'VGA|3D'Вывод на форум. Ну и да, я не одобряю ставить ffmpeg с nvenc от какого-то левого Васяна, лучше идти на сайт ffmpeg-а, а именно сюда. Вооружившись этим гайдом по сборке ffmpeg-а, стоит сходить сюда, а в дополнение можно поглядывать на это, но важно помнить, что там очень сильно устаревшая информация и патч давно уже включен в состав ffmpeg-а, хотя команды для включения nvenc в процессе сборки, скорее всего рабочие.
« Последнее редактирование: 16 Июня 2018, 21:56:20 от peregrine »

Оффлайн ARTGALGANO

  • Заслуженный пользователь
  • Старожил
  • *
  • Сообщений: 1936
    • Просмотр профиля
Re: Установка ffmpeg c поддержкой nvenc в Ubuntu 16.04
« Ответ #2 : 16 Июня 2018, 21:59:42 »
baron_P, подобные ошибки из-за всяких добавленных  репов

Оффлайн peregrine

  • FSM
  • СуперМодератор
  • Старожил
  • *
  • Сообщений: 7203
  • Gentoo x64 Ubuntu 16.04.1 x64
    • Просмотр профиля
Re: Установка ffmpeg c поддержкой nvenc в Ubuntu 16.04
« Ответ #3 : 16 Июня 2018, 22:03:38 »
ARTGALGANO, ffmpeg из реп вообще лучше не ставить, он там очень древний и настоящих стабильных релизов у него нет из-за природы проекта, а все зависимости к нему отдельно собирать согласно гайду по установке. Они тогда в директорию вместе с ffmpeg-ом соберутся и будут использоваться вместо системных.

Оффлайн ARTGALGANO

  • Заслуженный пользователь
  • Старожил
  • *
  • Сообщений: 1936
    • Просмотр профиля
Re: Установка ffmpeg c поддержкой nvenc в Ubuntu 16.04
« Ответ #4 : 16 Июня 2018, 22:28:30 »
Этото  верно, а зависимости же   из оф.репов?

Оффлайн peregrine

  • FSM
  • СуперМодератор
  • Старожил
  • *
  • Сообщений: 7203
  • Gentoo x64 Ubuntu 16.04.1 x64
    • Просмотр профиля
Re: Установка ffmpeg c поддержкой nvenc в Ubuntu 16.04
« Ответ #5 : 17 Июня 2018, 12:24:15 »
ARTGALGANO, не совсем так. По ссылке из моего первого поста есть 2 способа собрать - поставить все зависимости из оф репов или точно так же вытянуть их в виде исходного кода и собрать, указав ffmpeg-у при сборке где они находятся.

Оффлайн baron_P

  • Автор темы
  • Новичок
  • *
  • Сообщений: 36
  • We do what we must because we can
    • Просмотр профиля
Re: Установка ffmpeg c поддержкой nvenc в Ubuntu 16.04
« Ответ #6 : 18 Июня 2018, 18:38:40 »
Вывод на форум
Вывод такой:
02:00.0 VGA compatible controller: NVIDIA Corporation GM107 [GeForce GTX 750 Ti] (rev a2)
Subsystem: Gigabyte Technology Co., Ltd GM107 [GeForce GTX 750 Ti]
Kernel driver in use: nvidia
Насколько я понимаю, скрипт делает то же самое, что и предлагается делать по сслыкам, т.е. мне в любом случае нужны будут упомянутые в сообщении
об ошибке зависимости. Нужно либо разобраться с ошибками установки либо собирать зависимости самому. Хотелось бы, конечно, первый вариант:-)
OS: Ubuntu Mate 20.04, Lubuntu 16.04

Оффлайн peregrine

  • FSM
  • СуперМодератор
  • Старожил
  • *
  • Сообщений: 7203
  • Gentoo x64 Ubuntu 16.04.1 x64
    • Просмотр профиля
Re: Установка ffmpeg c поддержкой nvenc в Ubuntu 16.04
« Ответ #7 : 18 Июня 2018, 19:40:15 »
baron_P, скорее всего автор скрипта где-то накосячил.

Оффлайн ARTGALGANO

  • Заслуженный пользователь
  • Старожил
  • *
  • Сообщений: 1936
    • Просмотр профиля
Re: Установка ffmpeg c поддержкой nvenc в Ubuntu 16.04
« Ответ #8 : 18 Июня 2018, 20:11:10 »
baron_P,  а покажите-ка
grep "ffmpeg\|mpv"  /etc/apt/sources.list.d/* ?
« Последнее редактирование: 18 Июня 2018, 20:19:30 от ARTGALGANO »

Оффлайн baron_P

  • Автор темы
  • Новичок
  • *
  • Сообщений: 36
  • We do what we must because we can
    • Просмотр профиля
Re: Установка ffmpeg c поддержкой nvenc в Ubuntu 16.04
« Ответ #9 : 18 Июня 2018, 20:20:24 »
baron_P,  а покажите-ка
grep ffmpeg /etc/apt/sources.list.d/* ?

Ничего не выводит. А
ls -l /etc/apt/sources.list.d/выводит такое:
итого 44
-rw-r--r-- 1 root root   0 июн  7 22:08 abbat-ubuntu-tox-xenial.list
-rw-r--r-- 1 root root   0 июн  7 22:08 abbat-ubuntu-tox-xenial.list.save
-rw-r--r-- 1 root root 132 июн  8 22:07 gezakovacs-ubuntu-ppa-xenial.list
-rw-r--r-- 1 root root 132 июн  8 22:07 gezakovacs-ubuntu-ppa-xenial.list.save
-rw-r--r-- 1 root root 144 июн  8 22:07 graphics-drivers-ubuntu-ppa-xenial.list
-rw-r--r-- 1 root root 144 июн  8 22:07 graphics-drivers-ubuntu-ppa-xenial.list.save
-rw-r--r-- 1 root root   0 фев  8 22:40 i-nex-development-team-ubuntu-daily-xenial.list
-rw-r--r-- 1 root root   0 фев  8 22:40 i-nex-development-team-ubuntu-daily-xenial.list.save
-rw-r--r-- 1 root root   0 июн  8 22:07 jonathonf-ubuntu-ffmpeg-3-xenial.list
-rw-r--r-- 1 root root   0 июн  8 22:07 jonathonf-ubuntu-ffmpeg-3-xenial.list.save
-rw-r--r-- 1 root root   0 ноя 25  2017 kodx-ubuntu-nvidia-xenial.list
-rw-r--r-- 1 root root   0 ноя 25  2017 kodx-ubuntu-nvidia-xenial.list.save
-rw-r--r-- 1 root root   0 июн  7 22:08 maarten-baert-ubuntu-simplescreenrecorder-xenial.list
-rw-r--r-- 1 root root  87 июн  7 22:08 maarten-baert-ubuntu-simplescreenrecorder-xenial.list.save
-rw-r--r-- 1 root root 136 июн  8 22:07 mc3man-ubuntu-avidemux1-xenial.list
-rw-r--r-- 1 root root 136 июн  8 22:07 mc3man-ubuntu-avidemux1-xenial.list.save
-rw-r--r-- 1 root root   0 июн  8 22:07 obsproject-ubuntu-obs-studio-xenial.list
-rw-r--r-- 1 root root   0 июн  8 22:07 obsproject-ubuntu-obs-studio-xenial.list.save
-rw-r--r-- 1 root root   0 фев 12  2017 openshot_developers-ubuntu-ppa-xenial.list
-rw-r--r-- 1 root root   0 фев 12  2017 openshot_developers-ubuntu-ppa-xenial.list.save
-rw-r--r-- 1 root root   0 фев 12  2017 rebuntu16-ubuntu-avidemux_unofficial-xenial.list
-rw-r--r-- 1 root root   0 фев 12  2017 rebuntu16-ubuntu-avidemux_unofficial-xenial.list.save
-rw-r--r-- 1 root root  56 июн  8 22:07 skype-stable.list
-rw-r--r-- 1 root root  56 июн  8 22:07 skype-stable.list.save
-rw-r--r-- 1 root root 148 июн  8 22:07 steam.list
-rw-r--r-- 1 root root 148 июн  8 22:07 steam.list.save
-rw-r--r-- 1 root root   0 апр 21 20:55 tox.list
-rw-r--r-- 1 root root   0 апр 21 20:55 tox.list.save
-rw-r--r-- 1 root root   0 апр 21 20:47 v-2e-ubuntu-tox-xenial.list
-rw-r--r-- 1 root root   0 апр 21 20:47 v-2e-ubuntu-tox-xenial.list.save
OS: Ubuntu Mate 20.04, Lubuntu 16.04

Оффлайн ARTGALGANO

  • Заслуженный пользователь
  • Старожил
  • *
  • Сообщений: 1936
    • Просмотр профиля
Re: Установка ffmpeg c поддержкой nvenc в Ubuntu 16.04
« Ответ #10 : 18 Июня 2018, 20:37:40 »
вот подозреваемые

jonathonf-ubuntu-ffmpeg-3-xenial.list
mc3man-ubuntu-avidemux1-xenial.list
а посмотрите еще
apt show libx264-148 libva1 libva-x11-1

Оффлайн baron_P

  • Автор темы
  • Новичок
  • *
  • Сообщений: 36
  • We do what we must because we can
    • Просмотр профиля
Re: Установка ffmpeg c поддержкой nvenc в Ubuntu 16.04
« Ответ #11 : 18 Июня 2018, 20:57:39 »
apt show libx264-148 libva1 libva-x11-1
Вот:
Package: libx264-148
Version: 2:0.148.2795+gitaaa9aa8-1~16.04.york0
Status: install ok installed
Priority: optional
Section: libs
Source: x264
Maintainer: Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>
Installed-Size: 2 313 kB
Depends: libc6 (>= 2.15)
Homepage: http://www.videolan.org/developers/x264.html
Download-Size: неизвестно
APT-Manual-Installed: yes
APT-Sources: /var/lib/dpkg/status
Description: x264 video coding library
 libx264 is an advanced encoding library for creating H.264 (MPEG-4 AVC)
 video streams.
 .
 This package contains the libx264 shared library.

Package: libx264-148
Version: 2:0.148.2643+git5c65704-1
Priority: optional
Section: universe/libs
Source: x264
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 2 313 kB
Depends: libc6 (>= 2.15)
Homepage: http://www.videolan.org/developers/x264.html
Task: edubuntu-desktop-gnome, mythbuntu-frontend, mythbuntu-frontend, mythbuntu-desktop, mythbuntu-backend-slave, mythbuntu-backend-slave, mythbuntu-backend-master, mythbuntu-backend-master, lubuntu-desktop, ubuntustudio-video, ubuntustudio-audio, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-mate-cloudtop
Supported: 3y
Download-Size: 606 kB
APT-Sources: http://ru.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
Description: x264 video coding library
 libx264 is an advanced encoding library for creating H.264 (MPEG-4 AVC)
 video streams.
 .
 This package contains the libx264 shared library.

Package: libva1
Version: 1.7.3-2~16.04.york0
Status: install ok installed
Priority: optional
Section: libs
Source: libva
Maintainer: Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>
Installed-Size: 157 kB
Provides: libva-driver-abi-0.32, libva-driver-abi-0.33, libva-driver-abi-0.34, libva-driver-abi-0.35, libva-driver-abi-0.36, libva-driver-abi-0.37, libva-driver-abi-0.38, libva-driver-abi-0.39
Depends: libc6 (>= 2.4)
Recommends: va-driver-all | va-driver
Homepage: http://www.freedesktop.org/wiki/Software/vaapi
Download-Size: неизвестно
APT-Manual-Installed: yes
APT-Sources: /var/lib/dpkg/status
Description: Video Acceleration (VA) API for Linux -- runtime
 Video Acceleration API (VA API) is a library ("libVA") and API specification
 which enables and provides access to graphics hardware (GPU) acceleration for
 video processing on Linux and UNIX based operating systems. Accelerated
 processing includes video decoding, video encoding, subpicture blending and
 rendering. The specification was originally designed by Intel for its GMA
 (Graphics Media Accelerator) series of GPU hardware, the API is however not
 limited to GPUs or Intel specific hardware, as other hardware and manufacturers
 can also freely use this API for hardware accelerated video decoding.
 .
 This package provides the main libva library.

Package: libva1
Version: 1.7.0-1ubuntu0.1
Priority: optional
Section: universe/libs
Source: libva
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 165 kB
Provides: libva-driver-abi-0.32, libva-driver-abi-0.33, libva-driver-abi-0.34, libva-driver-abi-0.35, libva-driver-abi-0.36, libva-driver-abi-0.37, libva-driver-abi-0.38, libva-driver-abi-0.39
Depends: libc6 (>= 2.14)
Recommends: va-driver-all | va-driver
Homepage: http://www.freedesktop.org/wiki/Software/vaapi
Task: edubuntu-desktop-gnome, mythbuntu-frontend, mythbuntu-frontend, mythbuntu-desktop, mythbuntu-backend-slave, mythbuntu-backend-slave, mythbuntu-backend-master, mythbuntu-backend-master, lubuntu-desktop, ubuntustudio-video, ubuntustudio-audio, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-mate-cloudtop
Supported: 5y
Download-Size: 45,4 kB
APT-Sources: http://ru.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages
Description: Video Acceleration (VA) API for Linux -- runtime
 Video Acceleration API (VA API) is a library ("libVA") and API specification
 which enables and provides access to graphics hardware (GPU) acceleration for
 video processing on Linux and UNIX based operating systems. Accelerated
 processing includes video decoding, video encoding, subpicture blending and
 rendering. The specification was originally designed by Intel for its GMA
 (Graphics Media Accelerator) series of GPU hardware, the API is however not
 limited to GPUs or Intel specific hardware, as other hardware and manufacturers
 can also freely use this API for hardware accelerated video decoding.
 .
 This package provides the main libva library.

Package: libva1
Version: 1.7.0-1
Priority: optional
Section: universe/libs
Source: libva
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 165 kB
Provides: libva-driver-abi-0.32, libva-driver-abi-0.33, libva-driver-abi-0.34, libva-driver-abi-0.35, libva-driver-abi-0.36, libva-driver-abi-0.37, libva-driver-abi-0.38, libva-driver-abi-0.39
Depends: libc6 (>= 2.14)
Recommends: va-driver-all | va-driver
Homepage: http://www.freedesktop.org/wiki/Software/vaapi
Task: edubuntu-desktop-gnome, mythbuntu-frontend, mythbuntu-frontend, mythbuntu-desktop, mythbuntu-backend-slave, mythbuntu-backend-slave, mythbuntu-backend-master, mythbuntu-backend-master, lubuntu-desktop, ubuntustudio-video, ubuntustudio-audio, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-mate-cloudtop
Supported: 5y
Download-Size: 45,4 kB
APT-Sources: http://ru.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
Description: Video Acceleration (VA) API for Linux -- runtime
 Video Acceleration API (VA API) is a library ("libVA") and API specification
 which enables and provides access to graphics hardware (GPU) acceleration for
 video processing on Linux and UNIX based operating systems. Accelerated
 processing includes video decoding, video encoding, subpicture blending and
 rendering. The specification was originally designed by Intel for its GMA
 (Graphics Media Accelerator) series of GPU hardware, the API is however not
 limited to GPUs or Intel specific hardware, as other hardware and manufacturers
 can also freely use this API for hardware accelerated video decoding.
 .
 This package provides the main libva library.

Package: libva-x11-1
Version: 1.7.3-2~16.04.york0
Status: install ok installed
Priority: optional
Section: libs
Source: libva
Maintainer: Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>
Installed-Size: 52,2 kB
Depends: libc6 (>= 2.4), libdrm2 (>= 2.3.1), libva1 (>= 1.7.3), libva1 (<< 1.7.3.1), libx11-6 (>= 2:1.4.99.1), libxext6, libxfixes3
Homepage: http://www.freedesktop.org/wiki/Software/vaapi
Download-Size: неизвестно
APT-Manual-Installed: yes
APT-Sources: /var/lib/dpkg/status
Description: Video Acceleration (VA) API for Linux -- X11 runtime
 Video Acceleration API (VA API) is a library ("libVA") and API specification
 which enables and provides access to graphics hardware (GPU) acceleration for
 video processing on Linux and UNIX based operating systems. Accelerated
 processing includes video decoding, video encoding, subpicture blending and
 rendering. The specification was originally designed by Intel for its GMA
 (Graphics Media Accelerator) series of GPU hardware, the API is however not
 limited to GPUs or Intel specific hardware, as other hardware and manufacturers
 can also freely use this API for hardware accelerated video decoding.
 .
 This package provides the libva-x11 library.

Package: libva-x11-1
Version: 1.7.0-1ubuntu0.1
Priority: optional
Section: universe/libs
Source: libva
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 52,2 kB
Depends: libc6 (>= 2.4), libdrm2 (>= 2.3.1), libva1 (>= 1.0.6), libx11-6 (>= 2:1.4.99.1), libxext6, libxfixes3
Homepage: http://www.freedesktop.org/wiki/Software/vaapi
Task: mythbuntu-frontend, mythbuntu-frontend, mythbuntu-desktop, mythbuntu-backend-slave, mythbuntu-backend-slave, mythbuntu-backend-master, mythbuntu-backend-master, ubuntukylin-desktop, ubuntu-mate-desktop, ubuntu-mate-cloudtop
Supported: 5y
Download-Size: 11,9 kB
APT-Sources: http://ru.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages
Description: Video Acceleration (VA) API for Linux -- X11 runtime
 Video Acceleration API (VA API) is a library ("libVA") and API specification
 which enables and provides access to graphics hardware (GPU) acceleration for
 video processing on Linux and UNIX based operating systems. Accelerated
 processing includes video decoding, video encoding, subpicture blending and
 rendering. The specification was originally designed by Intel for its GMA
 (Graphics Media Accelerator) series of GPU hardware, the API is however not
 limited to GPUs or Intel specific hardware, as other hardware and manufacturers
 can also freely use this API for hardware accelerated video decoding.
 .
 This package provides the libva-x11 library.

Package: libva-x11-1
Version: 1.7.0-1
Priority: optional
Section: universe/libs
Source: libva
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 52,2 kB
Depends: libc6 (>= 2.4), libdrm2 (>= 2.3.1), libva1 (>= 1.0.6), libx11-6 (>= 2:1.4.99.1), libxext6, libxfixes3
Homepage: http://www.freedesktop.org/wiki/Software/vaapi
Task: mythbuntu-frontend, mythbuntu-frontend, mythbuntu-desktop, mythbuntu-backend-slave, mythbuntu-backend-slave, mythbuntu-backend-master, mythbuntu-backend-master, ubuntukylin-desktop, ubuntu-mate-desktop, ubuntu-mate-cloudtop
Supported: 5y
Download-Size: 11,9 kB
APT-Sources: http://ru.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
Description: Video Acceleration (VA) API for Linux -- X11 runtime
 Video Acceleration API (VA API) is a library ("libVA") and API specification
 which enables and provides access to graphics hardware (GPU) acceleration for
 video processing on Linux and UNIX based operating systems. Accelerated
 processing includes video decoding, video encoding, subpicture blending and
 rendering. The specification was originally designed by Intel for its GMA
 (Graphics Media Accelerator) series of GPU hardware, the API is however not
 limited to GPUs or Intel specific hardware, as other hardware and manufacturers
 can also freely use this API for hardware accelerated video decoding.
 .
 This package provides the libva-x11 library.
OS: Ubuntu Mate 20.04, Lubuntu 16.04

Оффлайн ARTGALGANO

  • Заслуженный пользователь
  • Старожил
  • *
  • Сообщений: 1936
    • Просмотр профиля
Re: Установка ffmpeg c поддержкой nvenc в Ubuntu 16.04
« Ответ #12 : 18 Июня 2018, 22:39:30 »
установлены либы из jonathonf-ubuntu-ffmpeg-3-xenial








Оффлайн baron_P

  • Автор темы
  • Новичок
  • *
  • Сообщений: 36
  • We do what we must because we can
    • Просмотр профиля
Re: Установка ffmpeg c поддержкой nvenc в Ubuntu 16.04
« Ответ #13 : 19 Июня 2018, 22:23:10 »
установлены либы из jonathonf-ubuntu-ffmpeg-3-xenial
А как вы это увидели, по каким строкам в выводе? Я не заметил там упоминаний jonathonf-ubuntu-ffmpeg-3-xenial.
Я удалил лишнее из /etc/apt/sources.list.d/ но пока не соображу, что делать дальше. Эти источники ведь были удалены из файла /etc/apt/sources.list и на работу системы влиять не могли. Мне теперь нужно удалить пакеты libx264-148 libva1 libva-x11-1, которые были установлены из левого источника?
OS: Ubuntu Mate 20.04, Lubuntu 16.04

Оффлайн ARTGALGANO

  • Заслуженный пользователь
  • Старожил
  • *
  • Сообщений: 1936
    • Просмотр профиля
Re: Установка ffmpeg c поддержкой nvenc в Ubuntu 16.04
« Ответ #14 : 19 Июня 2018, 22:39:57 »
Package: libx264-148
Version: 2:0.148.2795+gitaaa9aa8-1~16.04.york0
это именно оттуда
аа вот стандарт
Package: libx264-148
Version: 2:0.148.2643+git5c65704-1Priority: optionalSection: universe/libs
Вижу, репы вы отключили ... тогда можете установить стандартные
sudo apt update
sudo apt install --reinstall  libx264-148 libva1 libva-x11-1



« Последнее редактирование: 19 Июня 2018, 22:41:57 от ARTGALGANO »

 

Страница сгенерирована за 0.043 секунд. Запросов: 25.