summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* avcodec/libdav1d: Use av_memdup() where appropriateAndreas Rheinhardt2021-11-07
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/libdav1d: Use AVCodecInternal.in_pkt instead of stack packetAndreas Rheinhardt2021-11-07
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/libdav1d: Don't leak side-data-only packetsAndreas Rheinhardt2021-11-07
| | | | | Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/cuviddec: Use AVCodecInternal.in_pkt instead of stack packetAndreas Rheinhardt2021-11-07
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/crystalhd: Use AVCodecInternal.in_pkt instead of stack packetAndreas Rheinhardt2021-11-07
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/binkaudio: Use AVCodecInternal.in_pkt for buffer packetAndreas Rheinhardt2021-11-07
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/internal: Allow receive_frame codecs to use decode_simple pktAndreas Rheinhardt2021-11-07
| | | | | | | | | | | | | | | | | | Decoders implementing the receive_frame API currently mostly use stack packets to temporarily hold the packet they receive from ff_decode_get_packet(). This role directly parallels the role of in_pkt, the spare packet used in decode_simple_internal for the decoders implementing the traditional decoding API. Said packet is unused by the generic code for the decoders implementing the receive_frame API, so allow them to use it to fulfill the function it already fulfills for the traditional API for both APIs. There is only one caveat in this: The packet is automatically unreferenced in avcodec_flush_buffers(). But this is actually positive as it means the decoders don't have to do this themselves (in case the packet is preserved between receive_frame calls). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avformat/matroskadec: Don't unnecessarily reduce aspect ratioAndreas Rheinhardt2021-11-07
| | | | | | | Fixes ticket #9497. Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avformat/mpegtsenc: do not include adaptation field in teletext TS packetsAlex Shumsky2021-11-06
| | | | | | | | | | | | | | | From ETSI EN 300 472 V1.3.1 (2003-05) Specification for conveying ITU-R System B Teletext in DVB bitstreams: 4.1 Transport Stream (TS) packet format The standard TS packet syntax and semantics are followed, noting the following constraint: - adaptation_field_control only the values "01" and "10" are permitted. Some set top boxes (Motorola, Arris, Zyxel) refuse non-conforming packets. Signed-off-by: Alex Shumsky <alexthreed@gmail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
* avformat/mpegtsenc: fix first_pcr initial updateMaksym Veremeyenko2021-11-06
| | | | | | | | | | | | | | | Commit 6f36eb0da71d22aadf8f056f0966bd86656ea57e claim it fixes endless loop on package generation if muxrate specified and copyts used. But actually it does not work properly if -mpegts_copyts 1 is specified: ffmpeg -y -copyts -i loewe.ts -c:v libx264 -x264opts nal-hrd=cbr:force-cfr=1 -b:v 3500k -minrate 3500k -maxrate 3500k -bufsize 1000k -c:a mp2 -f mpegts -mpegts_copyts 1 -muxrate 4500k -vframes 1000 test.ts ffmpeg generate huge file until it reach zero-based pcr value equal to first dts. Attached patch fixes it. Reviewed-by: Limin Wang <lance.lmwang@gmail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
* avdevice/dshow: Fix missing PCM sample size option when it is used as the ↵Brad Isbell2021-11-05
| | | | | | | | lone option for DirectShow audio capture Signed-off-by: Brad Isbell <brad@audiopump.co> Reviewed-by: Roger Pack <rogerdpack2@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avdevice/dshow: Use WAVEFORMATEX from AM_MEDIA_TYPE for describing device ↵Brad Isbell2021-11-05
| | | | | | | | capabilities. (Fixes #9420) Signed-off-by: Brad Isbell <brad@audiopump.co> Reviewed-by: Roger Pack <rogerdpack2@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* doc/muxers: note on Apple's version LHLS for lhls optionZhao Zhili2021-11-05
|
* avformat/dashenc: enabling streaming and hls_playlist for lhlsZhao Zhili2021-11-05
| | | | | | | Try to make the feature easier to use, especially since the user have enabled -strict experimental manually. The user shouldn't be surprised that hls_playlist is enabled for lhls automatically, so change the log level from warning to info for that.
* avformat/dashenc: enabling streaming automatically for ldashZhao Zhili2021-11-05
| | | | | | | | | There is a little chance that user specified contradicted options like -streaming 0 -ldash 1, however, it's more likely that user didn't know or forgot to enable streaming for ldash. So enabling streaming automatically to make the feature easier to use, similar like enable FF_MOV_FLAG_FRAGMENT/EMPTY_MOOV/DEFAULT_BASE_MOOF and so on for FF_MOV_FLAG_CMAF.
* lavf/mov: Change default to prefer TFDT time and allow for fallback to SIDX ↵Thilo Borgmann2021-11-05
| | | | or TFDT
* avcodec/libx264: fix sei payload leaks on errorJames Almer2021-11-04
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* swscale/input: fix planar_rgb16_to_a for gbrap10be and gbrap12be formatsMark Reid2021-11-04
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/scale_npp: add scale2ref_npp filterRoman Arzumanyan2021-11-03
| | | | Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* avformat/isom_tags: fix 'ipcm' with samplesize equal to 16Zhao Zhili2021-11-03
| | | | | Use PCM_S16 so the codec_id will be updated later according to bits_per_coded_sample.
* avformat/dashenc: Fix comparing double with 0Limin Wang2021-11-03
| | | | Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
* avutil/parseutils: add qhd(Quad HD) or wqhd(Wide Quad HD) for 1440pLimin Wang2021-11-03
| | | | Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
* avutil/hwcontext_videotoolbox: fix use of unknown builtin '__builtin_available'Limin Wang2021-11-03
| | | | | | | | OSX version: 10.11.6 Apple LLVM version 8.0.0 (clang-800.0.42.1) Target: x86_64-apple-darwin15.6.0 Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
* avfilter/vf_chromanr: improve filtering resultsPaul B Mahol2021-11-03
|
* avformat/aiffdec: "-1" -> AVERROR_INVALIDDATAMichael Niedermayer2021-11-01
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/aiffdec: Use av_rescale() for bitrateMichael Niedermayer2021-11-01
| | | | | | | | | Fixes: integer overflow Fixes: 40313/clusterfuzz-testcase-minimized-ffmpeg_dem_AIFF_fuzzer-4814761406103552 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/aiffdec: sanity check block_alignMichael Niedermayer2021-11-01
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/aiffdec: Check sample_rateMichael Niedermayer2021-11-01
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/libaomdec: use intermediate arrays for plane pointers and stridesJames Almer2021-11-01
| | | | | | | | Fixes -Wstringop-overflow warnings with libaom >= 2.0.0, where the unused alpha plane was removed from aom_image. Reviewed-by: James Zern <jzern@google.com> Signed-off-by: James Almer <jamrial@gmail.com>
* libaom: Dont use aom_codec_av1_dx_algo.Matt Oliver2021-10-30
| | | | | | This fixes linking errors where variables cannot be correctly linked in from an external shared library such as with msvc (requires dllimport which is not used by libaom). Instead just call the function that returns the same variable. Signed-off-by: Matt Oliver <protogonoi@gmail.com>
* doc/filters: fix typo for hsvkey/hsvholdPaul B Mahol2021-10-29
|
* avfilter: add huesaturation filterPaul B Mahol2021-10-29
|
* configure: add initial RISC-V supportBrad Smith2021-10-29
| | | | | | | OpenBSD only supports riscv64 but this is an attempt at adding some of the initial bits for RISC-V support. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate: update ref files after a recent changeJames Almer2021-10-29
| | | | | | Missed in 3925b826df365a2365118600bd7910cbca95286d. Signed-off-by: James Almer <jamrial@gmail.com>
* avfilter/vf_nlmeans: split wa structPaul B Mahol2021-10-29
| | | | This will make x86 SIMD simpler and faster.
* avfilter/vf_nlmeans: refactor line processing in preparation for x86 SIMD ↵Paul B Mahol2021-10-29
| | | | assembly
* avfilter/vf_nlmeans: avoid if () to help paralellizationPaul B Mahol2021-10-29
|
* avfilter/vf_nlmeans: no need to print filter options at info levelPaul B Mahol2021-10-29
|
* avfilter/vf_nlmeans: make access to pointer to lut fasterPaul B Mahol2021-10-29
|
* avfilter/vf_nlmeans: reduce scope of some variablesPaul B Mahol2021-10-29
|
* avformat/demux: preserve AV_PKT_FLAG_CORRUPT in parse_packetAlex Shumsky2021-10-29
| | | | | | | If original packet is corrupted, then parsed packet is probably corrupted too. Let the application decide what to do. Signed-off-by: Alex Shumsky <alexthreed@gmail.com>
* fftools/ffplay: don't disable x11 compositingZane van Iperen2021-10-29
| | | | | | | | Prevents desktop stutters caused by the change (specifically on KDE). We're not a game, we don't actually need it disabled. Reviewed-by: Marton Balint <cus@passwd.hu> Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
* avcodec/vqavideo: Decode 15-bit VQA3 filesPekka Väänänen2021-10-28
| | | | | | Adds support for 15-bit VQA3 videos used in Westwood Studios' games. Signed-off-by: Pekka Väänänen <pekka.vaananen@iki.fi>
* avfilter/vf_zscale: fix mapping of zimg_chroma_location_e to AVChromaLocationJan Ekström2021-10-28
| | | | | | The AVChromaLocation values are one higher than zimg's, not one lower as the undefined value is set to zero (as opposed to zimg's -1).
* avfilter/vf_zscale: deduplicate output color information settingJan Ekström2021-10-28
| | | | | This way a piece of logic is not missed in one location or the other, such as the case with chroma location outside the if.
* avfilter/vf_psnr/ssim: fix typosPaul B Mahol2021-10-28
|
* avcodec/binkaudio: Properly flush the decoderAndreas Rheinhardt2021-10-28
| | | | | | | | | The packets delivered to this decoder are often decoded to more than one frame and if the internal buffer packet is not unreferenced, the decoder will still output frames derived from the old packet (from before the flush). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/binkaudio: Remove AV_CODEC_CAP_DELAYAndreas Rheinhardt2021-10-28
| | | | | | | | | | This decoder may output multiple AVFrames for every AVPacket passed to it, but after it has returned AVERROR(EAGAIN), it is completely drained and there is no reason to flush it at the end with a NULL packet. Furthermore, there is also no delay in the common sense of the word. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* configure: add hls demuxer link dependenciesLimin Wang2021-10-28
| | | | | | Fixes building with --disable-everything --enable-demuxer=hls Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
* avformat/mpegts: Fix for the DOVI video stream descriptorLimin Wang2021-10-28
| | | | | | By <<Dolby Vision Streams Within the MPEG-2 Transport Stream Format v1.2>> Signed-off-by: Limin Wang <lance.lmwang@gmail.com>