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

Config for change Video Transcoding coder #4227

Open
lyj0309 opened this issue May 1, 2024 · 1 comment
Open

Config for change Video Transcoding coder #4227

lyj0309 opened this issue May 1, 2024 · 1 comment
Labels
idea Feedback wanted / feature request

Comments

@lyj0309
Copy link

lyj0309 commented May 1, 2024

Describe the problem this solves and why this would be valuable to many users:

PhotoPrism only supports the H.264 video codec, which limits users who want to upload and manage videos encoded with more modern standards such as H.265/HEVC. The H.265 codec offers significantly reduced file sizes at the same quality level compared to H.264, which is especially beneficial for users looking to optimize storage use and handle high-resolution video content. Supporting a broader range of video codecs would make PhotoPrism more flexible and useful for a wider audience, enhancing its appeal as a comprehensive photo and video management tool.

Describe the solution you'd like:
I propose adding a configuration option in PhotoPrism that allows users to select their preferred video encoding format. This feature could be implemented in the settings menu, where users can choose from supported codecs like H.264, H.265, and possibly others in the future. This would provide greater control over media management and help optimize storage, especially for users dealing with large video libraries.

Describe alternatives you've considered:
Use a lower bit rate, but with worse picture quality.

Additional context:
https://caniuse.com/?search=hevc

@lyj0309 lyj0309 added the idea Feedback wanted / feature request label May 1, 2024
@lyj0309 lyj0309 changed the title Config for change video Codecs Config for change Video Transcoding coder May 1, 2024
@lastzero
Copy link
Member

lastzero commented May 1, 2024

Note that while Chrome generally supports HEVC, this depends on the runtime environment. On Linux, for example, it doesn't work when I use the Nvidia drivers that come with Ubuntu / Mint. So it's not suitable as default codec for all browsers / users yet. I also expect HEVC to be more computationally expensive than AVC, so transcoding would likely require hardware encoding support on your server or NAS device.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
idea Feedback wanted / feature request
Projects
None yet
Development

No branches or pull requests

2 participants