Commit Graph
1226 Commits
Author SHA1 Message Date
nyanmisaka 5747543a61 Update fixes for relaxing safe filenames in mkv attachments
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2026-07-19 22:30:08 +08:00
nyanmisaka 107504e632 Update backported vulkan fixes from upstream
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2026-07-19 22:30:08 +08:00
nyanmisaka bb0002b183 Enable Mesa AMD drivers for arm64 builds
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2026-07-19 22:30:08 +08:00
nyanmisaka 5cf000ea0d Add misc enhancements to mfenc hw encoder
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2026-07-19 22:30:08 +08:00
Lou Perret 234737e09f Fix HDR RGB 2026-07-16 01:36:07 +02:00
nyanmisaka 92cfa53f7d Fix full range input for mjpeg_vaapi encoder
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2026-07-12 22:51:26 +08:00
gnattu 438cb3af4a Merge pull request #726 from jellyfin/d3d11va_filters
avfilter/d3d11: add tonemap/transpose/deint/scale filters for Qualcomm
2026-07-12 21:52:29 +08:00
nyanmisaka 24bd5c9fdf Sync fixes from ffmpeg-rockchip
- Replace mpp_packet_get_data with mpp_packet_get_pos
- Fix rkrga scaling ratio calc after w/h swapping

Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2026-07-04 15:03:24 +08:00
gnattu 03ec6fc9c0 update patches for 8.1.2 2026-07-01 16:39:35 +08:00
gnattu 86198a7c8d fix deint typos 2026-07-01 16:26:36 +08:00
gnattu 25dcadf62c fix d3d11 helper patch creation 2026-07-01 16:26:36 +08:00
gnattu a5117dbcff adding ff_scale_adjust_dimensions to scale_d3d11 2026-07-01 16:26:36 +08:00
gnattu bfc89c9e74 extract d3d11 common helpers 2026-07-01 16:26:36 +08:00
gnattu ea5ac4f540 make d3d11 dep check more robust 2026-07-01 16:26:36 +08:00
gnattu 1873d31a64 avfilter/d3d11: add output copy options to shader filters 2026-07-01 16:26:36 +08:00
gnattu e251df31b4 avfilter/d3d11: add overlay output copy option 2026-07-01 16:26:36 +08:00
gnattu 2a67eed989 avfilter/d3d11: add tonemap/transpose/deint/scale filters 2026-07-01 16:26:36 +08:00
nyanmisaka 8bf90124a6 Bump version to 8.1.2-1
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2026-06-30 01:00:05 +08:00
nyanmisaka 2c86da9d65 Fix typos in some shader based deint filters
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2026-06-30 01:00:05 +08:00
nyanmisaka 5cb8e04fae Fix a conflict between VPP tonemap and specific scaling mode
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2026-06-30 01:00:05 +08:00
nyanmisaka 43bd4629f6 Update patches for 8.1.2
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2026-06-30 01:00:05 +08:00
nyanmisaka 4a24be20b6 Bump version to 8.1.1-4
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2026-06-12 23:07:56 +08:00
nyanmisaka b2f7e87dff Drop unnecessary call in dx11-ocl sync
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2026-06-12 23:07:28 +08:00
nyanmisaka a56c1efedf Backport fixes by comparing n8.1.1 and release/8.1
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2026-06-12 23:00:37 +08:00
nyanmisaka 899cce622b Backport a fix to use sw_pix_fmt in codec_par if set
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2026-06-12 23:00:37 +08:00
nyanmisaka d91a463d9d Fix compatibility with ffnvcodec 13.1
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2026-06-12 23:00:28 +08:00
gnattu 8e98438a41 avfilter(scale_vt): fix broken macro place for scale_vt patch
The setup macro should be in init function, not in configure
output function. Current placment would break scale_vt based
tone mapping as the output color parameters are never initialized
and cannot be mapped correctly.
2026-06-11 00:47:28 +08:00
nyanmisaka a82c10e26b Bump version to 8.1.1-3
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2026-06-06 16:05:06 +08:00
nyanmisaka 668b4d2eed Relax to allow safe filenames in mkv attachments
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2026-06-06 16:05:06 +08:00
nyanmisaka 0889caa419 Fix typo in changelog
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2026-06-05 17:39:18 +08:00
nyanmisaka 3907eadeb1 Bump version to 8.1.1-2
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2026-06-05 12:03:37 +08:00
nyanmisaka 966006ec1b Patch to enable ffnvcodec in winarm64 build
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2026-06-05 12:03:03 +08:00
nyanmisaka d947d5f8b3 Fix extracting mkv acttachments with non-ascii filenames
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2026-06-05 02:59:57 +08:00
nyanmisaka 091d3b9374 Update changelog
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2026-05-30 15:15:04 +08:00
nyanmisaka 15f42bd43a Add webp to matroskadec image mime types
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2026-05-30 15:13:18 +08:00
gnattu f10c96449a avcodec: add dtsx detection for dts hra
The magic sync word is taken from https://github.com/MediaArea/MediaInfoLib/commit/a58e2a2000d0236652dde9e6e0462cb0408aad28
2026-05-30 01:53:12 +08:00
gnattu d1b0170bf1 Use EOTF from BT 2446 Method B for HLG tonemap
We previously used the spec convention of Lw=1000 and gamma = 1.2
for HLG EOTF to linear space, but that mapping works terribly with
common tonemap operators as that would map too many of the area
above diffusion white and make the result overly bright.

