Commit graph

3903 commits

Author SHA1 Message Date
cvium 3491f0968b feat: partially handle SVG files and remove exceptions from blurhash and dimensions 2022-06-16 12:22:46 +02:00
nyanmisaka c7c0cdad95 Fix the map index of externel audio 2022-06-15 23:39:27 +08:00
nyanmisaka 255f5a6707 Fix the int overflow issue in encoder bufsize 2022-06-15 23:27:49 +08:00
Bond-009 1a787e273a
Merge pull request #7873 from cvium/fix_nfo_remoteimages 2022-06-14 19:11:37 +02:00
Cody Robibero 2888080098
Merge pull request #7924 from jellyfin/improve-swdec-amf-tonemap 2022-06-14 08:18:22 -06:00
Nyanmisaka c8282e8441
Apply suggestions from code review
Co-authored-by: Bond-009 <bond.009@outlook.com>
2022-06-14 17:41:16 +08:00
nyanmisaka 83d8dbf93e Remove MPEG4 hwaccel from AMF 2022-06-14 02:21:00 +08:00
Nyanmisaka e5aa708cb9
Improve AMF tonemap speed when using sw decoding
Reduce memory copy-back, also set the target device of hwupload explicitly.
2022-06-14 00:48:16 +08:00
cvium 5204863705 fix: respect the image refresh options when parsing remote images from NFO 2022-06-11 15:08:07 +02:00
nyanmisaka 1900096012 Fix the too high default qmin option in amf encoders 2022-06-06 21:46:36 +08:00
nyanmisaka 0e8da3e805 Remove the redundant -sc_threshold from hw encoders 2022-06-06 21:46:36 +08:00
nyanmisaka be28f940b7 Fix the issue that analyzeduration env is not applied 2022-06-06 21:46:36 +08:00
nyanmisaka fb95fb1a73 Update DoVi 10bit codec tags and remove extra -strict options 2022-06-06 21:46:36 +08:00
nyanmisaka 910995f922 Fix Dolby Vision profile 5 and 8 to SDR HW tone-mapping 2022-06-06 21:46:36 +08:00
Luke Brown 3e8fe1ce11 change placeholder text in LogDebug message 2022-05-31 21:49:01 -05:00
Cody Robibero bf0a7c374c Close live stream on session end 2022-05-27 15:58:31 -06:00
Luke Brown 044ff0542b adding interface changes 2022-05-19 16:40:48 -05:00
Luke Brown 8d0024ec49 change logging back to debug 2022-05-16 22:35:45 -05:00
Luke Brown a64eebe79f changes to use dispose 2022-05-16 22:09:41 -05:00
nyanmisaka 368d10d042 Fix the mismatched resolution in sw PGS burn-in 2022-05-11 19:18:31 +08:00
luke92brown 99df9c8fcd Replace redundant xml comments with inheritdoc. Make async changes to CloseSocket. 2022-05-09 23:44:37 -05:00
luke brown 4b563f4d7e Fix web sockets closing ungracefully 2022-05-09 23:44:24 -05:00
Shadowghost 029be321d1 Respect limited opus sampling rates when building trancoding command 2022-05-08 22:28:45 +02:00
Bond-009 8d1d973438
Merge pull request #7604 from Jellifi007/fixes-diactritics
Co-authored-by: Cody Robibero <cody@robibe.ro>
2022-05-05 19:59:17 +02:00
Shadowghost a4e4b761d5 Apply review suggestions 2022-05-04 16:13:06 +02:00
Shadowghost 128d54622a Fix stream index and subtitle container handling, preserve attachments and nonexternal streams between scans 2022-05-03 11:10:58 +02:00
Shadowghost 21ce0e58c6 Properly handle stream addition and removal for strm use cases 2022-05-03 11:10:58 +02:00
Nyanmisaka 4a1aa619d2
Fix H264 level on safari fmp4 2022-04-22 17:36:36 +08:00
Jellifi007 56573f14b0 Fixes diactritics regressions 2022-04-15 20:14:13 +02:00
Nyanmisaka 884ba4f3ed Fix the wrong external audio map index if text subtitle exists 2022-04-10 22:49:40 +08:00
Nyanmisaka e0b035e34e
Apply suggestions from code review
Co-authored-by: Shadowghost <Shadowghost@users.noreply.github.com>
2022-04-05 00:02:13 +08:00
Nyanmisaka 1946414e14 Fix PGS burn-in on certain iGPU such as Iris Plus 655 2022-04-04 23:48:12 +08:00
Niels van Velzen e2ffd41141 Add new priority level to ResolverPriority for plugins 2022-03-29 20:00:50 +02:00
Cody Robibero 96a03776e1 Fix TranscodeReasons property name 2022-03-26 12:20:29 -06:00
Cody Robibero 4fa7f49ffc
Merge pull request #7202 from knackebrot/unix-perms 2022-03-26 07:24:06 -06:00
Joshua M. Boniface c229f3ae0a
Merge pull request #7333 from eyezak/hls/audio-bitstream-fmp4 2022-03-25 10:13:58 -04:00
Nyanmisaka 3cea6c61f3
Apply suggestions from code review 2022-03-25 22:12:56 +08:00
Joshua M. Boniface 97d3212410
Merge pull request #7437 from Nalsai/mks-attachments 2022-03-23 20:19:32 -04:00
Joshua M. Boniface 570660099b
Merge pull request #7483 from jellyfin/swdec-cu-tonemap 2022-03-23 15:25:39 -04:00
Nils Fürniß 90463d5e4f
Pass CancellationToken to ExtractAllAttachments 2022-03-22 19:17:48 +01:00
Nils Fürniß 6904edf68c
add extracting attachments from external subs 2022-03-22 19:17:48 +01:00
Nyanmisaka fb8ae0e9a1
Improve fps for cuda tonemap in sw decoding
avoid second copy if subtitle is not applied.
2022-03-22 00:45:07 +08:00
dependabot[bot] dde984bd0e
Bump StyleCop.Analyzers from 1.2.0-beta.376 to 1.2.0-beta.406
Bumps [StyleCop.Analyzers](https://github.com/DotNetAnalyzers/StyleCopAnalyzers) from 1.2.0-beta.376 to 1.2.0-beta.406.
- [Release notes](https://github.com/DotNetAnalyzers/StyleCopAnalyzers/releases)
- [Commits](https://github.com/DotNetAnalyzers/StyleCopAnalyzers/compare/1.2.0-beta.376...1.2.0-beta.406)

---
updated-dependencies:
- dependency-name: StyleCop.Analyzers
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-21 12:22:11 +00:00
Cody Robibero ba11add83b
Merge pull request #7445 from Bond-009/baseitem 2022-03-20 08:01:31 -06:00
Cody Robibero e6df698df1
Merge pull request #7325 from eyezak/issue/6450 2022-03-12 09:08:25 -07:00
Bond_009 7fdc0e3c3d BaseItem: remove unused function 2022-03-11 16:21:32 +01:00
Claus Vium 53209830e7
Merge pull request #7346 from Bond-009/guid
Optimize Guid comparisons
2022-03-11 08:15:12 +01:00
nyanmisaka b2c58338f2 Fix the fMP4 HLS audio sync issue on Safari 2022-03-09 21:28:58 +08:00
Nyanmisaka 4f1efb3996
Re-enable the legacy NVIDIA CUVID decoder in full HWA pipeline (#7413) 2022-03-08 16:36:30 +01:00
Cody Robibero bbd5d11d3b Remove TranscodeReason.None, Add JsonFlagEnum tests 2022-03-06 18:13:54 -07:00
Cody Robibero c331e11c24 Clean up EnumFlags serialization 2022-03-06 18:13:54 -07:00
Isaac Gordezky 5e779f20ee Series: issue-6450
Issue: https://github.com/jellyfin/jellyfin/issues/6450

Enable DirectPlay responses
Rewrite DirectPlay and DirectStream resolution
Prefer copy transcode video codec options
Enhance condition processor
Support DirectStream and Transcode with parity
Rework audio stream selection and add tests for ExternalAudio
Update MediaInfoHelper to only call StreamBuilder once
2022-03-06 18:13:54 -07:00
Isaac Gordezky d871dded9f Convert TranscodeReason to Flags 2022-03-06 18:13:54 -07:00
Joshua M. Boniface 947ff9defe
Merge pull request #7404 from nyanmisaka/omx 2022-03-05 14:35:41 -05:00
nyanmisaka bfc27e494b Remove the deprecated OMX and MMAL HWA 2022-03-05 21:47:59 +08:00
nyanmisaka de4a084b03 Set the name of intel vaapi driver explicitly
Fix crashes on older intel gfx when both iHD and i965 driver are existed.
2022-03-05 01:32:06 +08:00
Claus Vium 136eab9b1e
Merge pull request #7370 from crobibero/internal-metadata-path
Only add internal files if the internal metadata path exists
2022-03-04 08:13:58 +01:00
Claus Vium 6498a5baca
Merge pull request #7387 from jellyfin/nvdec-threads 2022-03-01 16:53:23 +01:00
Cody Robibero 71a9ae3150
Update MediaBrowser.Controller/Providers/DirectoryService.cs
Co-authored-by: Joe Rogers <1337joe@users.noreply.github.com>
2022-03-01 08:30:26 -07:00
Nyanmisaka 4239f80c81
Lowering the VRAM usage on NVDEC decoder 2022-03-01 23:14:35 +08:00
Nyanmisaka ba8e478a2f
Fix the path to the extracted fonts on Windows 2022-03-01 22:41:54 +08:00
Bond-009 eff3d3e67e
Merge pull request #7275 from Nalsai/burn-subtitle-attached-fonts 2022-03-01 11:21:19 +01:00
Bond-009 ef99a53abb
Merge pull request #7366 from 1337joe/filter-theme-song-and-video 2022-03-01 11:12:32 +01:00
Joshua M. Boniface 7c9aa63382
Merge pull request #6058 from ferferga/deprecate-queueitem 2022-02-28 23:54:50 -05:00
Cody Robibero 3c0c7572ef
Merge pull request #7338 from mueslimak3r/hls-remove-seek-param 2022-02-28 20:16:19 -07:00
Cody Robibero fc5c6c0404 Use IFileSystem 2022-02-28 17:14:33 -07:00
Cody Robibero 40e413d575 Only add internal files if the internal metadata path exists
Signed-off-by: Cody Robibero <cody@robibe.ro>
2022-02-28 08:22:52 -07:00
Nyanmisaka 9251c875b1
Update presets for NVENC encoder 2022-02-28 23:05:08 +08:00
Joe Rogers 354f22d065
Add post filtering for theme song and video 2022-02-27 23:38:00 +01:00
Cody Robibero d7cbb25d0b
Merge pull request #7291 from aolszowka/aolszowka-EncodingHelperChanges 2022-02-26 10:52:35 -07:00
Joe Rogers 15053516f8
Rewrite tests for coverage and less duplication
Address minor warnings
Revert making GetInternalMetadataPath mockable
2022-02-21 22:25:58 +01:00
Bond_009 f50a250cd9 Optimize Guid comparisons
* Use Guid.Equals(Guid) instead of the == override
* Ban the usage of Guid.Equals(Object) to prevent accidental boxing
* Compare to default(Guid) instead of Guid.Empty
2022-02-21 14:15:09 +01:00
Isaac Gordezky def8500dd0
Update MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2022-02-21 07:54:13 -05:00
cameron 36cdeaa53c dont use noaccurate_seek for hls 2022-02-18 23:18:28 -08:00
Shadowghost 719b707281 feat(external-media): refactor to generic provider, extend tests and file recognition, consolidate and extend NamingOptions 2022-02-18 22:19:33 +01:00
Isaac Gordezky 151ddd400d [Bugfix] Provile bitStreamArgs for HLS fMP4
Enable the audio bitstream arguments to ffmpeg for both ts and fMP4 HLS streaming
2022-02-18 13:18:08 +00:00
Bond_009 adad13b865 Remove some dead code 2022-02-17 08:15:26 +01:00
Cody Robibero 7ccf7e6157
Merge pull request #7322 from Bond-009/db2 2022-02-16 20:47:33 -07:00
Bond_009 23ea14aa27 Clean up SqliteItemRepository
* remove dead code
* reduce allocations
2022-02-15 22:27:38 +01:00
Bond_009 5732e6188c Fix some warnings 2022-02-15 18:59:46 +01:00
Cody Robibero 4ef0099598
Merge pull request #7233 from Bond-009/warn60 2022-02-14 16:57:00 -07:00
Bond_009 1c14c86b20 Fix some warnings 2022-02-14 14:46:04 +01:00
Bond_009 3cb49d6df0 Fix option to disable server discovery 2022-02-14 14:39:33 +01:00
knackebrot 52c61bd06f Add option to change unix socket permissions
There is probably no way to do it when creating the socket
2022-02-10 02:07:12 +01:00
Nils Fürniß ab40554759
add extracting attachments for ffmpeg to burn subs 2022-02-10 01:01:08 +01:00
Ace Olszowka ea7e5e639d Fix h264_v4l2m2m acceleration in Raspberry Pi 4 2022-02-07 20:41:07 -07:00
Cody Robibero b6489e73ab
Merge pull request #7241 from Bond-009/async5 2022-02-06 15:25:48 -07:00
Cody Robibero e5701c396a
Merge pull request #6436 from daullmer/splashscreen 2022-01-28 08:12:21 -07:00
Claus Vium 488ce51032
Remove some allocations (#7246) 2022-01-28 12:21:40 +01:00
Bond_009 e7be01d7a5 Flush to disk async where possible 2022-01-22 23:36:42 +01:00
Bond_009 2dcb2f8a9f Ban the usage of Task.Result
If the calling function can't be made async easily you can still use
.GetAwaiter().GetResult(), which is way easier to find in the future
2022-01-22 16:48:31 +01:00
Bond-009 cd675475bc
Merge pull request #7225 from crobibero/query-result 2022-01-21 19:50:08 +01:00
Cody Robibero 34ee6d82fb
Merge pull request #6600 from cvium/keyframe_extraction_v1 2022-01-20 08:54:40 -07:00
Cody Robibero a60cb280a3 Properly populate QueryResult 2022-01-20 08:53:06 -07:00
Bond-009 ef0708d876
Merge pull request #7078 from 1337joe/metadata-merge-data 2022-01-16 23:17:40 +01:00
Dmitry Lyzo f28384ba30 Ignore JSON serialization for special features of movie.
When refreshing the metadata of the video with a local trailer, the server gets
stuck trying to read the database and save the item at the same time.
2022-01-14 22:15:14 +03:00
Cody Robibero ee46754238 Fix build and clean up 2022-01-14 08:14:31 -07:00
Fernando Fernández 5df6058a8e Add FullNowPlayingQueue property 2022-01-14 14:40:27 +00:00
Joe Rogers 62dc4a79ff
Fix comment typo
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2022-01-13 23:21:02 +01:00
Cody Robibero a0f248e200
Merge pull request #7134 from adavier/trakt-episode-links 2022-01-11 16:11:25 -07:00