nyanmisaka
f6060bd14b
Backport pull request #9355 from jellyfin/release-10.8.z
...
Some VAAPI VPP and OpenCL fixes
Original-merge: c807712246
Merged-by: Bond-009 <bond.009@outlook.com>
Backported-by: crobibero <cody@robibe.ro>
2023-03-09 19:33:52 -05:00
nyanmisaka
0905d62224
Adapt vulkan filtering to 6.0
2023-03-05 01:39:58 +08:00
Nyanmisaka
edc627fd5b
Improve the Vulkan based subtitle burn-in performance ( #9402 )
...
https://gitlab.freedesktop.org/mesa/mesa/-/issues/850
Currently Mesa RADV does not support a dedicated transfer queue.
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2023-02-26 07:33:27 -07:00
Cody Robibero
49eb04899c
Update MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs
...
Co-authored-by: Shadowghost <Shadowghost@users.noreply.github.com>
2023-02-24 08:53:08 -07:00
Cody Robibero
b3273f0f9a
Simplify audio transcode channel lookup
2023-02-24 08:06:19 -07:00
Bond-009
720852f708
Merge pull request #9356 from Bond-009/tryparse
2023-02-20 11:09:54 +01:00
Bond-009
69379d80a1
Merge pull request #9266 from holow29/increase-transcoding-ac-max
2023-02-20 10:26:41 +01:00
Bond_009
24a7e210c3
Optimize tryparse
...
* Don't check for null before
* Don't try different formats when not needed (NumberFormat.Integer is the fast path)
2023-02-19 16:52:29 +01:00
holow29
724d2986a3
Change transcoderChannelLimit default to 8
...
Change transcoderChannelLimit default to 8 from 6
Switch to querying for encoder and added more cases to transcoderChannelLimit
Refactor GetNumAudioChannelsParam
2023-02-09 17:37:57 -05:00
gnattu
ef4ae9a2dd
Implement hardware filters for videotoolbox, use Apple AAC encoder when available ( #7807 )
2023-02-08 23:42:17 +01:00
James Harvey
4a2245fe1e
Move mp4 container names to class and use StringComparer.OrdinalIgnoreCase
2023-02-04 18:52:35 +00:00
James Harvey
42b4ef4529
Remove frag_keyframe on audio, not video
2023-02-04 03:59:35 +00:00
James Harvey
c9627f8839
Fix Use built-in type alias
2023-02-04 02:46:14 +00:00
James Harvey
83ae6fcdb4
Fix Braces for multi-line statements should not share line
2023-02-04 02:45:24 +00:00
James Harvey
a3f41bbc0c
Remove frag_keyframe as it is not relevant for audio
2023-02-04 02:29:21 +00:00
James Harvey
f2cc0e7069
Fill in issue/PR comment
2023-02-04 02:17:55 +00:00
James Harvey
c70508b089
Add movflags to mp4 audio encoding
2023-02-04 01:56:14 +00:00
James Harvey
29c1f54b57
Fix audio codec not being used in UniversalAudio ( #9192 )
2023-02-02 14:54:05 +01:00
Bond-009
2436233d9f
Merge pull request #9146 from nyanmisaka/fix-pgs-vulkan
2023-01-24 11:26:35 +01:00
nyanmisaka
6d6b9044ab
Backport pull request #9145 from jellyfin/release-10.8.z
...
Fix PGS position issue in sw decoding #8602
Original-merge: fbb9acf58b
Merged-by: Joshua M. Boniface <joshua@boniface.me>
Backported-by: Joshua M. Boniface <joshua@boniface.me>
2023-01-22 14:06:20 -05:00
nyanmisaka
d6f44818e4
Backport pull request #9050 from jellyfin/release-10.8.z
...
Update workaround for i915 hang in linux 5.18 to 6.1.3
Original-merge: 464136cfc9
Merged-by: Bond-009 <bond.009@outlook.com>
Backported-by: Joshua M. Boniface <joshua@boniface.me>
2023-01-22 14:05:00 -05:00
nyanmisaka
c9badabe96
Fix PGS position issue in Vulkan pipeline
...
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2023-01-21 22:41:26 +08:00
Patrick Barron
db1913b08f
Remove DvdLib ( #9068 )
...
* Remove DvdLib
* Update error message for blu-ray folders
Co-authored-by: Shadowghost <Shadowghost@users.noreply.github.com>
* Remove BDInfo
* Remove MediaEncoder.GetPrimaryPlaylistVobFiles
* Remove BlurayDiscInfo
Co-authored-by: Shadowghost <Shadowghost@users.noreply.github.com>
2023-01-20 13:29:45 +01:00
Shadowghost
407c716f82
Add stereo downmix algorithm selection.
2023-01-10 15:29:39 +01:00
Cody Robibero
9a740344be
Add support for .sup subtitle ( #8808 )
...
Fixes https://github.com/jellyfin/jellyfin/issues/8628
2022-12-30 08:24:06 -07:00
Bond_009
52194f56b5
Replace != null with is not null
2022-12-05 15:01:13 +01:00
Bond_009
c7d50d640e
Replace == null with is null
2022-12-05 15:00:20 +01:00
Bond-009
210a4921f2
Fix some warnings and only disable TreatWarningsAsErrors for CodeAnalysis ( #8709 )
2022-12-05 13:54:28 +01:00
Bill Thornton
79f01834c1
Add delay_moov flag for progressive mp4 transcoding
2022-12-01 15:31:59 -05:00
Bond-009
da5913aa30
The -autoscale option was added in FFmpeg 4.4 ( #8813 )
2022-11-30 21:00:39 +01:00
Bond_009
556cc8062d
Investigate some TODO comments
2022-11-27 14:13:31 +01:00
nyanmisaka
a214ca2598
Backport pull request #8620 from jellyfin/release-10.8.z
...
Fix the DG2 HDR TM tearing issue on Windows
Original-merge: 3bdc2bff5f
Merged-by: Claus Vium <cvium@users.noreply.github.com>
Backported-by: Joshua M. Boniface <joshua@boniface.me>
2022-10-28 22:39:01 -04:00
Joshua M. Boniface
74eae1e789
Merge pull request #7708 from nyanmisaka/amd-vaapi-vulkan
2022-10-18 12:13:02 -04:00
nyanmisaka
560d0838c7
Add Vulkan filtering support for AMD VAAPI (Vega/gfx9+)
...
This requires:
- VK_EXT_image_drm_format_modifier extension
- Linux kernel version >= 5.15
- jellyfin-ffmpeg5 >= 5.0.1-2
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2022-10-16 23:08:59 +08:00
Bond_009
a9a5fcde81
Use ArgumentNullException.ThrowIfNull helper method
...
Did a simple search/replace on the whole repo (except the RSSDP project)
This reduces LOC and should improve performance (methods containing a throw statement don't get inlined)
```
if \((\w+) == null\)
\s+\{
\s+throw new ArgumentNullException\((.*)\);
\s+\}
```
```
ArgumentNullException.ThrowIfNull($1);
```
2022-10-06 20:21:23 +02:00
Hannes Braun
4edeccc5e0
Remove redundant using directives
2022-09-28 16:26:03 +02:00
Bill Thornton
e8c12e5078
Backport pull request #8280 from jellyfin/release-10.8.z
...
Fix ffmpeg analyze duration env var taking priority over media source
Original-merge: 632fb05f46
Merged-by: Claus Vium <cvium@users.noreply.github.com>
Backported-by: Joshua M. Boniface <joshua@boniface.me>
2022-09-23 23:09:36 -04:00
nyanmisaka
0309c5622e
Backport pull request #8213 from jellyfin/release-10.8.z
...
Fix high single thread usage in throttler
Original-merge: ba026716c1
Merged-by: Claus Vium <cvium@users.noreply.github.com>
Backported-by: Joshua M. Boniface <joshua@boniface.me>
2022-09-23 23:09:35 -04:00
Bond-009
43ec8e9743
Merge pull request #8144 from joseph39/ffmpeg-referer
2022-09-14 19:49:04 +02:00
luz paz
9ec2870b10
Fix various typos
...
Found via `codespell -q 3 -S ./Emby.Server.Implementations/Localization -L allready,doesnt,inh,receivedfrom,whoknows`
2022-08-15 06:48:34 -04:00
Shadowghost
3e5cf9395f
Backport pull request #8182 from jellyfin/release-10.8.z
...
Extract external subs from container before determining characterset
Original-merge: 1faee43b11
Merged-by: Bond-009 <bond.009@outlook.com>
Backported-by: Joshua Boniface <joshua@boniface.me>
2022-08-13 21:46:33 -04:00
Joshua Boniface
d5ea136dc5
Backport pull request #8174 from jellyfin/release-10.8.z
...
Disable auto inserted SW scaler for HW decoders
Authored-by: nyanmisaka <nst799610810@gmail.com>
Merged-by: Bond-009 <bond.009@outlook.com>
Original-merge: 7297431f23
2022-08-01 14:25:45 -04:00
Joshua Boniface
38f6f589d9
Backport pull request #8127 from jellyfin/release-10.8.z
...
Workaround for linux 5.18+ i915 hang at cost of performance
Authored-by: Nyanmisaka <nst799610810@gmail.com>
Merged-by: Claus Vium <cvium@users.noreply.github.com>
Original-merge: 484427b4aa
2022-08-01 14:25:43 -04:00
Joshua Boniface
3e24b8943d
Backport pull request #8061 from jellyfin/release-10.8.z
...
Fix intel dx11-ocl interop taking too long to initialize on windows
Authored-by: nyanmisaka <nst799610810@gmail.com>
Merged-by: Claus Vium <cvium@users.noreply.github.com>
Original-merge: 9854751137
2022-08-01 14:25:41 -04:00
Joshua Boniface
76f7a80a97
Backport pull request #8152 from jellyfin/release-10.8.z
...
Fix support for rtsp streams over tcp
Authored-by: Bill Thornton <billt2006@gmail.com>
Merged-by: Cody Robibero <cody@robibe.ro>
Original-merge: b2fb96ffed
2022-07-24 12:35:46 -04:00
Joshua Boniface
adc08b5b4c
Backport pull request #8092 from jellyfin/release-10.8.z
...
Change allow higher opus, vorbis transcode bitrates
Authored-by: Andy Walsh <andy.walsh44+github@gmail.com>
Merged-by: Bond-009 <bond.009@outlook.com>
Original-merge: 7ef9e95d75
2022-07-20 19:29:07 -04:00
Joshua Boniface
a9449d0f23
Backport pull request #8078 from jellyfin/release-10.8.z
...
fix copy&paste error for requestedRangeTypes preventing stream copy
Authored-by: Andy Walsh <andy.walsh44+github@gmail.com>
Merged-by: Bond-009 <bond.009@outlook.com>
Original-merge: 47c2c536e4
2022-07-20 19:29:06 -04:00
Joseph
54b3debd27
Add referer parameter to ffmpeg
...
As of https://trac.ffmpeg.org/ticket/2179 , ffmpeg supports referer parameter which injects Referer header to the HTTP request for remote content. Have EncodingHelper pass this in if it's included in RemoteHttpHeaders.
2022-07-18 23:30:27 -07:00
Claus Vium
3e2fbb2685
Merge pull request #8001 from jellyfin/fix-yuvj420p-hwdec
...
Fix yuvj420p pixel format hardware decoding
(cherry picked from commit d342b79218
)
Signed-off-by: Joshua Boniface <joshua@boniface.me>
2022-06-29 01:26:38 -04:00
Joshua M. Boniface
9c97c533ef
Merge pull request #7994 from nyanmisaka/fix-throttler
...
(cherry picked from commit a7d45b5d3a
)
Signed-off-by: Joshua Boniface <joshua@boniface.me>
2022-06-29 01:26:38 -04:00