Brad Isbell
9d4989f2e1
avdevice/dshow: Fix missing PCM sample size option when it is used as the 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>
2021-11-05 22:58:43 +01:00
Brad Isbell
d9a9b4c877
avdevice/dshow: Use WAVEFORMATEX from AM_MEDIA_TYPE for describing device 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>
2021-11-05 22:58:42 +01:00
Zhao Zhili
7370f1f4c9
doc/muxers: note on Apple's version LHLS for lhls option
2021-11-05 15:34:30 -03:00
Zhao Zhili
a0f9650046
avformat/dashenc: enabling streaming and hls_playlist for lhls
...
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.
2021-11-05 15:32:11 -03:00
Zhao Zhili
f6b90d5fef
avformat/dashenc: enabling streaming automatically for ldash
...
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.
2021-11-05 15:30:43 -03:00
Thilo Borgmann
c42d513ede
lavf/mov: Change default to prefer TFDT time and allow for fallback to SIDX or TFDT
2021-11-05 16:22:04 +01:00
James Almer
f6ab103bb5
avcodec/libx264: fix sei payload leaks on error
...
Signed-off-by: James Almer <jamrial@gmail.com>
2021-11-04 22:59:55 -03:00
Mark Reid
d2379bd6a0
swscale/input: fix planar_rgb16_to_a for gbrap10be and gbrap12be formats
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2021-11-04 11:52:33 +01:00
Roman Arzumanyan
08a501946f
avfilter/scale_npp: add scale2ref_npp filter
...
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
2021-11-03 19:06:14 +01:00
Zhao Zhili
82e3251dd2
avformat/isom_tags: fix 'ipcm' with samplesize equal to 16
...
Use PCM_S16 so the codec_id will be updated later according to
bits_per_coded_sample.
2021-11-03 17:45:02 +01:00
Limin Wang
f05559554c
avformat/dashenc: Fix comparing double with 0
...
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
2021-11-03 21:38:37 +08:00
Limin Wang
8dc8c01d6c
avutil/parseutils: add qhd(Quad HD) or wqhd(Wide Quad HD) for 1440p
...
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
2021-11-03 21:38:37 +08:00
Limin Wang
6cab5206b0
avutil/hwcontext_videotoolbox: fix use of unknown builtin '__builtin_available'
...
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>
2021-11-03 21:20:47 +08:00
Paul B Mahol
bf9950446d
avfilter/vf_chromanr: improve filtering results
2021-11-03 11:55:46 +01:00
Michael Niedermayer
2171f97cc8
avformat/aiffdec: "-1" -> AVERROR_INVALIDDATA
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2021-11-01 20:37:20 +01:00
Michael Niedermayer
905588df97
avformat/aiffdec: Use av_rescale() for bitrate
...
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>
2021-11-01 20:37:20 +01:00
Michael Niedermayer
93f7776921
avformat/aiffdec: sanity check block_align
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2021-11-01 20:37:20 +01:00
Michael Niedermayer
1b04836dff
avformat/aiffdec: Check sample_rate
...
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2021-11-01 20:37:20 +01:00
James Almer
28fac45bde
avcodec/libaomdec: use intermediate arrays for plane pointers and strides
...
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>
2021-11-01 14:58:36 -03:00
Matt Oliver
d92fdc7144
libaom: Dont use aom_codec_av1_dx_algo.
...
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>
2021-10-30 13:37:45 +11:00
Paul B Mahol
4f8494fe5a
doc/filters: fix typo for hsvkey/hsvhold
2021-10-29 23:32:08 +02:00
Paul B Mahol
8164fe1139
avfilter: add huesaturation filter
2021-10-29 23:18:27 +02:00
Brad Smith
dbfafe11ae
configure: add initial RISC-V support
...
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>
2021-10-29 21:44:14 +02:00
James Almer
ba0ba5539a
fate: update ref files after a recent change
...
Missed in 3925b826df
.
Signed-off-by: James Almer <jamrial@gmail.com>
2021-10-29 15:43:14 -03:00
Paul B Mahol
2b6d290fbf
avfilter/vf_nlmeans: split wa struct
...
This will make x86 SIMD simpler and faster.
2021-10-29 18:42:29 +02:00
Paul B Mahol
eaca36d495
avfilter/vf_nlmeans: refactor line processing in preparation for x86 SIMD assembly
2021-10-29 18:42:29 +02:00
Paul B Mahol
38c86e7a02
avfilter/vf_nlmeans: avoid if () to help paralellization
2021-10-29 18:42:29 +02:00
Paul B Mahol
64d19411eb
avfilter/vf_nlmeans: no need to print filter options at info level
2021-10-29 18:42:29 +02:00
Paul B Mahol
959ec353ce
avfilter/vf_nlmeans: make access to pointer to lut faster
2021-10-29 18:42:29 +02:00
Paul B Mahol
81380d221c
avfilter/vf_nlmeans: reduce scope of some variables
2021-10-29 18:42:29 +02:00
Alex Shumsky
3925b826df
avformat/demux: preserve AV_PKT_FLAG_CORRUPT in parse_packet
...
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>
2021-10-29 13:37:20 -03:00
Zane van Iperen
783935de18
fftools/ffplay: don't disable x11 compositing
...
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>
2021-10-29 12:17:41 +10:00
Pekka Väänänen
947d0ce0ea
avcodec/vqavideo: Decode 15-bit VQA3 files
...
Adds support for 15-bit VQA3 videos used in Westwood Studios' games.
Signed-off-by: Pekka Väänänen <pekka.vaananen@iki.fi>
2021-10-28 22:24:54 +02:00
Jan Ekström
27c0dd5560
avfilter/vf_zscale: fix mapping of zimg_chroma_location_e to AVChromaLocation
...
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).
2021-10-28 23:13:51 +03:00
Jan Ekström
cd1d09e81b
avfilter/vf_zscale: deduplicate output color information setting
...
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.
2021-10-28 23:13:51 +03:00
Paul B Mahol
8c2f142bd9
avfilter/vf_psnr/ssim: fix typos
2021-10-28 21:12:09 +02:00
Andreas Rheinhardt
e84c83ef98
avcodec/binkaudio: Properly flush the decoder
...
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>
2021-10-28 10:30:18 +02:00
Andreas Rheinhardt
f8790ad002
avcodec/binkaudio: Remove AV_CODEC_CAP_DELAY
...
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>
2021-10-28 10:30:18 +02:00
Limin Wang
4e3ffc9c54
configure: add hls demuxer link dependencies
...
Fixes building with --disable-everything --enable-demuxer=hls
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
2021-10-28 09:28:57 +08:00
Limin Wang
08c688e64d
avformat/mpegts: Fix for the DOVI video stream descriptor
...
By <<Dolby Vision Streams Within the MPEG-2 Transport Stream Format v1.2>>
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
2021-10-28 09:25:31 +08:00
Limin Wang
c0edfb514b
avformat/movenc: support dvwC box for Dolby Vision
...
By <<Dolby Vision Streams Within the ISO Base Media File Format Version 2.2>>
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
2021-10-28 09:25:31 +08:00
Limin Wang
3c3ef41593
avformat/mov: support dvwC box for Dolby Vision
...
By <<Dolby Vision Streams Within the ISO Base Media File Format Version 2.2>>
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
2021-10-28 09:25:31 +08:00
Paul B Mahol
148c030395
avfilter/vf_histogram: add more color modes
2021-10-27 11:29:29 +02:00
Paul B Mahol
97b5b9dbea
avfilter: split negate filter from lut filter
...
Using luts for negating is suboptimal.
FATE test changes because filter no longer clips values into limited color range.
2021-10-27 11:29:29 +02:00
Michael Niedermayer
069f7831a2
avfilter/vf_owdenoise: relicense my code
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2021-10-24 16:54:36 +02:00
Michael Niedermayer
8316b2a15f
swscale/swscale: Improve *ColorspaceDetails() doxy
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2021-10-24 16:54:36 +02:00
Michael Niedermayer
5f3a160b42
swscale/utils: Improve return codes of sws_setColorspaceDetails()
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2021-10-24 16:54:36 +02:00
Michael Niedermayer
c7699f95bb
swscale/utils: Set all threads to the same colorspace even on failure
...
Fixes: ./ffplay dav.y4m -vf "scale=hd1080:threads=4"
Found-by: Paul
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2021-10-24 16:54:36 +02:00
Paul B Mahol
9df3f147f5
avfilter/vf_v360: do not reset yaw/pitch/roll with reset_rot true
2021-10-24 14:08:10 +02:00
Paul B Mahol
9353d1a60f
avfilter/vf_v360: replace deprecated FF_CEIL_RSHIFT()
2021-10-24 14:08:10 +02:00