Jan Ekström
247281e805
configure: add pkg-config check for alsa
...
Helps with use cases such as static linking, as the .pc file
does actually contain the necessary Libs.private entries for all
required dependencies.
2017-10-18 17:37:28 +03:00
Mark Thompson
d8928ad6b6
vaapi_mpeg2: Convert to use coded bitstream infrastructure
...
(cherry picked from commit 10eb496d9a
)
2017-10-17 20:56:30 +01:00
Mark Thompson
00179664bc
vaapi_h265: Convert to use coded bitstream infrastructure
...
Also improves the metadata and generally makes the configuration
a bit cleaner.
(cherry picked from commit ac12486714
)
2017-10-17 20:56:30 +01:00
Mark Thompson
2e29ca2a9f
vaapi_h264: Convert to use coded bitstream infrastructure
...
(cherry picked from commit 7a4fac5e91
)
2017-10-17 20:56:30 +01:00
Mark Thompson
569721ac8d
lavc: Add mpeg2_metadata bitstream filter
...
(cherry picked from commit b78c30d7ec
)
2017-10-17 20:56:30 +01:00
Mark Thompson
03f982bbca
lavc: Add hevc_metadata bitstream filter
...
This is able to modify some header metadata found in the VPS/SPS/VUI,
and can also add/remove AUDs.
(cherry picked from commit b31a9eae02
)
2017-10-17 20:56:30 +01:00
Mark Thompson
8b26306294
lavc: Add h264_redundant_pps bitstream filter
...
This applies a specific fixup to some Blu-ray streams which contain
redundant PPSs modifying irrelevant parameters of the stream which
confuse other transformations which require correct extradata.
A new single global PPS is created, and all of the redundant PPSs
within the stream are removed.
(cherry picked from commit e6874bc3af
)
2017-10-17 20:56:30 +01:00
Mark Thompson
a308872b04
lavc: Add h264_metadata bitstream filter
...
This is able to modify some header metadata found in the SPS/VUI,
and can also add/remove AUDs and insert user data in SEI NAL units.
(cherry picked from commit 9e93001b61
)
(cherry picked from commit c42b62d1f9
)
2017-10-17 20:56:29 +01:00
Mark Thompson
9c7d70b49b
lavc: Add trace_headers bitstream filter
...
Supports all streams that the coded bitstream infrastructure does
(currently H.264, H.265 and MPEG-2).
(cherry picked from commit f11d8a5e8b
)
2017-10-17 20:56:29 +01:00
Mark Thompson
686e388bbb
lavc: Add coded bitstream read/write support for MPEG-2
...
(cherry picked from commit 2bc9ba8d3c
)
(cherry picked from commit a41b69b5eb
)
2017-10-17 20:56:29 +01:00
Mark Thompson
9b0c7aa0e4
lavc: Add coded bitstream read/write support for H.265
...
(cherry picked from commit 867381b8b5
)
(cherry picked from commit f763489364
)
(cherry picked from commit 067a9ddeb8
)
2017-10-17 20:56:29 +01:00
Mark Thompson
b4c915f4b3
lavc: Add coded bitstream read/write support for H.264
...
(cherry picked from commit acf06f4544
)
(cherry picked from commit 768eb9182e
)
(cherry picked from commit e7f64191b2
)
2017-10-17 20:56:29 +01:00
Mark Thompson
6734eef6b8
lavc: Add coded bitstream read/write API
...
(cherry picked from commit 18f1706f33
)
(cherry picked from commit 44cde38c8a
)
2017-10-17 20:56:29 +01:00
James Almer
d8f382ce05
Merge commit '81bffae368f331b6cd386a814f225a58e3f32f40'
...
* commit '81bffae368f331b6cd386a814f225a58e3f32f40':
configure: Check for -no_weak_imports in ldflags on macOS
Merged-by: James Almer <jamrial@gmail.com>
2017-10-17 15:14:10 -03:00
James Almer
15b86d3b4a
configure: add missing optional dep on libfribidi to the drawtext filter
...
Fixes ticket #6740
Signed-off-by: James Almer <jamrial@gmail.com>
2017-10-17 01:17:32 -03:00
James Almer
ae6fe04bee
configure: add missing optional deps on gcrypt and openssl to the hls muxer
...
Should fix ticket #6738
Signed-off-by: James Almer <jamrial@gmail.com>
2017-10-16 17:47:01 -03:00
James Almer
0655810072
configure: add pkg-config checks for libcdio/cdparanoia
...
Should be more complete than the now fallback checks.
Signed-off-by: James Almer <jamrial@gmail.com>
2017-10-14 21:36:14 -03:00
James Almer
ad56e8057d
configure: force erroring out in check_disable_warning() if an option doesn't exists
...
Should prevent some options from being added to cflags when they
don't exist and the compiler only warns about it.
Reviewd-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
2017-10-13 20:57:05 -03:00
Reino Wijnsma
458783315b
configure: switch the libzvbi check to pkg-config
...
The library has several dependencies that vary between systems.
Their pkg-config properly lists them all.
Signed-off-by: James Almer <jamrial@gmail.com>
2017-10-13 20:22:44 -03:00
James Almer
fa5e71a815
configure: add missing pthreads extralib to the libilbc check
...
Debugged with the help of Reino Wijnsma.
Signed-off-by: James Almer <jamrial@gmail.com>
2017-10-13 19:50:43 -03:00
James Almer
854c4e974d
configure: add a -lstdc++ flag to the some external library checks
...
Two of them are missing it in their pkg-config file, so adding it
here is a workaround until said pkg-config files are fixed.
Debugged with the help of Reino Wijnsma.
Signed-off-by: James Almer <jamrial@gmail.com>
2017-10-13 19:49:56 -03:00
James Almer
6b52c0b583
configure: add missing zlib extralibs to the libmysofa check
...
Should fix checks with static builds.
Signed-off-by: James Almer <jamrial@gmail.com>
2017-10-13 11:22:54 -03:00
James Almer
15dc897582
configure: list libv4l2 as an optional library for v4l2
...
Fixes regression since 6dfcbd80ad
and 734ed38931
.
Signed-off-by: James Almer <jamrial@gmail.com>
2017-10-13 10:24:09 -03:00
James Almer
34dbee9f60
configure: explicitly list videotoolbox deps for avutil
...
There's a bug in configure where they are not being resolved right,
so make them explicit deps for avutil for now.
2017-10-12 21:04:26 -03:00
Luca Barbato
abb5efca26
configure: Fix sem_timedwait probe
...
(cherry-picked from libav commit 41262498ff
)
Signed-off-by: James Almer <jamrial@gmail.com>
2017-10-12 20:28:10 -03:00
James Almer
4440bcf6a0
configure: fix pthread_cancel check
...
Signed-off-by: James Almer <jamrial@gmail.com>
2017-10-12 20:24:36 -03:00
James Almer
9c0279bc2c
configure: fix CoreGraphics module name
...
Signed-off-by: James Almer <jamrial@gmail.com>
2017-10-12 20:05:39 -03:00
James Almer
583003670f
Merge commit '003124ebf4a05f1347c74104216887ddd2e5aad4'
...
* commit '003124ebf4a05f1347c74104216887ddd2e5aad4':
build: Fix logic of clock_gettime() check
Merged-by: James Almer <jamrial@gmail.com>
2017-10-12 17:52:43 -03:00
James Almer
4226c57b2b
configure: add missing libfontconfig and libfreetype dependencies to showcqt filter
...
Tested-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
2017-10-12 17:36:58 -03:00
James Almer
e4ad3e6f64
Merge commit '808ef43597b1e3d6e69a5b9abe2237c8ddb97b44'
...
* commit '808ef43597b1e3d6e69a5b9abe2237c8ddb97b44':
build: Explicitly set 32-bit/64-bit object formats for nasm/yasm
See d44935cbf4
Merged-by: James Almer <jamrial@gmail.com>
2017-10-12 14:58:34 -03:00
James Almer
6fb580e7d3
configure: fix libxavs check
...
libxavs may require pthreads and libm at link time, and without
said ldflags available as global extralibs, the check will fail.
Regression since 6dfcbd80ad
.
Tested-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
2017-10-12 14:20:30 -03:00
James Almer
25bd2f4f36
configure: add missing OpenCL dependency to libavutil
...
Tested-by: wm4
Signed-off-by: James Almer <jamrial@gmail.com>
2017-10-12 12:27:48 -03:00
James Almer
734ed38931
configure: fix dependencies for v4l2_indev
...
There's no indev named libv4l2.
Fixes ticket #6729
Reviewed-by: bermond
Signed-off-by: James Almer <jamrial@gmail.com>
2017-10-11 22:25:02 -03:00
James Almer
6dfcbd80ad
Merge commit '7cb1d9e2dbbe5bf4652be5d78cdd68e956fa3d63'
...
* commit '7cb1d9e2dbbe5bf4652be5d78cdd68e956fa3d63':
build: Fine-grained link-time dependency settings
Also included are bug fix commits 5ff3b5cafc
,
d9da7151ee
and
5e27ef800b
.
Merged-by: James Almer <jamrial@gmail.com>
2017-10-11 17:55:25 -03:00
Marton Balint
58143b15ad
configure: remove libdl dependency from libndi_newtek
...
We are not using dynamic loading for libndi.
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Marton Balint <cus@passwd.hu>
2017-10-11 22:48:39 +02:00
Marton Balint
f280575a0f
configure: fix decklink dependencies
...
We don't need libdl for win32/mingw.
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Marton Balint <cus@passwd.hu>
2017-10-10 23:28:38 +02:00
Marton Balint
ff6de6b180
Makefile: generate stripped CLI tools directly instead of copying unstripped ones first
...
Now works with --disable-stripping.
Signed-off-by: Marton Balint <cus@passwd.hu>
2017-10-10 19:45:14 +02:00
James Almer
fde3bb16f9
build: prevent SDL2 from polluting global cflags and extralibs
...
Remove the SDL_main define from the global cflags but not from the
ffplay cflags, and the -mwindows linker option from extralibs instead
of overriding it with the addition of -mconsole.
Reviewed-by: wm4 <nfxjfg@googlemail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
2017-10-09 21:41:11 -03:00
Carl Eugen Hoyos
c585b4e9f0
configure: Disable -Wbool-operation using check_disable_warning().
...
Suggested-by: James Almer
2017-10-09 02:21:08 +02:00
Mark Thompson
c154c34c1b
Revert "configure: Disable -Wbool-operation."
...
This reverts commit c2d155e11e
.
GCC 6 incorrectly passes the configure test and then logs many warnings
of the form:
src/libavformat/dump.c: At top level:
cc1: warning: unrecognized command line option ‘-Wno-bool-operation’
2017-10-09 00:53:51 +01:00
Mark Thompson
9c7a71145b
configure: Add config option for libva2 (VAAPI 1)
2017-10-09 00:11:53 +01:00
James Almer
65c3a32836
configure: disable libxcb dependent features if libxcb is not enabled
...
Signed-off-by: James Almer <jamrial@gmail.com>
2017-10-08 18:46:25 -03:00
Carl Eugen Hoyos
c2d155e11e
configure: Disable -Wbool-operation.
...
Requested-by: Ronald and Derek
2017-10-08 23:08:09 +02:00
Michael Bradshaw
41d6d62702
lavc: add support for OpenJPEG 2.3.0
...
Signed-off-by: Michael Bradshaw <mjbshaw@google.com>
2017-10-08 08:13:02 -07:00
James Almer
ede233a278
configure: fix detecting libdl when dlsym requires extra linker flags
...
Regression since 84b3f53aca
.
2017-10-04 18:55:32 -03:00
Clément Bœsch
8be3fc88d3
build: make h264 VT encoder select the VT encoder dependency
...
Otherwise, it's never enabled unless the user explicitely enables it.
Regression since 9ef5a2f5f3
.
Fixes Ticket #6702 .
2017-10-04 11:24:09 +02:00
James Almer
84b3f53aca
Merge commit 'd154bdd3d053128c908a994bb26e14bbc17f0e53'
...
* commit 'd154bdd3d053128c908a994bb26e14bbc17f0e53':
configure: Simplify dlopen check
Merged-by: James Almer <jamrial@gmail.com>
2017-10-04 01:05:56 -03:00
James Almer
54ce880a46
Partially revert "Merge commit '71a49fe25f2e4468fbbadbebef8d073b1b3cc1a5'"
...
Revert back to the test as done by commit af7a75cb51
,
where it was changed to compile and not just preprocess to fix build failures on
FreeBSD with gcc 4.7
Signed-off-by: James Almer <jamrial@gmail.com>
2017-10-01 12:59:37 -03:00
James Almer
e16ea52ed3
configure: fix enabling SDL2 without pkg-config
...
Regression since d81b34069e
.
Signed-off-by: James Almer <jamrial@gmail.com>
2017-09-28 21:34:38 -03:00
Aman Gupta
3d4f8b9184
avcodec/videotoolbox: add hevc support
...
Signed-off-by: Aman Gupta <aman@tmm1.net>
2017-09-28 16:47:47 -07:00