gnattu
6f78ac2ff3
Use more accurate rounding in GetFixedOutputSize ( #11435 )
...
* Use more accurate rounding in GetFixedOutputSize
Signed-off-by: gnattu <gnattuoc@me.com>
* Force trickplay thumbnails to have even width
Signed-off-by: gnattu <gnattuoc@me.com>
* Use Convert.ToInt32
Signed-off-by: gnattu <gnattuoc@me.com>
* Force video size as thumbnail size if the trickplay width setting is larger
This will fix an issue when the trickplay setting contains a very huge width, but the video has a lower resolution than that setting. Our scaling filter logic will not do any upscale, and we have to force to use the video width
Signed-off-by: gnattu <gnattuoc@me.com>
---------
Signed-off-by: gnattu <gnattuoc@me.com>
9 months ago
gnattu
374b6ca0e2
Only apply custom downmix to 5.1 audios ( #11401 )
9 months ago
Bond-009
7d28d08e08
Enable more warnings as errors ( #11288 )
9 months ago
gnattu
6b6aab04ce
Fix apple audio codecs ( #11315 )
9 months ago
gnattu
fe88a484d1
fix: don't do empty hwupload for VT ( #11235 )
10 months ago
gnattu
a8f1668540
fix: unset qmin and qmax for vt ( #11246 )
...
Co-authored-by: Nyanmisaka <nst799610810@gmail.com>
10 months ago
Nyanmisaka
16e72d6883
Fix the broken codecs shifting ( #11243 )
10 months ago
gnattu
5db0c5a0e4
fix: forward port patch for GHSA-866x-wj5j-2vf4 ( #11228 )
10 months ago
gnattu
2e9aa146a5
fix: remove legacy codecs ( #11217 )
10 months ago
gnattu
b1870792b1
fix: use Metal tonemap instead of OpenCL ( #11198 )
10 months ago
gnattu
cf16110a56
fix: map encoder preset to quality setting for VideoToolbox ( #11205 )
10 months ago
vedant
3bbb57eb83
Add new VideoRangeTypes to fully support DoVi on webOS ( #10469 )
10 months ago
nyanmisaka
ae7c0c83e9
Bump the required minimum ffmpeg version to 4.4
...
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
10 months ago
nyanmisaka
39b953e41c
Set input readrate for using SegmentDeletion with stream-copy
...
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
10 months ago
Cody Robibero
a92de9b2e3
Merge pull request #11014 from gnattu/vf-videotoolbox
10 months ago
gnattu
0909ee7208
fix: convert all non-yuv420 inputs to nv12
...
Signed-off-by: gnattu <gnattuoc@me.com>
10 months ago
gnattu
e6dee627e3
fix: force a pixel format for 10-bit inputs
...
Signed-off-by: gnattu <gnattuoc@me.com>
10 months ago
gnattu
d10ad6c383
fix: no need to check filters prematurely
...
Signed-off-by: gnattu <gnattuoc@me.com>
10 months ago
gnattu
2f66871040
fix: also check if we are doing scaling
...
Signed-off-by: gnattu <gnattuoc@me.com>
10 months ago
gnattu
f31549cc0d
fix: code clean up
...
Co-authored-by: nyanmisaka <nst799610810@gmail.com>
Signed-off-by: gnattu <gnattuoc@me.com>
10 months ago
gnattu
a30dc81b28
fix: stack overflow
...
Signed-off-by: gnattu <gnattuoc@me.com>
11 months ago
gnattu
ec896a901c
fix: code style
...
Signed-off-by: gnattu <gnattuoc@me.com>
11 months ago
gnattu
1cb7264f0d
feat: fully support videotoolbox hardware filters
...
Signed-off-by: gnattu <gnattuoc@me.com>
11 months ago
Nyanmisaka
aa3aaa94fe
Fix the preproc filters for dvbsub burn-in ( #11034 )
...
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
11 months ago
gnattu
21bf557145
fix: use hardware videotoolbox filter even only scale is available
...
Signed-off-by: gnattu <gnattuoc@me.com>
11 months ago
gnattu
0a8560f64a
fix: use hardware filter option name explicitly
...
Signed-off-by: gnattu <gnattuoc@me.com>
11 months ago
gnattu
2f3e5cfa06
fix: correctly set the supported formats of videotoolbox tone mapping
...
Signed-off-by: gnattu <gnattuoc@me.com>
11 months ago
gnattu
0a4457dd68
fix: typo
...
Signed-off-by: gnattu <gnattuoc@me.com>
11 months ago
gnattu
5c743f2b4d
feat: separate videotoolbox tone mapping option
...
Signed-off-by: gnattu <gnattuoc@me.com>
11 months ago
gnattu
cf3e3e2c3d
fix: code style
...
Signed-off-by: gnattu <gnattuoc@me.com>
11 months ago
gnattu
c18ef13b3b
feat: add tone mapping for videotoolbox
...
Signed-off-by: gnattu <gnattuoc@me.com>
11 months ago
gnattu
44cb9f5fdd
feat: add hw scale filter for videotoolbox
...
Signed-off-by: gnattu <gnattuoc@me.com>
11 months ago
Shadowghost
9230472056
Fix file extension based on container
11 months ago
nyanmisaka
e62dab627e
Add full HWA transcoding pipeline for RKMPP
...
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
12 months ago
nyanmisaka
92c0ec0c1b
Use video framerate for ASS subtitle HW burn-in
...
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
12 months ago
nyanmisaka
9323390add
Fix the display aspect ratio of PGSSUB subtitle burn-in
...
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
12 months ago
Nyanmisaka
aa71129cff
Use -noauto{scale,rotate} for disabling auto filters ( #10810 )
...
`-auto{scale,rotate} 0` has been dropped in upstream FFmpeg.
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
1 year ago
jkhsjdhjs
547d97d602
Use `eof_action=pass` when overlaying subtitles
...
The previous behavior using `eof_action=endall` and `shortest=1` would
end the video stream if one of the input stream (video, subtitle) ends.
In some cases the duration of the overlayed subtitles is shorter than the
video stream, causing the output to end when the subtitles end and dropping
the remaining video stream.
This commit changes this behavior so `eof_action=pass` is used instead,
which continues passing the video stream through even if the subtitles end
earlier [1]. `shortest=1` is also removed, as this option implies
`eof_action=endall`.
If the subtitle stream has a higher duration than the video stream, the output
will also end with the video stream without `shortest=1`, as the video stream
is the primary input to the `overlay` filter.
Fix #10698
[1] https://ffmpeg.org/ffmpeg-filters.html#Options-for-filters-with-several-inputs-_0028framesync_0029
1 year ago
Bond_009
b62b0ec2b5
Fix warnings
1 year ago
nyanmisaka
9c270b149c
Fix mismatch between intel VAAPI UMD/KMD in rare cases
...
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
1 year ago
Nick
cd662506a1
Merge branch 'master' into trickplay
1 year ago
Stepan Goremykin
8d7e4229ca
Merge branch 'master' into fix-resharper-warnings
...
# Conflicts:
# Emby.Server.Implementations/Net/SocketFactory.cs
# RSSDP/SsdpCommunicationsServer.cs
# RSSDP/SsdpDeviceLocator.cs
# RSSDP/SsdpDevicePublisher.cs
1 year ago
Bond-009
0b31997b2f
Merge pull request #10348 from Bond-009/strings
1 year ago
Stepan Goremykin
2d7835c848
Join declaration and assignment
1 year ago
Stepan Goremykin
8ea812b65d
Reduce string literal length by using verbatim string
1 year ago
Bond-009
1141883f77
Merge pull request #10321 from feilongfl/master
1 year ago
Claus Vium
6593aa1255
Merge pull request #10135 from 0x25CBFC4F/fix/ffmpeg-probesize
...
Fixed probesize argument passing to FFmpeg
1 year ago
Claus Vium
a18b3fbe70
simplify the if
1 year ago
Bond_009
b176beb88e
Reduce string allocations
...
Some simple changes to reduce the number of allocated strings
1 year ago
fei long
33b3331c72
change Substring to AsSpan
...
Co-authored-by: Bond-009 <bond.009@outlook.com>
1 year ago