In ITU report BT.2446-1 page 15, it recommends to use Lw=291 with
a gamma of 1.03 so that the mapped HLG diffusion white is at around
90% of SDR peak of BT.1886, or around 78nit. This compress most
of the signal into near SDR range before we apply any tonemap
operators, and it shows promising results.

This approach also requires least code change as we only need to
modify EOTF of HLG for each implementations.

Signed-off-by: gnattu <gnattuoc@me.com>
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2026-05-28 10:57:06 +08:00
nyanmisaka ad894e829a Bump version to 8.1.1-1
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2026-05-28 10:57:06 +08:00
nyanmisaka 6484e3bdad Update build scripts and dependencies
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2026-05-28 10:57:06 +08:00
nyanmisaka 6f10ceb986 Update patches for 8.1.1
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2026-05-28 10:53:47 +08:00
nyanmisaka cdab05a331 Bump version to 7.1.4-1
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2026-05-25 19:29:04 +08:00
nyanmisaka e5eced5842 Backport fixes from upstream
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2026-05-25 19:26:21 +08:00
nyanmisaka 9ac870e2ba Update patches for 7.1.4
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2026-05-25 19:24:57 +08:00
nyanmisaka 0eda89a0af Bump version to 7.1.3-6
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2026-04-25 21:48:38 +08:00
nyanmisaka d859373cd7 Backport some fixes from new branch
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2026-04-25 21:48:38 +08:00
mertalev ce85880570 remove hardening 2026-04-16 20:57:49 -04:00
gnattu 64674b2474 Bump version to 7.1.3-5 2026-04-05 20:25:43 +08:00
gnattu e0f403dfdb ffprobe: avoid runaway only_first_vframe probing
only_first_vframe originally waited for the first decoded frame from every
video stream. That breaks on files with multiple video streams where one
target stream never reaches "first frame seen" in this path.

For example, a Matroska file with one real HEVC video stream and two
attached-picture streams (PNG and JPEG). With -threads 1, all three streams
were marked finished quickly. With -threads 0, the attached PNG stream was
opened with auto threading, its only packet was consumed, but
avcodec_receive_frame() returned EAGAIN and no frame was emitted. Since that
stream had no second packet, it never became finished. ffprobe then kept
demuxing the rest of the file while waiting for all target video streams to
finish, which could read essentially to EOF and appear to consume unbounded
memory.

Fix this in two ways:
- exclude attached-picture streams from the only_first_vframe target set, so
the mode only waits for real video streams
- change the safety fallback from counting packets for unresolved target
streams to counting overall scanned packets, so even unknown future cases
still terminate instead of scanning forever

This preserves the intended "first real video frame" behavior while making the
mode safe for problematic multi-stream inputs.
2026-04-04 12:30:10 +08:00
nyanmisaka 0af68ba378 Bump version to 7.1.3-4
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2026-03-30 22:55:43 +08:00
gnattu 5f92b88310 Merge pull request #673 from jellyfin/vframe-fallback
add safe bail out for fisrt-vframe ffprobe opt
2026-03-24 02:07:17 +08:00