summaryrefslogtreecommitdiff
path: root/configure
Commit message (Collapse)AuthorAge
...
* avfilter: add pad opencl filterPaul B Mahol2020-02-14
|
* configure: fix order of linking for libglslangPaul B Mahol2020-02-07
|
* configure: don't enable $ARCH_external if $ARCH is disabledJames Almer2020-02-04
| | | | | | | | | | The check_x86asm() checks would force enable these variables on success, bypassing any --disable-* command line option. This is important in the case of AVX512, where the relevant define is used to choose between different values for memory alignment and strides in some allocations. Signed-off-by: James Almer <jamrial@gmail.com>
* lavfi: add an chromaber_vulkan filterLynne2020-02-04
| | | | | | | This commit adds a chromatic aberration filter for Vulkan that attempts to emulate a lens chromatic aberration effect. For a YUV frame it will instead shift the chroma channels, providing a simple approximation.
* lavfi: add an avgblur_vulkan filterLynne2020-02-04
| | | | | | This commit adds a fast avgblur Vulkan filter. This will reset Intel GPUs on Linux due to a known, two-year-old driver bug (!834 on mesa's gitlab).
* lavfi: add an overlay_vulkan filterLynne2020-02-04
| | | | This commit adds a basic, non-converting overlay filter for Vulkan.
* lavfi: add an scale_vulkan filterLynne2020-02-04
| | | | This commit adds a basic, non-converting Vulkan scaling filter.
* lavfi: add Vulkan filtering frameworkLynne2020-02-04
| | | | | | | | | This commit adds a Vulkan filtering infrastructure for libavfilter. It attempts to abstract as much as possible of the Vulkan API from filters. The way the hwcontext and the framework are designed permits for parallel, non-CPU-blocking filtering throughout, with the exception of up/downloading and mapping.
* lavu: add Vulkan hwcontext codeLynne2020-02-04
| | | | | | | | | | This commit adds the necessary code to initialize and use a Vulkan device within the hwcontext libavutil framework. Currently direct mapping to VAAPI and DRM frames is functional, and transfers to CUDA and native frames are supported. Lets hope the future Vulkan video decode extension fits well within this framework.
* avfilter: add xfade opencl filterPaul B Mahol2020-02-02
|
* configure: Check for GetStdHandle in addition to SetConsoleTextAttributeMartin Storsjö2020-01-23
| | | | | | | | | SetConsoleTextAttribute used to be unavailable for Windows Store apps, but is available to them now. But GetStdHandle still is unavailable, thus make sure to check for both functions before using code that requires both. Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: Increase minimum libx265 versionAndriy Gelman2020-01-17
| | | | | | | | | | libx265.c references a member x265_picture.quantOffsets (for ROI support) which was added in X265_BUILD 70. Increase the minimum libx265 version to fix compilation. Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com> Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* configure: Change the configure check for tonemap_vaapiXinpeng Sun2020-01-07
| | | | | | | | "VAProcFilterParameterBufferHDRToneMapping" was defined in libva 2.4.1, which will lead to build failure for the filter tonemap_vaapi for libva 2.3.0 with current check. This patch is to fix this build error. Signed-off-by: Xinpeng Sun <xinpeng.sun@intel.com>
* configure: bump yearGyan Doshi2020-01-01
|
* avfilter/vf_geq: Relicense to LGPLMichael Niedermayer2019-12-28
| | | | | | All authors who have code in this under GPL agreed. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate: Add an option for disabling the 2k/4k testsMartin Storsjö2019-12-17
| | | | | | | | When testing on a memory limited system, these tests consume a significant amount of memory and can often fail if testing by running multiple processes in parallel. Signed-off-by: Martin Storsjö <martin@martin.st>
* avfilter: Add tonemap vaapi filter for H2SXinpeng Sun2019-12-17
| | | | | | | | | | | | | It performs HDR(High Dynamic Range) to SDR(Standard Dynamic Range) conversion with tone-mapping. It only supports HDR10 as input temporarily. An example command to use this filter with vaapi codecs: FFMPEG -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -hwaccel_output_format vaapi \ -i INPUT -vf 'tonemap_vaapi=format=p010' -c:v hevc_vaapi -profile 2 OUTPUT Signed-off-by: Xinpeng Sun <xinpeng.sun@intel.com> Signed-off-by: Zachary Zhou <zachary.zhou@intel.com> Signed-off-by: Ruiling Song <ruiling.song@intel.com>
* configure: Check for the SetDllDirectory and GetModuleHandle functionsMartin Storsjö2019-12-13
| | | | | | | | | | | | These functions aren't available when building for the restricted UWP/WinRT/WinStore API subsets. Normally when building in this mode, one is probably only building the libraries, but being able to build ffmpeg.exe still is useful (and a ffmpeg.exe targeting these API subsets still can be run e.g. in wine, for testing). Signed-off-by: Martin Storsjö <martin@martin.st>
* configure: add OPENSSL_init_ssl check if pkg-config failmacweng2019-12-11
| | | | | | | | fix when pkg-config fail and openssl > 1.1.0 --enable-openssl fail, the root cause is check_lib can't found the SSL_library_init(). Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: macweng <macweng@tencent.com>
* avcodec: add mvha video decoderPaul B Mahol2019-11-27
|
* avutil/hwcontext_cuda: allow using primary CUDA device contextOleg Dobkin2019-11-26
| | | | Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* configure: Add fft dependency for showspatial filter.Carl Eugen Hoyos2019-11-17
| | | | Mentioned in ticket #8378.
* configure: Add fft dependency for headphone filter.Carl Eugen Hoyos2019-11-17
| | | | Mentioned in ticket #8378.
* avformat: add an AV1 Annex B demuxerJames Almer2019-11-12
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec: add an AV1 frame merge bitstream filterJames Almer2019-11-12
| | | | | | | This BSF takes Temporal Units split across different AVPackets and merges them by looking for Temporal Delimiter OBUs. Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec: Add librav1e encoderDerek Buitenhuis2019-11-10
| | | | | | Port to the new send/receive API by: James Almer <jamrial@gmail.com>. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* configure: select missing rdft for several filtersLou Logan2019-11-08
| | | | | | | | | afir, sinc, superequalizer, surround For afir fft is replaced with rdft as: rdft_select="fft" Signed-off-by: Lou Logan <lou@lrcd.com>
* avfilter/vf_dnn_processing: add a generic filter for image proccessing with ↵Guo, Yejun2019-11-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dnn networks This filter accepts all the dnn networks which do image processing. Currently, frame with formats rgb24 and bgr24 are supported. Other formats such as gray and YUV will be supported next. The dnn network can accept data in float32 or uint8 format. And the dnn network can change frame size. The following is a python script to halve the value of the first channel of the pixel. It demos how to setup and execute dnn model with python+tensorflow. It also generates .pb file which will be used by ffmpeg. import tensorflow as tf import numpy as np import imageio in_img = imageio.imread('in.bmp') in_img = in_img.astype(np.float32)/255.0 in_data = in_img[np.newaxis, :] filter_data = np.array([0.5, 0, 0, 0, 1., 0, 0, 0, 1.]).reshape(1,1,3,3).astype(np.float32) filter = tf.Variable(filter_data) x = tf.placeholder(tf.float32, shape=[1, None, None, 3], name='dnn_in') y = tf.nn.conv2d(x, filter, strides=[1, 1, 1, 1], padding='VALID', name='dnn_out') sess=tf.Session() sess.run(tf.global_variables_initializer()) output = sess.run(y, feed_dict={x: in_data}) graph_def = tf.graph_util.convert_variables_to_constants(sess, sess.graph_def, ['dnn_out']) tf.train.write_graph(graph_def, '.', 'halve_first_channel.pb', as_text=False) output = output * 255.0 output = output.astype(np.uint8) imageio.imsave("out.bmp", np.squeeze(output)) To do the same thing with ffmpeg: - generate halve_first_channel.pb with the above script - generate halve_first_channel.model with tools/python/convert.py - try with following commands ./ffmpeg -i input.jpg -vf dnn_processing=model=halve_first_channel.model:input=dnn_in:output=dnn_out:fmt=rgb24:dnn_backend=native -y out.native.png ./ffmpeg -i input.jpg -vf dnn_processing=model=halve_first_channel.pb:input=dnn_in:output=dnn_out:fmt=rgb24:dnn_backend=tensorflow -y out.tf.png Signed-off-by: Guo, Yejun <yejun.guo@intel.com> Signed-off-by: Pedro Arthur <bygrandao@gmail.com>
* configure: select mdct for dca encoderLou Logan2019-11-06
| | | | Signed-off-by: Lou Logan <lou@lrcd.com>
* configure: select bswapdsp for ylc decoderLou Logan2019-11-05
| | | | Signed-off-by: Lou Logan <lou@lrcd.com>
* configure: select fft for qdmc decoderLou Logan2019-11-05
| | | | Signed-off-by: Lou Logan <lou@lrcd.com>
* configure: select bswapdsp for mdec decoderLou Logan2019-11-05
| | | | Signed-off-by: Lou Logan <lou@lrcd.com>
* configure: select bswapdsp for imm4 decoderLou Logan2019-11-05
| | | | Signed-off-by: Lou Logan <lou@lrcd.com>
* configure: select audiodsp for acelp_kelvin decoderLou Logan2019-11-04
| | | | Signed-off-by: Lou Logan <lou@lrcd.com>
* configure: select mdct for atrac3al decoderLou Logan2019-11-04
| | | | Signed-off-by: Lou Logan <lou@lrcd.com>
* configure: select mdct & sinewin for atrac3pal decoderLou Logan2019-11-04
| | | | Signed-off-by: Lou Logan <lou@lrcd.com>
* configure: select riffdec for act demuxerLou Logan2019-11-04
| | | | | Signed-off-by: Lou Logan <lou@lrcd.com> Signed-off-by: Carl Eugen Hoyos <ceffmpeg@gmail.com>
* configure: select jpegtables for rtp muxerLou Logan2019-11-04
| | | | | Signed-off-by: Lou Logan <lou@lrcd.com> Signed-off-by: Carl Eugen Hoyos <ceffmpeg@gmail.com>
* lavc/qsvenc: enable vp9 encoderZhong Li2019-11-03
| | | | | | | | | | 1. must enable low_power mode since just VDENC can be supported by iHD driver right now 2. Coding option1 and extra_data are not supported by MSDK 3. IVF header will be inserted in MSDK by default, but it is not needed for FFmpeg, so disable it. Signed-off-by: Zhong Li <zhongli_dev@126.com>
* configure: fix standalone compilation of mxf muxerLou Logan2019-10-30
| | | | | Signed-off-by: Lou Logan <lou@lrcd.com> Signed-off-by: Paul B Mahol <onemda@gmail.com>
* Add support for VP9 VDPAU hwaccel decodeManojGuptaBonda2019-10-26
| | | | | | | | | | | | | | | Support for VDPAU accelerated VP9 decoding was added with libvdpau-1.3. Support for the same in ffmpeg is added with this patch. Profiles related to VDPAU VP9 can be found in latest vdpau.h present in libvdpau-1.3. DRC clips are not supported yet due to http://trac.ffmpeg.org/ticket/8068 Add VP9 VDPAU to list of hwaccels and supported formats Added file vdpau_vp9.c and Modified configure to add VDPAU VP9 support. Mapped VP9 profiles to VDPAU VP9 profiles. Populated the codec specific params that need to be passed to VDPAU. Signed-off-by: Philip Langdale <philipl@overt.org>
* configure: check for a sufficiently recent enough AMF versionHendrik Leppkes2019-09-09
| | | | | | | | Due to the recent addition of Vulkan support to AMF, we require more recent headers that include the new structures, which have been available since AMF 1.4.9 released in September 2018. Fixes Ticket #8125
* configure: fix --disable-v4l2-m2m can't workJun Zhao2019-09-05
| | | | | | | Use the command ./configure with/without --disable-v4l2-m2m test. Reviewed-by: Aman Gupta <aman@tmm1.net> Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
* configure: fix --disable-alsa can't workJun Zhao2019-09-05
| | | | | | fix --disable-alsa can't work in configure Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
* configure: ensure --enable-omx-rpi uses rpi-specific IL headersAman Gupta2019-09-03
| | | | | | | | | | | | When compiling natively on an RPI where libomxil-bellagio-dev was also installed, `check_headers OMX_Core.h` succeeded and the -isystem compiler flag was never added to the build. For non-native builds, the error message now mentions the raspberrypi/firmware repository where the RPI specific headers are available. Signed-off-by: Aman Gupta <aman@tmm1.net>
* avformat: Add ZeroMQ as a protocolAndriy Gelman2019-09-02
| | | | | | | | | When ffmpeg was streaming, multiple clients were only supported by using a multicast destination address. An alternative was to stream to a server which re-distributes the content. This commit adds ZeroMQ as a protocol, which allows multiple clients to connect to a single ffmpeg instance. Signed-off-by: Marton Balint <cus@passwd.hu>
* configure: Update libmysofa check with a new symbol.Andrey Semashev2019-09-02
| | | | | | | | The current code in libavfilter/af_sofalizer.c requires mysofa_neighborhood_init_withstepdefine function, which only appeared in libmysofa 0.7. Use this function in configure script to bail out early if a too old libmysofa is found in the system instead of failing at compile time.
* lavc/tiff: Decode embedded JPEGs in DNG imagesNick Renieris2019-09-02
| | | | | | | | | | | | | | | | Used a technique similar to lavc/tdsc.c for invoking the MJPEG decoder. This commit adds support for: - DNG tiles - DNG tile huffman lossless JPEG decoding - DNG 8-bpp ("packed" as dcraw calls it) decoding - DNG color scaling [1] - LinearizationTable tag - BlackLevel tag [1]: As specified in the DNG Specification - Chapter 5 Signed-off-by: Nick Renieris <velocityra@gmail.com>
* avcodec: add IMM5 decoderPaul B Mahol2019-08-29
|
* configure: fix --enable-omx compile on raspberry piAman Gupta2019-08-29
| | | | | | | | | | | | | | | | | | | Many ffmpeg + rpi compilation guides on the internet recommend using `./configure --enable-omx --enable-omx-rpi`. This fails to find the IL OMX headers on device because the omx require_headers check happens first before the add_cflags in omx_rpi. A workaround is to use `./configure --enable-omx-rpi` only, since omx_rpi already implies omx. But because many users expect to use existing scripts and commands, we swap the order here so omx_rpi special cases are applied first. In the past this wasn't an issue because users noticed the OMX_Core.h missing error and installed libomxil-bellagio-dev. But since 76c82843ccad1, the rpi specific headers from /opt/vc/include/IL are required. Signed-off-by: Aman Gupta <aman@tmm1.net>