mirror of
https://github.com/lutris/ffmpeg-nvenc.git
synced 2026-11-05 01:17:20 +00:00
[GH-ISSUE #19] Error compiling on Ubuntu 16.04 #13
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lutris/ffmpeg-nvenc#13
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jedrekdomanski on GitHub (Jan 13, 2018).
Original GitHub issue: https://github.com/lutris/ffmpeg-nvenc/issues/19
The script fails on Ubuntu 16.04. Output log below.
In file included from /home/jedrek/Dokumenty/Nvenc/include/fdk-aac/FDK_audio.h:98:0,
from /home/jedrek/Dokumenty/Nvenc/include/fdk-aac/aacdecoder_lib.h:347,
from libavcodec/libfdk-aacdec.c:20:
/home/jedrek/Dokumenty/Nvenc/include/fdk-aac/genericStds.h:402:5: warning: ‘IS_LITTLE_ENDIAN’ defined but not used [-Wunused-function]
int IS_LITTLE_ENDIAN(void) {
^
CC libavcodec/libmp3lame.o
In file included from /home/jedrek/Dokumenty/Nvenc/include/fdk-aac/FDK_audio.h:98:0,
from /home/jedrek/Dokumenty/Nvenc/include/fdk-aac/aacenc_lib.h:706,
from libavcodec/libfdk-aacenc.c:20:
/home/jedrek/Dokumenty/Nvenc/include/fdk-aac/genericStds.h:402:5: warning: ‘IS_LITTLE_ENDIAN’ defined but not used [-Wunused-function]
int IS_LITTLE_ENDIAN(void) {
^
CC libavcodec/libopus.o
CC libavcodec/libopusdec.o
CC libavcodec/libopusenc.o
CC libavcodec/libtheoraenc.o
CC libavcodec/libvorbisdec.o
CC libavcodec/libvorbisenc.o
CC libavcodec/libvpx.o
CC libavcodec/libvpxdec.o
CC libavcodec/libvpxenc.o
CC libavcodec/libx264.o
CC libavcodec/ljpegenc.o
libavcodec/libx264.c: In function ‘X264_frame’:
libavcodec/libx264.c:282:9: error: ‘x264_bit_depth’ undeclared (first use in this function)
if (x264_bit_depth > 8)
^
libavcodec/libx264.c:282:9: note: each undeclared identifier is reported only once for each function it appears in
libavcodec/libx264.c: In function ‘X264_init_static’:
libavcodec/libx264.c:892:9: error: ‘x264_bit_depth’ undeclared (first use in this function)
if (x264_bit_depth == 8)
^
common.mak:60: polecenia dla obiektu 'libavcodec/libx264.o' failed
make: *** [libavcodec/libx264.o] Exit code 1
make: *** Waiting to terminate the task....
@kingprimex commented on GitHub (Jan 14, 2018):
It is a bug in ffmpeg version. It still is in 3.4.
@bnku commented on GitHub (Jan 22, 2018):
Use the actual snapshot of ffmpeg from https://ffmpeg.org/releases/ffmpeg-snapshot-git.tar.bz2
@jedrekdomanski commented on GitHub (Jan 22, 2018):
@bnku
I've taken a look at the bash script and I see that the script uses version 3.1, here's the code.
So I changed the script to use ffmpeg-snapshot-git.tar.bz2 version - as you suggest - but it errors out during configurations at line 201
--enable-x11grab.Correct me if I am wrong.
@bnku commented on GitHub (Jan 22, 2018):
use the
--enable-libxcbinstead@jedrekdomanski commented on GitHub (Jan 22, 2018):
After applying certain modifications to the script, it compiles everything fine. Here is the the modified parts of the script and a screen shot confirming it all works fine.
I also removed my previous installation of OBS and now the new installation has NVENC.H264 encoder.
