Skip to content

Provide support for user defined thumbnails for .mp4 movies - #24975

Merged
VicDeo merged 3 commits into
owncloud:masterfrom
yellowspace:master
Mar 23, 2017
Merged

VicDeo merged 3 commits into
owncloud:masterfrom
yellowspace:master

Conversation

@lopezio

@lopezio lopezio commented Jun 3, 2016 •

Copy link
Copy Markdown
Contributor

This change provides support for cover art embedded into .mp4 moov atoms (a standard used by some authoring software and tools), to be used as the thumbnail art for the videos

The implementation requires AtomicParsley (available on all major platforms, including Windows) to read them out. Appropriate checks are made to ensure that if AtomicParsley is not installed, the code falls back gracefully to the current implementation.

References:

This change has been contributed by a customer request. We hope you find it useful, complying with your guidelines and QA, and can integrate into upstream code, so that updates will be easier.

@ghost

ghost commented Jun 3, 2016

Copy link
Copy Markdown

User of the commit 2040bdc is unknown - cannot determine CLA

@DeepDiver1975

Copy link
Copy Markdown
Contributor

User of the commit 2040bdc is unknown - cannot determine CLA

@lopezio thanks a lot for your pull request - can I ask you to configure your github so that the email address in the commit matches the emails used in your github account? Thanks a lot!

Further more: right after that the bot will ask you for granting either MIT license for this patch or sign our contributors agreement.

THX

@DeepDiver1975 DeepDiver1975 added this to the 9.1-current milestone Jun 3, 2016
@lopezio

lopezio commented Jun 4, 2016 •

Copy link
Copy Markdown
Contributor Author

@DeepDiver1975: Thanx for your review. I added the email address to my profile. MIT License is perfectly ok for the patch.

@PVince81

PVince81 commented Jun 6, 2016

Copy link
Copy Markdown
Contributor

@DeepDiver1975 if I understand well this is more an enhancement than a bugfix. As we're past feature freeze we should probably wait for 9.2 to merge this ?

@lopezio

lopezio commented Jun 6, 2016

Copy link
Copy Markdown
Contributor Author

@PVince81 Of course it's up to you (the QA here is excellent, so I won't complain) - but I hope it makes it into 9.1. I did patch some Scrutinizer warnings, so it's also a fix... ;-)

@PVince81

PVince81 commented Jun 6, 2016

Copy link
Copy Markdown
Contributor

@lopezio we do appreciate your contribution 😄
It's more a matter of principle. If we accept too many new features post freeze, then it will be difficult to work on stabilizing it and the risk of regressions becomes higher. Also if people see we accepted feature X as an exception then they might ask "why not also feature Y, Z" and then it can go down from there. So it's best to make a good cut 😄

@PVince81 PVince81 modified the milestones: 9.2-next, 9.1-current Jun 9, 2016
Comment thread lib/private/Preview/Movie.php Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@lopezio please put else to the line with closing brace

@VicDeo

VicDeo commented Jul 5, 2016

Copy link
Copy Markdown
Contributor

Looks good apart of several minor style issues

@PVince81

Copy link
Copy Markdown
Contributor

@lopezio any update ?

@lopezio

lopezio commented Jan 17, 2017

Copy link
Copy Markdown
Contributor Author

Hi guys, sorry for the long time off this topic. I'll try to catch up with the master branch, and see if I can solve the remaining issues ASAP! Best, Lorenzo

@CLAassistant

CLAassistant commented Jan 17, 2017 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@lopezio

lopezio commented Mar 7, 2017

Copy link
Copy Markdown
Contributor Author

@PVince81 Hi, I know it's been a while here, any clues on what happened with my last commit exactly and why it's failing..? Seemingly, you removed my name in an upstream change, and that caused a conflict with this patch. I re-added mine on the top of lib/private/PreviewManager.php (leaving, of course, yours) and committed. If I screw something up pls. give me a pointer on how to unscrew. Would be super cool if this small feature could be added upstream, finally.. (my fault being the long wait after the commits last summer). Best, lopezio

@VicDeo

VicDeo commented Mar 9, 2017

Copy link
Copy Markdown
Contributor

@lopezio mysql went down on CI server while testing.
it looks unrelated to your changes, please rebase on current master to restart the build.

@lopezio

lopezio commented Mar 10, 2017

Copy link
Copy Markdown
Contributor Author

@VicDeo done - hope this run gets through... :) Best, lopezio

@lopezio

lopezio commented Mar 14, 2017

Copy link
Copy Markdown
Contributor Author

@VicDeo I guess the error reported was again due to something not working @ CI server (pgsql ?). I hope you can finally merge this pr before the next incompatibilities with the master branch come up...

@VicDeo

VicDeo commented Mar 14, 2017

Copy link
Copy Markdown
Contributor

@lopezio I have not enough power to merge with failing build.
This failure is related to test environment and fixed in master recently. Would you mind rebasing once again?

@PVince81

Copy link
Copy Markdown
Contributor

Looks like Travis is unavailable currently 😦

lopezio added 3 commits March 21, 2017 12:54
…oms (a standard used by some authoring software and tools), to be used as the thumbnail art for the videos

The implementation requires AtomicParsley (available on all major platforms, including Windows) to read them out. Appropriate checks are made to ensure that if AtomicParsley is not installed, the code falls back gracefully to the current implementation.

References:
- AtomicParsley: http://atomicparsley.sourceforge.net/
- Article about the MPEG-4 movie atom:
   https://www.adobe.com/devnet/video/articles/mp4_movie_atom.html
- Implementation of a script to set the cover artwork with ffmpeg and AtomicParsley:
   https://gist.github.com/lopezio/6b7ef121c15ab69f494fb024bf0dd58f
@lopezio

lopezio commented Mar 21, 2017

Copy link
Copy Markdown
Contributor Author

@PVince81 , @VicDeo : Hey guys - it looks like all checks passed, finally ... :)

@PVince81
PVince81 requested a review from VicDeo March 22, 2017 09:56
@VicDeo

VicDeo commented Mar 23, 2017

Copy link
Copy Markdown
Contributor

Well, as soon as all my previous notices are addressed, this is ready to get in

@VicDeo

VicDeo commented Mar 23, 2017

Copy link
Copy Markdown
Contributor

👍

@VicDeo
VicDeo merged commit 2b35d27 into owncloud:master Mar 23, 2017
@lock

lock Bot commented Aug 3, 2019

Copy link
Copy Markdown

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock Bot locked as resolved and limited conversation to collaborators Aug 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants