Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(server): easy RKMPP video encoding #7460

Merged
merged 2 commits into from Feb 27, 2024

Conversation

fyfrey
Copy link
Contributor

@fyfrey fyfrey commented Feb 27, 2024

uses the RKMPP encoder built into the recent jellyfin-ffmpeg release.
This simplifies both the code and especially usage (no need to mount binaries into the container)!

Downsides: Slower transcoding due to software decoding and scaling. Previously, hardware decoding and scaling was used. We might be able to re-enable hardware decoding in the future (follow-up PR).

Copy link

cloudflare-pages bot commented Feb 27, 2024

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: bb214a2
Status: ✅  Deploy successful!
Preview URL: https://229481bf.immich.pages.dev
Branch Preview URL: https://refactor-easy-rkmpp-video-tr.immich.pages.dev

View logs

Copy link
Contributor

@mertalev mertalev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks really good!

@@ -38,12 +38,6 @@ services:
- /dev/dri:/dev/dri
- /dev/dma_heap:/dev/dma_heap
- /dev/mpp_service:/dev/mpp_service
volumes:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this considered a breaking change? What happens if the user doesn't change this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's not a breaking change.

if the user keeps an old version of this file that includes the mounts, these files are still mounted into the container but unused. no issue.

@alextran1502 alextran1502 merged commit 5e485e3 into main Feb 27, 2024
26 checks passed
@alextran1502 alextran1502 deleted the refactor/easy-rkmpp-video-transcode branch February 27, 2024 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants