FIXED** Failed at make, result in /tmp/logbuildCore** branch update_ffmpeg_3.0.2

Started by Jan Gruuthuse, May 11, 2016, 06:36:30 AM

Previous topic - Next topic

Jan Gruuthuse

Fixed: d1e58b9    [build] Disable libva and nvenc

branch update_ffmpeg_3.0.2

build ends with
src/libavcodec/nvenc.c:1406:7: error: expected ââ,¬Ëœ}ââ,¬â,,¢ before ââ,¬Ëœelseââ,¬â,,¢
     } else {
       ^
make[3]: *** [libavcodec/nvenc.o] Error 1
make[3]: Leaving directory `/home/jan/avidemux2/buildCore/ffmpeg/build'
make[2]: *** [ffmpeg/build/libavcodec/libADM6avcodec.so.57] Error 2
make[2]: Leaving directory `/home/jan/avidemux2/buildCore'
make[1]: *** [CMakeFiles/libavutil.dir/all] Error 2
make[1]: Leaving directory `/home/jan/avidemux2/buildCore'
make: *** [all] Error 2


_____________________________________________
Avidemux v2.6.12 (4dfbb70)
_____________________________________________
Compiler: GCC 4.8.4
cmake: 2.8.12.2
Build Target: Linux (x86-64)
User Interface: Qt (4.8.6)
_____________________________________________
Kernel: Linux 3.19.0-58-generic (x86_64) (linux-image-3.19.0-58-generic                         3.19.0-58.64~14.04.1)
Distribution: Linux Ubuntu 14.04.4 LTS (Trusty)
qt4-default: installed
qt5-default: not installed
_____________________________________________

Intel Core i7-3770K @ 3.50GHz (4 Cores/8 Threads) with 32 GB ram

Desktop: Unity 7.2.6
Display Server: X Server 1.15.1
Display Driver: NVIDIA 352.93
OpenGL: 4.3.0
Compiler: GCC 4.8.4 + CUDA 7.5


OpenGL Vendor: NVIDIA Corporation
OpenGL Renderer: GeForce GTX 960/PCIe/SSE2 2048MB (1227/3600MHz)
OpenGL: 4.5.0 NVIDIA 352.93


- vdpauinfo:API version: 1   NVIDIA VDPAU Driver Shared Library  352.93
- x264 0.148.2694 3b70645
(libswscale 3.1.101)
(libavformat 56.36.100)
x264 configuration: --bit-depth=8 --chroma-format=all
libx264 configuration: --bit-depth=8 --chroma-format=all


- x265 [info]: HEVC encoder version 1.5+1-32d72a0285e0
x265 [info]: build info [Linux][GCC 4.8.2][64 bit] 8bpp
_____________________________________________

Jan Gruuthuse

same happens on 16.04:
src/libavcodec/nvenc.c:1406:7: error: expected ââ,¬Ëœ}ââ,¬â,,¢ before ââ,¬Ëœelseââ,¬â,,¢
     } else {
       ^
/home/jan/avidemux2/buildCore/ffmpeg/source/common.mak:60: recipe for target 'libavcodec/nvenc.o' failed
make[3]: *** [libavcodec/nvenc.o] Error 1
make[3]: Leaving directory '/home/jan/avidemux2/buildCore/ffmpeg/build'
CMakeFiles/libavutil.dir/build.make:63: recipe for target 'ffmpeg/build/libavcodec/libADM6avcodec.so.57' failed
make[2]: *** [ffmpeg/build/libavcodec/libADM6avcodec.so.57] Error 2
make[2]: Leaving directory '/home/jan/avidemux2/buildCore'
CMakeFiles/Makefile2:134: recipe for target 'CMakeFiles/libavutil.dir/all' failed
make[1]: *** [CMakeFiles/libavutil.dir/all] Error 2
make[1]: Leaving directory '/home/jan/avidemux2/buildCore'
Makefile:152: recipe for target 'all' failed
make: *** [all] Error 2

mean


Jan Gruuthuse

Right,
you want further reports on update_ffmpeg_3.0.2 build after you committed changes
or do I wait until you give the go ahead for testing this branch.

Quote7d4c6b3    [core] Disable nvenc
buildCore:
rc/libavcodec/nvenc.c: In function ââ,¬Ëœnvenc_encode_frameââ,¬â,,¢:
src/libavcodec/nvenc.c:1406:7: error: expected ââ,¬Ëœ}ââ,¬â,,¢ before ââ,¬Ëœelseââ,¬â,,¢
     } else {
       ^
make[3]: *** [libavcodec/nvenc.o] Error 1
make[3]: Leaving directory `/home/jan/avidemux2/buildCore/ffmpeg/build'
make[2]: *** [ffmpeg/build/libavcodec/libADM6avcodec.so.57] Error 2
make[2]: Leaving directory `/home/jan/avidemux2/buildCore'
make[1]: *** [CMakeFiles/libavcodec.dir/all] Error 2
make[1]: Leaving directory `/home/jan/avidemux2/buildCore'
make: *** [all] Error 2

Jan Gruuthuse


mm0359

Quote from: mean on May 11, 2016, 05:58:29 PM
All hw accelerated stuff is broken at the moment

http://fixounet.free.fr/avidemux/news.html

2016-08-18: 2.6.13

* [Core] Update to libav* 3.0.2


Ftr, is there a plan to re-enable nvEnc (in the future)?

Ftr,

  Avidemux v2.6.12 (0) .

[videoEncoder6]Name :ffNvEnc ApiVersion :6 Description :Nvidia hw encoder
[VideoEncoder6] Registered filter ...\plugins\videoEncoders\libADM_ve_ffNvenc.dll as  Nvidia hw encoder

mm0359

Quote from: mm0359 on September 02, 2016, 06:59:36 AM
Ftr, is there a plan to re-enable nvEnc (in the future)?

In addition to
[nvenc] Re-enable nvenc. You *need* SDK v6.0 for it to work, not 5 nor 7

I am _guessing_ you want the attached SET(NVENC_FOUND 1) patch too.




Fixed by
[cosmetic] Proper display of nvenc

mean