James Almer
93a1aac441
configure: add missing llvidencdsp dependency to MagicYUV encoder
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
James Almer
c64800e976
configure: add optional zlib dependency to avformat
id3v2 code is compiled unconditionally and uses zlib when available.
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
Clément Bœsch
2b32031827
lavc: drop VDA
Deprecated (aka removed) in OSX 10.11, and we have a replacement for it
(VideoToolbox).
7 years ago
Michael Bradshaw
279dc40716
lavc: drop support for OpenJPEG 1.3-2.0
We now require 2.1+ with pkg-config.
Signed-off-by: Michael Bradshaw <mjbshaw@google.com>
7 years ago
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.
7 years ago
Mark Thompson
d8928ad6b6
vaapi_mpeg2: Convert to use coded bitstream infrastructure
(cherry picked from commit 10eb496d9a
)
8 years ago
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
)
8 years ago
Mark Thompson
2e29ca2a9f
vaapi_h264: Convert to use coded bitstream infrastructure
(cherry picked from commit 7a4fac5e91
)
8 years ago
Mark Thompson
569721ac8d
lavc: Add mpeg2_metadata bitstream filter
(cherry picked from commit b78c30d7ec
)
7 years ago
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
)
7 years ago
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
)
8 years ago
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
)
8 years ago
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
)
8 years ago
Mark Thompson
686e388bbb
lavc: Add coded bitstream read/write support for MPEG-2
(cherry picked from commit 2bc9ba8d3c
)
(cherry picked from commit a41b69b5eb
)
8 years ago
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
)
8 years ago
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
)
8 years ago
Mark Thompson
6734eef6b8
lavc: Add coded bitstream read/write API
(cherry picked from commit 18f1706f33
)
(cherry picked from commit 44cde38c8a
)
8 years ago
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>
7 years ago
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>
7 years ago
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>
7 years ago
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>
7 years ago
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>
7 years ago
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>
7 years ago
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>
7 years ago
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>
7 years ago
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>
7 years ago
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.
7 years ago
Luca Barbato
abb5efca26
configure: Fix sem_timedwait probe
(cherry-picked from libav commit 41262498ff
)
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
James Almer
4440bcf6a0
configure: fix pthread_cancel check
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
James Almer
9c0279bc2c
configure: fix CoreGraphics module name
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
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>
7 years ago
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>
7 years ago
James Almer
25bd2f4f36
configure: add missing OpenCL dependency to libavutil
Tested-by: wm4
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
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>
7 years ago
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>
7 years ago
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>
7 years ago
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>
7 years ago
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>
7 years ago
Carl Eugen Hoyos
c585b4e9f0
configure: Disable -Wbool-operation using check_disable_warning().
Suggested-by: James Almer
7 years ago
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’
7 years ago
Mark Thompson
9c7a71145b
configure: Add config option for libva2 (VAAPI 1)
7 years ago
James Almer
65c3a32836
configure: disable libxcb dependent features if libxcb is not enabled
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
Carl Eugen Hoyos
c2d155e11e
configure: Disable -Wbool-operation.
Requested-by: Ronald and Derek
7 years ago
Michael Bradshaw
41d6d62702
lavc: add support for OpenJPEG 2.3.0
Signed-off-by: Michael Bradshaw <mjbshaw@google.com>
7 years ago
James Almer
ede233a278
configure: fix detecting libdl when dlsym requires extra linker flags
Regression since 84b3f53aca
.
7 years ago
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 .
7 years ago
James Almer
54ce880a46
Partially revert "Merge commit '71a49fe25f2e4468fbbadbebef8d073b1b3cc1a5'"
Revert back to the test as done by commit af7a75cb517141f649cbbe0a9dcdb4854359b740,
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>
7 years ago
James Almer
e16ea52ed3
configure: fix enabling SDL2 without pkg-config
Regression since d81b34069e
.
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
Aman Gupta
3d4f8b9184
avcodec/videotoolbox: add hevc support
Signed-off-by: Aman Gupta <aman@tmm1.net>
7 years ago
Lionel CHAZALLON
f3aefb3e1c
lavc: Add support for RockChip Media Process Platform
This adds hardware decoding for H.264 / HEVC / VP8 / VP9 using the MPP
Rockchip API. It returns frames holding an AVDRMFrameDescriptor struct
in buf[0] that allows drm / dmabuf usage. Tested on RK3288 (TinkerBoard)
and RK3328.
Signed-off-by: Mark Thompson <sw@jkqxz.net>
7 years ago