Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-04-23configure: enable ffnvcodec, nvenc, nvdec for aarch64ManojGuptaBonda
Adding the support to build FFMPEG with HW accelerated decode(nvdec) and encode on aarch64 architecture. Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
2020-04-19configure: add MLP parser as dependency to MLP and TrueHD demuxersJames Almer
It's needed to assemble complete frames. Signed-off-by: James Almer <jamrial@gmail.com>
2020-04-17avcodec/mv30: use aandcttablesPeter Ross
2020-04-15configure: fix clang on macOS 10.15Josh de Kock
Works around a bug in the newer Xcode 11's clang with -fstack-check emitting bad code with misaligned call instructions. This fixes Trac #8073
2020-04-14configure, libavformat/Makefile: Fix webm_chunk dependenciesAndreas Rheinhardt
The webm_chunk muxer requires the WebM muxer, yet it does not directly require anything from libavformat/matroska.c (it does not even include the corresponding header). So remove the dependency from the Makefile and add a _select to configure. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2020-04-12configure: add mv30 blockdsp dependencyPeter Ross
fix link error introduced in 481ebb1c8b3368e2a1bb9e33bd10b50a8818dbf7 Signed-off-by: Peter Ross <pross@xvid.org> Reviewed-by: Anton Khirnov <anton@khirnov.net>
2020-04-05compat/avisynth: remove avisynth headersStephen Hutchinson
2020-04-05configure: Filter -Wl, linker flags out for msvc compilation.Carl Eugen Hoyos
2020-04-03configure: fix build issue of vf_dnn_processing.c when --disable-swscaleGuo, Yejun
vf_dnn_processing.c recently changed to use swscale to trasfer data between AVFrame and dnn model. Signed-off-by: Guo, Yejun <yejun.guo@intel.com> Signed-off-by: Linjie Fu <linjie.fu@intel.com>
2020-04-03configure: Do not abort when cross-compiling to the native CPUDavid Michael
Using a compiler with a different host triplet is considered cross-compiling, even when it is for the same architecture as the build system. With such a cross-compiler, it is still valid to optimize builds with --cpu=host. Make the condition that aborts in this case into a warning instead, since a cross-compiler for an incompatible architecture will fail with -mtune=native anyway. Signed-off-by: David Michael <fedora.dm0@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2020-03-28avfilter: add vf_overlay_cudaYaroslav Pogrebnyak
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
2020-03-27configure: Get the correct ident for clang-cl.exeCarl Eugen Hoyos
Instead of "No input file specified"
2020-03-27configure: Remove all C standard versions from the MSVC command line.Carl Eugen Hoyos
Silences a warning for every file when compiling with clang-cl.exe
2020-03-16examples/avio_dir_cmd: drop support for move/delete operationsAnton Khirnov
They use non-public functions, which is unacceptable for a public API example. Rename the example back to avio_list_dir. This effectively reverts c84d208c275d6a43b3c3421d38772179abf8acee and 767d780ec001167b2fd8f6cfe4ef78a3a8b1e34c.
2020-03-13configure: Add llviddsp to mvha selectThierry Foucu
2020-03-10avformat: Add AMQP version 0-9-1 protocol supportAndriy Gelman
Supports connecting to a RabbitMQ broker via AMQP version 0-9-1. Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
2020-02-25configure: Enable section_data_rel_ro for OpenBSD aarch64 / armBrad Smith
Signed-off-by: Brad Smith <brad@comstyle.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2020-02-14avfilter: add pad opencl filterPaul B Mahol
2020-02-07configure: fix order of linking for libglslangPaul B Mahol
2020-02-05configure: don't enable $ARCH_external if $ARCH is disabledJames Almer
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>
2020-02-05lavfi: add an chromaber_vulkan filterLynne
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.
2020-02-05lavfi: add an avgblur_vulkan filterLynne
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).
2020-02-05lavfi: add an overlay_vulkan filterLynne
This commit adds a basic, non-converting overlay filter for Vulkan.
2020-02-05lavfi: add an scale_vulkan filterLynne
This commit adds a basic, non-converting Vulkan scaling filter.
2020-02-05lavfi: add Vulkan filtering frameworkLynne
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.
2020-02-05lavu: add Vulkan hwcontext codeLynne
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.
2020-02-02avfilter: add xfade opencl filterPaul B Mahol
2020-01-23configure: Check for GetStdHandle in addition to SetConsoleTextAttributeMartin Storsjö
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>
2020-01-17configure: Increase minimum libx265 versionAndriy Gelman
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>
2020-01-07configure: Change the configure check for tonemap_vaapiXinpeng Sun
"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>
2020-01-01configure: bump yearGyan Doshi
2019-12-28avfilter/vf_geq: Relicense to LGPLMichael Niedermayer
All authors who have code in this under GPL agreed. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-12-17fate: Add an option for disabling the 2k/4k testsMartin Storsjö
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>
2019-12-17avfilter: Add tonemap vaapi filter for H2SXinpeng Sun
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>
2019-12-13configure: Check for the SetDllDirectory and GetModuleHandle functionsMartin Storsjö
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>
2019-12-11configure: add OPENSSL_init_ssl check if pkg-config failmacweng
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>
2019-11-28avcodec: add mvha video decoderPaul B Mahol
2019-11-26avutil/hwcontext_cuda: allow using primary CUDA device contextOleg Dobkin
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
2019-11-18configure: Add fft dependency for showspatial filter.Carl Eugen Hoyos
Mentioned in ticket #8378.
2019-11-18configure: Add fft dependency for headphone filter.Carl Eugen Hoyos
Mentioned in ticket #8378.
2019-11-13avformat: add an AV1 Annex B demuxerJames Almer
Signed-off-by: James Almer <jamrial@gmail.com>
2019-11-13avcodec: add an AV1 frame merge bitstream filterJames Almer
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>
2019-11-10avcodec: Add librav1e encoderDerek Buitenhuis
Port to the new send/receive API by: James Almer <jamrial@gmail.com>. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2019-11-08configure: select missing rdft for several filtersLou Logan
afir, sinc, superequalizer, surround For afir fft is replaced with rdft as: rdft_select="fft" Signed-off-by: Lou Logan <lou@lrcd.com>
2019-11-07avfilter/vf_dnn_processing: add a generic filter for image proccessing with ↵Guo, Yejun
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>
2019-11-06configure: select mdct for dca encoderLou Logan
Signed-off-by: Lou Logan <lou@lrcd.com>
2019-11-05configure: select bswapdsp for ylc decoderLou Logan
Signed-off-by: Lou Logan <lou@lrcd.com>
2019-11-05configure: select fft for qdmc decoderLou Logan
Signed-off-by: Lou Logan <lou@lrcd.com>
2019-11-05configure: select bswapdsp for mdec decoderLou Logan
Signed-off-by: Lou Logan <lou@lrcd.com>
2019-11-05configure: select bswapdsp for imm4 decoderLou Logan
Signed-off-by: Lou Logan <lou@lrcd.com>