Skip to content

Conversation

@invario
Copy link
Contributor

@invario invario commented Mar 25, 2025

Summary

Picking up where I left off in #51356 where I made a mess of things. Starting over with a clean slate, huge apologies to everyone for the mess in the last PR and thank you for your patience.

Previews currently generated for HDR videos result in desaturated/washed out images because of lack of tonemapping. This enhancement detects HDR videos and adds additional switches to the ffmpeg command to generate much improved images.

@invario invario requested a review from a team as a code owner March 25, 2025 23:44
@invario invario requested review from Altahrim, artonge and come-nc and removed request for a team March 25, 2025 23:44
@invario
Copy link
Contributor Author

invario commented Mar 25, 2025

@icewind1991 Created a new PR, sorry for the trouble!.

Copy link
Contributor Author

@invario invario left a comment

Choose a reason for hiding this comment

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

Can anyone advise if I need to do anything further here or just be patient? Thank you.

Copy link
Contributor

@artonge artonge left a comment

Choose a reason for hiding this comment

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

Can you also squash your commit and respect the conventional commit spec in the message? Something like "feat(previews): Use proper colorspace for HDR movies"

And maybe extract part of the logic in methods to make it obvious what they do.

@invario
Copy link
Contributor Author

invario commented Apr 2, 2025

Can you also squash your commit and respect the conventional commit spec in the message? Something like "feat(previews): Use proper colorspace for HDR movies"

And maybe extract part of the logic in methods to make it obvious what they do.

Okay, I will attempt to do that; this is quite the learning process for me, so I appreciate all the feedback/direction, thanks!

@invario invario requested a review from a team as a code owner April 3, 2025 04:28
@invario invario requested review from artonge, nfebe and skjnldsv and removed request for a team April 3, 2025 04:28
Copy link
Contributor

@artonge artonge left a comment

Choose a reason for hiding this comment

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

Much easier to read! thanks @invario ❤️

Copy link
Contributor

@come-nc come-nc left a comment

Choose a reason for hiding this comment

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

A few improvements suggestions.
I did not test the PR.

@invario
Copy link
Contributor Author

invario commented Apr 3, 2025

A few improvements suggestions. I did not test the PR.

Thank you, incorporated everything suggested!

Co-authored-by: Côme Chilliet <[email protected]>
Signed-off-by: invario <[email protected]>
@come-nc come-nc added this to the Nextcloud 32 milestone Apr 7, 2025
@come-nc come-nc added enhancement 4. to release Ready to be released and/or waiting for tests to finish feature: previews and thumbnails labels Apr 7, 2025
@sorbaugh sorbaugh merged commit b94ea69 into nextcloud:master Apr 7, 2025
177 of 180 checks passed
@welcome
Copy link

welcome bot commented Apr 7, 2025

Thanks for your first pull request and welcome to the community! Feel free to keep them coming! If you are looking for issues to tackle then have a look at this selection: https://github.com/nextcloud/server/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22

@come-nc
Copy link
Contributor

come-nc commented Apr 7, 2025

A few improvements suggestions. I did not test the PR.

Thank you, incorporated everything suggested!

Thank you for your contribution!

If you wish, I can invite you to have a guest account on the developper channel.
Just tell me and I will send the invite to the email you signed off the first commit with.

@invario
Copy link
Contributor Author

invario commented Apr 7, 2025

Yes, please. Thank you!

@github-actions
Copy link
Contributor

github-actions bot commented Apr 9, 2025

Hello there,
Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.

We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process.

Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6

Thank you for contributing to Nextcloud and we hope to hear from you soon!

(If you believe you should not receive this message, you can add yourself to the blocklist.)

invario added a commit to invario/server that referenced this pull request Apr 26, 2025
PR nextcloud#51712 added new preview_ffprobe_path parameter. This PR updates config.sample.php to document this new optional parameter and the fallback behavior if the option is not set.

Signed-off-by: invario <[email protected]>
SebastianKrupinski pushed a commit that referenced this pull request May 8, 2025
PR #51712 added new preview_ffprobe_path parameter. This PR updates config.sample.php to document this new optional parameter and the fallback behavior if the option is not set.

Signed-off-by: invario <[email protected]>
@invario invario changed the title Enhancement: Better previews for HDR video (attempt #2) Enhancement: Better previews for HDR video May 20, 2025
AIlkiv pushed a commit to AIlkiv/server that referenced this pull request Jul 10, 2025
PR nextcloud#51712 added new preview_ffprobe_path parameter. This PR updates config.sample.php to document this new optional parameter and the fallback behavior if the option is not set.

Signed-off-by: invario <[email protected]>
@nextcloud-bot nextcloud-bot mentioned this pull request Aug 19, 2025
@skjnldsv skjnldsv modified the milestones: Nextcloud 32, Nextcloud 33 Sep 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants