Anton Khirnov
0e00624389
h264dec: add a NVDEC hwaccel
Some parts of the code are based on a patch by
Timo Rothenpieler <timo@rothenpieler.org>
Merges Libav commit b9129ec466
.
Due to the name clash with our cuvid decoder, rename it to nvdec.
This commit also changes the Libav code to dynamic loading of the
cuda/cuvid libraries.
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
8 years ago
James Almer
28f5753fed
configure: fix the non pkg-config libmfx check on Windows
Based on a patch by Aaron Levinson.
Reviewed-by: alevinsn
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
James Almer
69218b4198
configure: add missing avutil deps for hwcontext modules
Fixes ticket #6812
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
Carl Eugen Hoyos
15c632719a
configure: libvmaf is not GPLv2-compatible.
It is licensed under Apache 2.0.
7 years ago
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
Diego Biurrun
4f6401df43
configure: Merge separate parts of GnuTLS test
7 years ago
Diego Biurrun
3613063e87
configure: Simplify nvenc check (and move it to the correct spot)
7 years ago
Diego Biurrun
8594ec3dd5
configure: Drop fallback for deprecated avserver command line options
7 years ago
Diego Biurrun
a688b64fcf
configure: Drop feature for randomly disabling/enabling components
This feature was never used for anything.
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
Diego Biurrun
010baac12a
configure: Fix stupid typo in gsm.h header name
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
Diego Biurrun
76481f57b5
configure: Remove pointless empty *_COMPONENTS variables
7 years ago
Diego Biurrun
1c047c8f4d
configure: Drop stray extralibs for libspeex
These extralibs are set by pkg-config already.
7 years ago
Diego Biurrun
3e59502873
configure: Drop unused attribute checks
7 years ago
Diego Biurrun
421c10ed4f
configure: Drop test for fork()
fork() is never used conditionally.
7 years ago
Diego Biurrun
b586903ae1
build: Drop redundant check for soundcard.h
It should be sys/soundcard.h nowadays.
7 years ago