summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* avcodec/argo: fix linesize for RLE? in PAL8 modePaul B Mahol2021-02-09
|
* avfilter/vf_framepack: add >8 format supportPaul B Mahol2021-02-09
|
* avfilter/vf_swaprect: add support for commandsPaul B Mahol2021-02-09
|
* avfilter/vf_maskfun: add support for commandsPaul B Mahol2021-02-09
|
* avfilter/vf_zscale: switch verbose log to tracePaul B Mahol2021-02-09
| | | | Not needed in verbose mode.
* avfilter/vf_lut: add support for commandsPaul B Mahol2021-02-08
| | | | While here remove excessive log and uninit() call in negate_init().
* avfilter/vf_deband: add support for commandsPaul B Mahol2021-02-08
|
* avfilter/vf_deband: avoid doublesPaul B Mahol2021-02-08
|
* avcodec/g722enc: Validate parameters before using themAndreas Rheinhardt2021-02-08
| | | | | | | | In case trellis is outside of 0..23, an invalid shift and/or a signed integer overflow happens; furthermore, it can lead to the request to allocate nonsense amounts of memory. So validate first. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
* avfilter/vf_thumbnail: add support for rest of packed rgb formatsPaul B Mahol2021-02-08
|
* avfilter/vf_thumbnail: add support for YUV and GBRP formatsPaul B Mahol2021-02-08
|
* vf_pp: remove unnecessary freeAnton Khirnov2021-02-08
| | | | | | ff_qp_table_extract() frees the table on failure. Found-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
* mjpegdec: stop setting the QP tableAnton Khirnov2021-02-08
| | | | | | | MJPEG does not have a single quantiser scale, so this does not fit into the intended API use. This removes the last use of the long-deprecated QP table API.
* avfilter/vf_lut3d: lut3d, haldclut: add support for commandsPaul B Mahol2021-02-08
|
* avfilter/vf_lut2: add support for commandsPaul B Mahol2021-02-07
|
* avfilter/vf_extractplanes: add float formats supportPaul B Mahol2021-02-07
|
* avformat/libsrt: fix race condition with libsrt_network_wait_fd and epollMarton Balint2021-02-07
| | | | | | | | | | | | | | | The way SRT's async / epoll-based IO works is that the event status is stored in the epoll containers. That is, if an event occurs on an SRT socket, and that SRT socket isn't part of any epoll container, then that event is lost. If we later add that socket to an epoll container, we still won't receive the event even if it wasn't serviced. Therefore we create the epoll and put the fd into it right after the connection is established. See http://lists.ffmpeg.org/pipermail/ffmpeg-devel/2021-January/275334.html Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat/libsrt: fix or simplify some function return valuesMarton Balint2021-02-07
| | | | | | | Sometimes there was a confusion between srt_*() function return values and libavformat-style return values. Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat/libsrt: close listen fd immediately after acceptMarton Balint2021-02-07
| | | | | | There is no reason to keep it open. Signed-off-by: Marton Balint <cus@passwd.hu>
* avfilter: add colorize filterPaul B Mahol2021-02-07
|
* avcodec/ac3enc: Share options and defaultsAndreas Rheinhardt2021-02-07
| | | | | | | | | | Both AC-3 encoder share the same options, yet they are nevertheless duplicated in the binary; and the options applying to the EAC-3 encoder are a proper subset of the options for the AC-3 encoders, so that it can use the same options as the former by putting the options specific to AC-3 at the front. This commit implements this. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
* avcodec/Makefile: Remove dependency for nonexistent filesAndreas Rheinhardt2021-02-07
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
* avcodec/aacdec_fixed: Move fixed-point sinewin tables to its only userAndreas Rheinhardt2021-02-07
| | | | | | | | | | | | | | | | | | | | | | The fixed-point AAC decoder is the only user of the fixed-point sinewin tables from sinewin; and it only uses a few of them (about 10% when counting by size). This means that guarding initializing these tables by an AVOnce (as done in 3719122065863f701026632f610175980d42b05a) is unnecessary for them. Furthermore the array of pointers to the individual arrays is also unneeded. Therefore this commit moves these tables directly into aacdec_fixed.c; this is done by ridding the original sinewin.h and sinewin_tablegen.h headers completely of any fixed-point code at the cost of a bit of duplicated code (the alternative is an ugly ifdef-mess). This saves about 58KB from the binary when using hardcoded tables (as these tables are hardcoded in this scenario); when not using hardcoded tables, most of these savings only affect the .bss segment, but the rest (< 1KB) contains relocations (i.e. savings in .data.rel.ro). Reviewed-by: Lynne <dev@lynne.ee> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
* ffbuild/common: Make deletion of templates possibleAndreas Rheinhardt2021-02-07
| | | | | | | | | | If a target to be built includes a template file, the target's .d file includes the template file as a prerequisite; if the code were changed so that the template file no longer exists, one would get an error from make that it has no rule for the template file target. Therefore add a dummy rule for template files to make deleting them possible. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
* doc/general_contents: add few more entriesPaul B Mahol2021-02-07
| | | | Also extend description of some entries.
* avdevice/xcbgrab: don't assume xserver endiannessAndriy Gelman2021-02-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | xserver defines the endianness of the grabbed images. Use this information to set the correct pixel format. This also fixes format selection in configuration depth=32/bpp=32 with xserver on a little endian machine. Before the patch, the big endian layout 0RGB was always selected which is incorrect because BGR0 should be used. RGB24 was also incorrectly assumed (but this format was removed in xserver 1.20). The big-endian settings can be tested using docker+qemu from a little-endian machine: $ docker run --rm --privileged multiarch/qemu-user-static --reset -p yes $ docker run --rm -it -v /tmp:/tmp powerpc64/debian /bin/bash In docker container $ apt-get update $ apt-get install xvfb $ apt-get install x11-apps To test AV_PIX_FMT_0RGB32 $ Xvfb :2 -screen 0 720x480x24 & $ export DISPLAY=:2 $ xclock -geometry 720x480 -bg green #test different colors On your host machine grab the frames using the following command. View output to check that colors are rendered correctly $ ./ffmpeg -y -f x11grab -i :2.0 -codec:v mpeg2video out.mp4 Other pixel formats can be tested by modifying how Xvfb is started in the docker container: AV_PIX_FMT_RGB565 $ Xvfb :2 -screen 0 720x480x16 AV_PIX_FMT_RGB555 $ Xvfb :2 -screen 0 720x480x15 AV_PIX_FMT_BGR24 / AV_PIX_FMT_RGB24 This is difficult to test because bpp=24 support was removed in xserver 1.20 https://lists.x.org/archives/xorg-devel/2018-February/056175.html?hmsr=joyk.com&utm_source=joyk.com&utm_medium=referral However, I was able to run previous version of Xvfb (with some modifications to force 24bpp) to check that images are rendered correctly. Reviewed-by: Carl Eugen Hoyos <ceffmpeg@gmail.com> Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
* avfilter/vf_deblock: add support for commandsPaul B Mahol2021-02-06
|
* avfilter/vf_lut3d: lut1d: add support for commandsPaul B Mahol2021-02-06
|
* avfilter/vf_tile: remove extra whitespace in option descriptionPaul B Mahol2021-02-06
|
* avfilter/avfilter: move enable_str expression parsing into avfilter_init_dict()Paul B Mahol2021-02-06
| | | | | | | | This ensures that needed arrays are always allocated and properly initialized. Previously if code would use only avfilter_init_dict() to set options for filters it would not allocate arrays for timeline processing thus it would crash if user supplied enable option for filter(s).
* avfilter/vf_mix: add support for commandsPaul B Mahol2021-02-06
|
* avfilter/vf_mix: add timeline supportPaul B Mahol2021-02-06
|
* avformat/img2dec: improve xbm probingPaul B Mahol2021-02-05
|
* ffmpeg: add -fpsmax to clamp output framerateGyan Doshi2021-02-05
| | | | Useful when encoding in batch or with aberrant inputs.
* avformat/cdxl: add back options to override sample and frame ratePaul B Mahol2021-02-05
| | | | | It make sense to allow to control speed of playback when no infomation is provided.
* avcodec/xbm_parser: mark frame as intra only and as key framePaul B Mahol2021-02-05
|
* avcodec/xbm_parser: split long linePaul B Mahol2021-02-05
|
* avformat: add xbm_pipe demuxerPaul B Mahol2021-02-05
|
* avcodec: add xbm parserPaul B Mahol2021-02-05
|
* avfilter/vf_lensfun: display list of possible values if user supplied nonePaul B Mahol2021-02-05
|
* avfilter/vf_lensfun: replace deprecated callsPaul B Mahol2021-02-05
|
* avfilter/vf_frei0r: add timeline supportPaul B Mahol2021-02-05
|
* avfilter/drawbox: fix formatting after d64cbd4fdaGyan Doshi2021-02-05
|
* avformat/mxfenc: prefer to use the configured metadataLimin Wang2021-02-05
| | | | | | | | | | | | | | | | The metadata company_name, product_name, product_version from input file will be deleted to avoid overwriting information Please to test with below commands: ./ffmpeg -i ../fate-suite/mxf/Sony-00001.mxf -c:v copy -c:a copy out.mxf and ./ffmpeg -i ../fate-suite/mxf/Sony-00001.mxf -c:v copy -c:a copy \ -metadata company_name="xxx" \ -metadata product_name="xxx" \ -metadata product_version="xxx" \ out.mxf Reviewed-by: Tomas Härdin <tjoppen@acc.umu.se> Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
* avformat/mxf: add platform local tagLimin Wang2021-02-05
| | | | | | | | | | | Please check the string of platform with below command: ./ffmpeg -i ../fate-suite/mxf/Sony-00001.mxf -c:v copy -c:a copy out.mxf ./ffmpeg -i out.mxf .... application_platform: Lavf (linux) Reviewed-by: Tomas Härdin <tjoppen@acc.umu.se> Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
* avformat/mxfdec: set toolkit version metadataLimin Wang2021-02-05
| | | | | | | | | | | Please check the string of toolkit version with below command: ./ffmpeg -i ../fate-suite/mxf/Sony-00001.mxf -c:v copy -c:a copy out.mxf ./ffmpeg -i out.mxf .... toolkit_version : 58.65.101.0.0 Reviewed-by: Tomas Härdin <tjoppen@acc.umu.se> Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
* avformat/cdxl: improve frame rate guessing for standard cdxlPaul B Mahol2021-02-05
| | | | | Use audio size and sample rate to get real frame rate. Also make seeking more robust.
* avfilter/af_arnndn: add support for commandsPaul B Mahol2021-02-05
|
* tools/target_dec_fuzzer: Adjust threshold for interplayacmMichael Niedermayer2021-02-04
| | | | | | | | Fixes: Timeout (long -> 1sec) Fixes: 27439/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_INTERPLAY_ACM_fuzzer-5145715814432768 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/4xm: Make audio_frame_count 64bitMichael Niedermayer2021-02-04
| | | | | | | | Fixes: signed integer overflow: 2099257366 * 2 cannot be represented in type 'int' Fixes: 27486/clusterfuzz-testcase-minimized-ffmpeg_dem_FOURXM_fuzzer-5112179134824448 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>