summaryrefslogtreecommitdiff
path: root/configure
Commit message (Collapse)AuthorAge
* Merge commit 'fd9212f2edfe9b107c3c08ba2df5fd2cba5ab9e3'James Almer2017-09-26
|\ | | | | | | | | | | | | * commit 'fd9212f2edfe9b107c3c08ba2df5fd2cba5ab9e3': Mark some arrays that never change as const. Merged-by: James Almer <jamrial@gmail.com>
| * Mark some arrays that never change as const.Anton Khirnov2017-02-01
| |
* | Merge commit 'ab87af41636b081dd3562423999351b5444fa09e'James Almer2017-09-26
|\| | | | | | | | | | | | | * commit 'ab87af41636b081dd3562423999351b5444fa09e': configure: Add proper weak dependency of avformat on network Merged-by: James Almer <jamrial@gmail.com>
| * configure: Add proper weak dependency of avformat on networkDiego Biurrun2017-01-31
| |
| * vaapi_encode: Add VP8 supportMark Thompson2017-01-30
| |
* | libavcodec: v4l2: add support for v4l2 mem2mem codecsJorge Ramirez-Ortiz2017-09-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patchset enhances Alexis Ballier's original patch and validates it using Qualcomm's Venus hardware (driver recently landed upstream [1]). This has been tested on Qualcomm's DragonBoard 410c and 820c Configure/make scripts have been validated on Ubuntu 10.04 and 16.04. Tested decoders: - h264 - h263 - mpeg4 - vp8 - vp9 - hevc Tested encoders: - h264 - h263 - mpeg4 Tested transcoding (concurrent encoding/decoding) Some of the changes introduced: - v4l2: code cleanup and abstractions added - v4l2: follow the new encode/decode api. - v4l2: fix display size for NV12 output pool. - v4l2: handle EOS (EPIPE and draining) - v4l2: vp8 and mpeg4 decoding and encoding. - v4l2: hevc and vp9 support. - v4l2: generate EOF on dequeue errors. - v4l2: h264_mp4toannexb filtering. - v4l2: fixed make install and fate issues. - v4l2: codecs enabled/disabled depending on pixfmt defined - v4l2: pass timebase/framerate to the context - v4l2: runtime decoder reconfiguration. - v4l2: add more frame information - v4l2: free hardware resources on last reference being released - v4l2: encoding: disable b-frames for upstreaming (patch required) [1] https://lwn.net/Articles/697956/ System Level view: v42l_m2m_enc/dec --> v4l2_m2m --> v4l2_context --> v4l2_buffers Reviewed-by: Jorge Ramirez <jorge.ramirez-ortiz@linaro.org> Reviewed-by: Alexis Ballier <aballier@gentoo.org> Tested-by: Jorge Ramirez <jorge.ramirez-ortiz@linaro.org> Signed-off-by: wm4 <nfxjfg@googlemail.com>
* | avfilter/thumbnail_cuda: add cuda thumbnail filterYogender Gupta2017-09-22
| | | | | | | | Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* | build: fix coreimage filters dependency to AppKit frameworkClément Bœsch2017-09-15
| | | | | | | | AppKit is not present on iOS.
* | lavd: Add KMS screen grabberMark Thompson2017-09-13
| |
* | lavu: Add DRM hwcontextMark Thompson2017-09-13
| |
* | configure: check if NAN can be used as a constant initializerJames Almer2017-09-13
| | | | | | | | | | | | Some targets, like NetBSD and DJGPP, don't seem to support it. Signed-off-by: James Almer <jamrial@gmail.com>
* | avformat/dashdec: add dash demuxer base versionSteven Liu2017-09-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ffmpeg need a dash demuxer for demux the dash formats base on https://github.com/samsamsam-iptvplayer/exteplayer3/blob/master/tmp/ffmpeg/patches/3.2.2/000001_add_dash_demux.patch TODO: 1. support multi bitrate dash. v2 fixed: 1. from autodetect to disabled 2. from camelCase code style to ffmpeg code style 3. from RepType to AVMediaType 4. fix variable typo 5. change time value from uint32_t to uint64_t 6. removed be used once API 7. change 'time(NULL)`, except it is not 2038-safe.' to av_gettime and av_timegm 8. merge complex free operation to free_fragment 9. use API from snprintf to av_asprintf v3 fixed: 1. fix typo from --enabled-xml2 to --enable-xml2 v4 fixed: 1. from --enable-xml2 to --enable-libxml2 2. move system includes to top 3. remove nouse includes 4. rename enum name 5. add a trailing comma for the last entry enum 6. fix comment typo 7. add const to DASHContext class front 8. check sscanf if return arguments and give warning message when error 9. check validity before free seg->url and seg 10. check if the val is null, before use atoll v5 fixed: 1. fix typo from mainifest to manifest v6 fixed: 1. from realloc to av_realloc 2. from free to av_free v7 fixed: 1. remove the -lxml2 from configure when require_pkg_config v8 fixed: 1. fix replace filename template by av_asprintf secure problem v9 modified: 1. make manifest parser clearly v10 fixed: 1. fix function API name code style 2. remove redundant strreplace call 3. remove redundant memory operation and check return value from get_content_url() 4. add space between ) and { 5. remove no need to log the value for print v11 fixed: 1. from atoll to strtoll Suggested-by: Michael Niedermayer <michael@niedermayer.cc> v12 fixed: 1. remove strreplace and instead by av_strreplace Suggested-by: Nicolas George <george@nsup.org> v13 fixed: 1. fix bug: cannot play: http://dash.edgesuite.net/akamai/bbb_30fps/bbb_30fps.mpd Reported-by: Andy Furniss <adf.lists@gmail.com> v14 fixed: 1. fix bug: TLS connection was non-properly terminated 2. fix bug: No trailing CRLF found in HTTP header Reported-by: Andy Furniss <adf.lists@gmail.com> v15 fixed: 1. play youtube link: ffmpeg -i $(youtube-dl -J "https://www.youtube.com/watch?v=XmL19DOP_Ls" | jq -r ".requested_formats[0].manifest_url") 2. code refine for timeline living stream Reported-by: Ricardo Constantino <wiiaboo@gmail.com> v16 fixed: 1. remove the snprintf and instead by get_segment_filename make safety 2. remove unnecessary loops 3. updated xmlStrcmp and xmlFree to av_* functions 4. merge code repeat into one function 5. add memory alloc faild check 6. update update_init_section and open_url 7. output safety error message when filename template not safe Suggested-by : wm4 <nfxjfg@googlemail.com> v17 fixed: 1. add memory alloc faild check 2. fix resource space error at free_representation v18 fixed: 1. add condition of template format v19 fixed: 1. fix typo of the option describe v20 fixed: 1. add the c->base_url alloc check 2. make the DASHTmplId same to dashenc v21 fixed: 1. remove get_repl_pattern_and_format and get_segment_filename 2. process use dashcomm APIs v22 fixed: 1. modify the include "dashcomm.h" to include "dash.h" 2. use internal API from dash_fill_tmpl_params to ff_dash_fill_tmpl_params Signed-off-by: Steven Liu <lq@onvideo.cn> Signed-off-by: samsamsam <samsamsam@o2.pl>
* | build: cleanup videotoolboxClément Bœsch2017-09-08
| | | | | | | | | | | | | | - there is no need for kCVImageBufferColorPrimaries_ITU_R_2020 checks, it's done at runtime - VideoToolbox presence is now checked with check_apple_framework() - link to CoreServices is only done when videotoolbox is enabled
* | build: cleanup audiotoolbox handlingClément Bœsch2017-09-08
| | | | | | | | | | *_at codecs only need the AudioToolbox framework, which is now checked like the other Apple frameworks.
* | build: add --disable-coreimage autodetect switchClément Bœsch2017-09-08
| |
* | build: add --disable-avfoundation autodetect switchClément Bœsch2017-09-08
| |
* | build: add check_apple_framework()Clément Bœsch2017-09-08
| | | | | | | | This will be used in the following commits.
* | lavfi/coreimage: reduce dependency scope from QuartzCore to CoreImageClément Bœsch2017-09-08
| | | | | | | | | | | | What is required by the filter is CoreImage, there is no QuartzCore usage. QuartzCore/CoreImage.h is simply an include to CoreImage/CoreImage.h.
* | build: fix objcc header checkClément Bœsch2017-09-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | $headers is a variable set in the context of other functions (we don't use the "local" keyword in our scripts, so those variables are global). Currently, when checking for AVFoundation/AVFoundation.h, the actual enabled header is math.h. Similarly, when testing for QuartzCore/CoreImage.h, the actual enabled header is CoreGraphics/CoreGraphics.h. This is completely broken and may be the reason why these checks are made in random places.
* | checkasm: use perf API on Linux ARM*Clément Bœsch2017-09-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On ARM platforms, accessing the PMU registers requires special user access permissions. Since there is no other way to get accurate timers, the current implementation of timers in FFmpeg rely on these registers. Unfortunately, enabling user access to these registers on Linux is not trivial, and generally involve compiling a random and unreliable github kernel module, or patching somehow your kernel. Such module is very unlikely to reach the upstream anytime soon. Quoting Robin Murphin from ARM: > Say you do give userspace direct access to the PMU; now run two or more > programs at once that believe they can use the counters for their own > "minimal-overhead" profiling. Have fun interpreting those results... > > And that's not even getting into the implications of scheduling across > different CPUs, CPUidle, etc. where the PMU state is completely beyond > userspace's control. In general, the plan to provide userspace with > something which might happen to just about work in a few corner cases, > but is meaningless, misleading or downright broken in all others, is to > never do so. As a result, the alternative is to use the Performance Monitoring Linux API which makes use of these registers internally (assuming the PMU of your ARM board is supported in the kernel, which is definitely not a given...). While the Linux API is obviously cross platform, it does have a significant overhead which needs to be taken into account. As a result, that mode is only weakly enabled on ARM platforms exclusively. Note on the non flexibility of the implementation: the timers (native FFmpeg vs Linux API) are selected at compilation time to prevent the need of function calls, which would result in a negative impact on the cycle counters.
* | build: consistent spacing between lists (cosmetics)Clément Bœsch2017-09-05
| |
* | lavd: drop QTKit indevClément Bœsch2017-09-04
| | | | | | | | | | | | | | QTKit has been deprecated in favor of AVFoundation for years, and we have an avfoundation input device. See https://developer.apple.com/documentation/qtkit
* | lavd: drop disabled v4l codeClément Bœsch2017-09-03
| | | | | | | | | | This code is disabled since 2012. V4L1 was dropped from the kernel more than 10 years ago.
* | build: drop unused sndio_h and asoundlib_hClément Bœsch2017-09-02
| |
* | build: make sndio part of the autodetected librariesClément Bœsch2017-09-02
| | | | | | | | | | | | sndio is already autodetected, this commit makes sure --disable-autodetect actually disable it unless --enable-sndio is specified.
* | build: make jack part of the autodetected librariesClément Bœsch2017-09-02
| | | | | | | | | | | | jack is already autodetected, this commit makes sure --disable-autodetect actually disable it unless --enable-jack is specified.
* | build: make alsa part of the autodetected librariesClément Bœsch2017-09-02
| | | | | | | | | | | | alsa libs are already autodetected, this commit makes sure --disable-autodetect actually disable it unless --enable-alsa is specified.
* | build: make sure a disabled autodetect still pick the libc's iconvClément Bœsch2017-09-02
| |
* | build: add --disable-autodetect switchClément Bœsch2017-09-02
| |
* | build: simplify weak-enabling of autodetected librariesClément Bœsch2017-09-02
| |
* | build: remove vda_framework from enable_weakClément Bœsch2017-09-02
| | | | | | | | | | vda_framework is already pulled by the weakly enabled vda and videotoolbox.
* | build: replace use of HAVE_SDL2 with existing CONFIG_SDL2Clément Bœsch2017-09-02
| | | | | | | | There is no need for duplication.
* | build: treat sdl2 like other autodetected librariesClément Bœsch2017-09-02
| |
* | build: isolate sdl-to-sdl2 aliasingClément Bœsch2017-09-02
| | | | | | | | | | | | | | This simplifies incoming SDL related changes by removing potential mismatching states of sdl and sdl2 variables. Since a component can have all kind of states (such as unset, enabled, disabled or requested), keeping these variables in sync manually in random places is not robust.
* | build: treat securetransport and schannel like other autodetected librariesClément Bœsch2017-09-02
| |
* | build: treat libxcb like other autodetected librariesClément Bœsch2017-09-02
| |
* | build: treat iconv like other autodetected librariesClément Bœsch2017-09-02
| |
* | build: treat crystalhd like other hwaccelsClément Bœsch2017-09-02
| |
* | build: group z libs with other autodetected librariesClément Bœsch2017-09-02
| |
* | configure: require pkg-config for libvmafAshish Singh2017-08-30
| | | | | | | | | | | | | | | | This patch makes the libvmaf filter use pkg-config to detect and link to libvmaf. Signed-off-by: Ashish Singh <ashk43712@gmail.com> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* | configure: add support for libnpp* from cuda sdk 9Timo Rothenpieler2017-08-30
| | | | | | | | Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* | lavd: implement NewTek NDI input/output device supportMaksym Veremeyenko2017-08-27
| | | | | | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* | configure: add avx2 enabled logMartin Vignali2017-08-26
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | d3d11va: Check WINAPI_FAMILY instead of HAVE_LOADLIBRARYMartin Storsjö2017-08-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If using the winstore compat library, a fallback LoadLibrary function does exist, that only calls LoadPackagedLibrary though (which doesn't work for dynamically loading d3d11 DLLs). Therefore explicitly check the targeted API family instead. Make this check a reusable HAVE_* component which other parts of the libraries can check when necessary as well. Signed-off-by: Martin Storsjö <martin@martin.st> Merged from Libav commit 4d330da006fe48178.
* | examples/hw_decode: Add a HWAccel decoding example.Jun Zhao2017-07-30
| | | | | | | | | | | | | | | | | | Works with VAAPI, VDPAU, DXVA2 and D3D11VA. Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com> Signed-off-by: Jun Zhao <jun.zhao@intel.com> Reviewed-by: Steven Liu <lingjiujianke@gmail.com> Signed-off-by: Mark Thompson <sw@jkqxz.net>
* | avcodec: add Dolby E decoderfoo862017-07-19
| |
* | configure: Fix libvmaf nameMatt Oliver2017-07-16
| | | | | | | | | | | | | | Fixes: fatal error: libvmaf.h: No such file or directory. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | avfilter: add LIBVMAF filterAshish Singh2017-07-16
| | | | | | | | | | | | | | | | This one changes the previous vmaf patch to libvmaf to keep it separate from the native implementation of vmaf inside ffmpeg later. Signed-off-by: Ashish Singh <ashk43712@gmail.com> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* | configure: use pkg-config for libgme, if availableRicardo Constantino2017-07-13
| | | | | | | | | | | | The pkg-config file is relatively new (2013), so some distros might not have it yet. And the -lstdc++ being required for the static lib is only present since the last release in December 2016.
* | configure: require pkg-config for libvorbisRicardo Constantino2017-07-06
| | | | | | | | | | | | | | | | | | | | | | | | | | libvorbis comes with pkg-config files since at least v1.0.1, way back in 2003. We need the two checks for vorbis and vorbisenc because we use functions from both and Xiph considers them separate libraries. The check is inverted (vorbis first then vorbisenc) because add_extralibs() prepends to EXTRALIBS instead of appending. For both shared and static linking the order didn't seem to matter anyway, testing with MinGW. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>