Closed suuuehgi closed 5 years ago
Now I get this:
/usr/bin/ld: cannot find -lvdpau
Maybe ./configure ... --disable-vdpau
helps?
If it does tell me, so I can add it.
Now I get this:
/usr/bin/ld: cannot find -lvdpau
You probably need to install libvdpau
or similar. --disable-vdpau
would drop vdpau hardware acceleration capabilities.
untrunc does not use vdpau hardware acceleration, and many people don't have a NVIDIA Graphics card.
--disable-vdpau
Afaics it is insufficient since libavutil
that comes with ffmpeg 3.3.9 is linked agains vdpau. This might be a bug in the old ffmpeg version regarding the above mentioned flag.
/usr/bin/ld: ffmpeg-3.3.9/libavutil/libavutil.a(hwcontext_vdpau.o): in function `vdpau_device_create':
/tmp/untrunc/ffmpeg-3.3.9/libavutil/hwcontext_vdpau.c:439: undefined reference to `vdp_device_create_x11'
collect2: error: ld returned 1 exit status
make: *** [Makefile:87: untrunc] Error 1
libavutil that comes with ffmpeg 3.3.9 is linked agains vdpau
I gues wether libavutil
links against libvdpau
depends on --disable-vdpau
.
After you added --disable-vdpau
to Makefile:69, did you make clean
the existing ffmpeg-3.3.9/ build?
After you added
--disable-vdpau
to Makefile:69, did youmake clean
the existing ffmpeg-3.3.9/ build?
You are right! Although I did a
make clean
, this was not clean. rm -rf untrunc && git clone
is clean. And then it compiles successfully with --disable-vdpau
on line 69 appended to Makefile
.
make FF_VER=3.3.9
fails with