[PR #4501] [MERGED] Don't scale extracted images and ffmpeg improvements #10112

Closed
opened 2026-02-07 06:14:21 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/4501
Author: @ferferga
Created: 11/17/2020
Status: Merged
Merged: 11/20/2020
Merged by: @cvium

Base: masterHead: no-scaling


📝 Commits (6)

  • a6ad36b Don't scale images extracted by ffmpeg
  • d7cdaee Use all system cores when threads are set to auto or bigger than the amount of system's cores
  • 94cae4f Specify threads to ffmpeg properly
  • 38c3b6f Fix build and thread detection logic
  • 2deda04 Review suggestions
  • e21e00c Merge remote-tracking branch 'upstream/master' into no-scaling

📊 Changes

6 files changed (+40 additions, -26 deletions)

View changed files

📝 Emby.Server.Implementations/LiveTv/EmbyTV/EmbyTV.cs (+1 -1)
📝 Emby.Server.Implementations/LiveTv/EmbyTV/EncodedRecorder.cs (+10 -3)
📝 Jellyfin.Api/Controllers/DynamicHlsController.cs (+1 -1)
📝 Jellyfin.Api/Controllers/VideoHlsController.cs (+1 -1)
📝 MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs (+9 -4)
📝 MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs (+18 -16)

📄 Description

Changes

  • Don't scale images that are extracted from media files. Further processing (like cropping) for removing black borders from images taken from videos are left intact.
  • Make ffmpeg use threads properly.

Issues
Fixes #2345


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jellyfin/jellyfin/pull/4501 **Author:** [@ferferga](https://github.com/ferferga) **Created:** 11/17/2020 **Status:** ✅ Merged **Merged:** 11/20/2020 **Merged by:** [@cvium](https://github.com/cvium) **Base:** `master` ← **Head:** `no-scaling` --- ### 📝 Commits (6) - [`a6ad36b`](https://github.com/jellyfin/jellyfin/commit/a6ad36b57a78984d4a76fac2f760524a7692511b) Don't scale images extracted by ffmpeg - [`d7cdaee`](https://github.com/jellyfin/jellyfin/commit/d7cdaeea7dfc7dd556765a0fb224d8428bc38c0b) Use all system cores when threads are set to auto or bigger than the amount of system's cores - [`94cae4f`](https://github.com/jellyfin/jellyfin/commit/94cae4f1455995a0a35df8d1b7c64760387e5b64) Specify threads to ffmpeg properly - [`38c3b6f`](https://github.com/jellyfin/jellyfin/commit/38c3b6fcd37d71d09c6afe26ad26c762850f9971) Fix build and thread detection logic - [`2deda04`](https://github.com/jellyfin/jellyfin/commit/2deda0437d32016a0c73158840c9c04bc729b261) Review suggestions - [`e21e00c`](https://github.com/jellyfin/jellyfin/commit/e21e00cad514159e22ddf99f26a4f8c13e16cc52) Merge remote-tracking branch 'upstream/master' into no-scaling ### 📊 Changes **6 files changed** (+40 additions, -26 deletions) <details> <summary>View changed files</summary> 📝 `Emby.Server.Implementations/LiveTv/EmbyTV/EmbyTV.cs` (+1 -1) 📝 `Emby.Server.Implementations/LiveTv/EmbyTV/EncodedRecorder.cs` (+10 -3) 📝 `Jellyfin.Api/Controllers/DynamicHlsController.cs` (+1 -1) 📝 `Jellyfin.Api/Controllers/VideoHlsController.cs` (+1 -1) 📝 `MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs` (+9 -4) 📝 `MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs` (+18 -16) </details> ### 📄 Description **Changes** * Don't scale images that are extracted from media files. Further processing (like cropping) for removing black borders from images taken from videos are left intact. * Make ffmpeg use threads properly. **Issues** Fixes #2345 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-07 06:14:21 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#10112