@scrypted/libav 1.0.163 → 1.0.165

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scrypted/libav",
3
- "version": "1.0.163",
3
+ "version": "1.0.165",
4
4
  "dependencies": {
5
5
  "detect-libc": "^2.0.3",
6
6
  "follow-redirects": "^1.15.9",
@@ -9,5 +9,5 @@ then
9
9
  fi
10
10
  fi
11
11
 
12
- MACOSX_DEPLOYMENT_TARGET=12.0 ./configure --disable-xlib --disable-sdl2 --disable-libxcb --enable-opencl --enable-videotoolbox --enable-neon --enable-pthreads --cc=clang && MACOSX_DEPLOYMENT_TARGET=12.0 make -j32
12
+ MACOSX_DEPLOYMENT_TARGET=12.0 ./configure --enable-libopus --disable-xlib --disable-sdl2 --disable-libxcb --enable-opencl --enable-videotoolbox --enable-neon --enable-pthreads --cc=clang && MACOSX_DEPLOYMENT_TARGET=12.0 make -j32
13
13
  exit $?
@@ -13,8 +13,7 @@ function check_ffmpeg() {
13
13
  }
14
14
 
15
15
  sudo apt -y update
16
- # yasm can be dropped
17
- sudo apt -y install libva-dev libdrm-dev yasm nasm cmake ocl-icd-opencl-dev
16
+ sudo apt -y install libva-dev libdrm-dev nasm cmake ocl-icd-opencl-dev libopus-dev
18
17
 
19
18
  ARCH=$(arch)
20
19
  if [ "$ARCH" = "x86_64" ]
@@ -36,11 +35,11 @@ then
36
35
 
37
36
  echo "Building with NVIDIA GPU and Vulkan support"
38
37
  export PATH=/usr/local/cuda-12.4/bin:$PATH
39
- ./configure --enable-libvpl --enable-vaapi --enable-opencl --enable-libglslang --enable-cuda-llvm --enable-nvdec --extra-cflags=-I/usr/local/cuda/include --extra-ldflags=-L/usr/local/cuda/lib64
38
+ ./configure --enable-libopus --enable-libvpl --enable-vaapi --enable-opencl --enable-libglslang --enable-cuda-llvm --enable-nvdec --extra-cflags=-I/usr/local/cuda/include --extra-ldflags=-L/usr/local/cuda/lib64
40
39
  else
41
40
  check_ffmpeg
42
41
 
43
- ./configure --enable-vaapi --enable-opencl
42
+ ./configure --enable-libopus --enable-vaapi --enable-opencl
44
43
  fi
45
44
 
46
45
  if [ "$?" != "0" ]
@@ -31,5 +31,5 @@ export PKG_CONFIG_PATH=$PWD/../_vplinstall/lib/pkgconfig:$PWD/../_nvinstall/lib/
31
31
  # this version is the last that has HLSL and OGLCompiler which are still required by ffmpeg for now
32
32
  # https://sdk.lunarg.com/sdk/download/1.3.268.0/windows/VulkanSDK-1.3.268.0-Installer.exe
33
33
 
34
- ./configure --enable-libvpl --enable-libglslang --enable-cuda-llvm --enable-nvdec --toolchain=msvc && make -j32
34
+ ./configure --enable-libopus --enable-libvpl --enable-libglslang --enable-cuda-llvm --enable-nvdec --toolchain=msvc && make -j32
35
35
  exit $?