Project

General

Profile

Bug #5237

Cont from #5235: 'libavresample' required by 'virtual:world'

Added by N A over 4 years ago. Updated almost 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
General
Target version:
-
Start date:
2018-10-03
Due date:
% Done:

0%

Estimated time:
Found in version:
Master
Affected Versions:

Description

After #5235 was fixed, a non-breaking build issue came up: ***
Package libavresample was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavresample.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libavresample', required by 'virtual:world', not found ***
It comes up for so many files during the build that it fills the terminal's buffer.

History

#1

Updated by Jaroslav Kysela over 4 years ago

Propose a proper fix.

#2

Updated by N A over 4 years ago

Ah, I see that "virtual:world" has nothing to do with tvheadend. I don't know what that is all about.

But something I just tried was removing " libavresample \" from Makefile line 95 under "FFMPEG_LIBS := \", and it still built and ran with no problems.

I don't know if you're keeping libavresample for legacy reasons (eg, libswresample doesn't exist in older ffmpeg versions), but it sounds like you can be done with libavresample and just stick with libswresample.

#3

Updated by Martin Walter about 4 years ago

Ran into the same problem with --enable-libav when linking to an external ffmpeg that does not build libavresample. Unfortunately, just removing Makefile line 95 did not work for me as there apparently is an explicit dependency to libavresample within plumbing/transcoding.c. Not able to propose a proper fix for this either though. Sorry, Jaroslav...

#4

Updated by N A almost 4 years ago

Martin, here is the some of the config params that I used (it worked for me back then and still now):

--disable-libmfx_static --disable-qsv --disable-nvenc --disable-libx264_static --disable-libx265_static --disable-ffmpeg_static --disable-libvpx_static --disable-libtheora_static --disable-libvorbis_static --disable-libfdkaac_static

I never set the "libav" param.

Also available in: Atom PDF