mirror of
https://github.com/lutris/ffmpeg-nvenc.git
synced 2026-11-05 01:17:20 +00:00
[GH-ISSUE #18] Error while compiling libx264 on Ubuntu 16.04 #12
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#12
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 @masterky on GitHub (Jan 2, 2018).
Original GitHub issue: https://github.com/lutris/ffmpeg-nvenc/issues/18
--2018-01-02 13:41:01-- http://download.videolan.org/pub/x264/snapshots/last_x264.tar.bz2
Auflösen des Hostnamen »download.videolan.org (download.videolan.org)«... 88.191.250.2
Verbindungsaufbau zu download.videolan.org (download.videolan.org)|88.191.250.2|:80... verbunden.
HTTP-Anforderung gesendet, warte auf Antwort... 200 OK
Länge: 765706 (748K) [application/octet-stream]
In »»last_x264.tar.bz2«« speichern.
last_x264.tar.bz2 100%[=====================================================================================================================>] 747,76K 1,43MB/s in 0,5s
2018-01-02 13:41:02 (1,43 MB/s) - »last_x264.tar.bz2« gespeichert [765706/765706]
platform: X86_64
byte order: little-endian
system: LINUX
cli: yes
libx264: internal
shared: yes
static: no
asm: yes
interlaced: yes
avs: avxsynth
lavf: yes
ffms: no
mp4: no
gpl: yes
thread: posix
opencl: yes
filters: resize crop select_every
lto: no
debug: no
gprof: no
strip: no
PIC: yes
bit depth: all
chroma format: all
You can run 'make' or 'make fprofiled' now.
cat common/opencl/x264-cl.h common/opencl/motionsearch.cl common/opencl/subpel.cl common/opencl/intra.cl common/opencl/weightp.cl common/opencl/downscale.cl common/opencl/bidir.cl | ./tools/cltostr.sh common/oclobj.h
dependency file generation...
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64 -Wall -I. -I. -std=gnu99 -D_GNU_SOURCE -mpreferred-stack-boundary=6 -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -fPIC -fomit-frame-pointer -fno-tree-vectorize -c x264.c -o x264.o
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64 -Wall -I. -I. -std=gnu99 -D_GNU_SOURCE -mpreferred-stack-boundary=6 -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -fPIC -fomit-frame-pointer -fno-tree-vectorize -c input/input.c -o input/input.o
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64 -Wall -I. -I. -std=gnu99 -D_GNU_SOURCE -mpreferred-stack-boundary=6 -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -fPIC -fomit-frame-pointer -fno-tree-vectorize -c input/timecode.c -o input/timecode.o
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64 -Wall -I. -I. -std=gnu99 -D_GNU_SOURCE -mpreferred-stack-boundary=6 -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -fPIC -fomit-frame-pointer -fno-tree-vectorize -c input/raw.c -o input/raw.o
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64 -Wall -I. -I. -std=gnu99 -D_GNU_SOURCE -mpreferred-stack-boundary=6 -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -fPIC -fomit-frame-pointer -fno-tree-vectorize -c input/y4m.c -o input/y4m.o
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64 -Wall -I. -I. -std=gnu99 -D_GNU_SOURCE -mpreferred-stack-boundary=6 -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -fPIC -fomit-frame-pointer -fno-tree-vectorize -c output/raw.c -o output/raw.o
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64 -Wall -I. -I. -std=gnu99 -D_GNU_SOURCE -mpreferred-stack-boundary=6 -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -fPIC -fomit-frame-pointer -fno-tree-vectorize -c output/matroska.c -o output/matroska.o
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64 -Wall -I. -I. -std=gnu99 -D_GNU_SOURCE -mpreferred-stack-boundary=6 -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -fPIC -fomit-frame-pointer -fno-tree-vectorize -c output/matroska_ebml.c -o output/matroska_ebml.o
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64 -Wall -I. -I. -std=gnu99 -D_GNU_SOURCE -mpreferred-stack-boundary=6 -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -fPIC -fomit-frame-pointer -fno-tree-vectorize -c output/flv.c -o output/flv.o
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64 -Wall -I. -I. -std=gnu99 -D_GNU_SOURCE -mpreferred-stack-boundary=6 -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -fPIC -fomit-frame-pointer -fno-tree-vectorize -c output/flv_bytestream.c -o output/flv_bytestream.o
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64 -Wall -I. -I. -std=gnu99 -D_GNU_SOURCE -mpreferred-stack-boundary=6 -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -fPIC -fomit-frame-pointer -fno-tree-vectorize -c filters/filters.c -o filters/filters.o
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64 -Wall -I. -I. -std=gnu99 -D_GNU_SOURCE -mpreferred-stack-boundary=6 -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -fPIC -fomit-frame-pointer -fno-tree-vectorize -c filters/video/video.c -o filters/video/video.o
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64 -Wall -I. -I. -std=gnu99 -D_GNU_SOURCE -mpreferred-stack-boundary=6 -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -fPIC -fomit-frame-pointer -fno-tree-vectorize -c filters/video/source.c -o filters/video/source.o
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64 -Wall -I. -I. -std=gnu99 -D_GNU_SOURCE -mpreferred-stack-boundary=6 -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -fPIC -fomit-frame-pointer -fno-tree-vectorize -c filters/video/internal.c -o filters/video/internal.o
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64 -Wall -I. -I. -std=gnu99 -D_GNU_SOURCE -mpreferred-stack-boundary=6 -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -fPIC -fomit-frame-pointer -fno-tree-vectorize -c filters/video/resize.c -o filters/video/resize.o
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64 -Wall -I. -I. -std=gnu99 -D_GNU_SOURCE -mpreferred-stack-boundary=6 -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -fPIC -fomit-frame-pointer -fno-tree-vectorize -c filters/video/fix_vfr_pts.c -o filters/video/fix_vfr_pts.o
gcc -Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -m64 -Wall -I. -I. -std=gnu99 -D_GNU_SOURCE -mpreferred-stack-boundary=6 -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -fPIC -fomit-frame-pointer -fno-tree-vectorize -c filters/video/select_every.c -o filters/video/select_every.o
filters/video/resize.c: In function ‘pick_closest_supported_csp’:
filters/video/resize.c:215:30: error: ‘AVComponentDescriptor {aka const struct AVComponentDescriptor}’ has no member named ‘depth’
if( pix_desc->comp[i].depth > 8 )
^
Makefile:277: die Regel für Ziel „filters/video/resize.o“ scheiterte
make: *** [filters/video/resize.o] Fehler 1
make: *** Auf noch nicht beendete Prozesse wird gewartet …
@kingprimex commented on GitHub (Jan 15, 2018):
The issue is with the ffmpeg version. On the version releases they haven't updated the source code to match the new libx264. You have to git
git clone https://github.com/FFmpeg/FFmpeg.gitchange the ffmpeg cd to the path you have downloaded, and also replace--enable-x11grabwith--enable-libxcb