-
Notifications
You must be signed in to change notification settings - Fork 28
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
Allow homarus to use faststart for video conversion #162
Allow homarus to use faststart for video conversion #162
Conversation
6754f48
to
ec118e4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some comments on the PR, in general as well the existing set of tests are failing due to the changes here.
During the tech call there was agreement in principal to continue with this approach. |
Does this need a separate PR to port this over to 3.x? |
I think the plan is to move all the ffmpeg arguments to the islandora context like the other microservices. Just need to figure out an nice way to get them into people's context configs |
…in-homarus Update HomarusController and surrounding tests
Codecov ReportBase: 76.60% // Head: 73.05% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## 2.x #162 +/- ##
============================================
- Coverage 76.60% 73.05% -3.55%
+ Complexity 161 150 -11
============================================
Files 6 5 -1
Lines 654 605 -49
============================================
- Hits 501 442 -59
- Misses 153 163 +10
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Ran tests against this PR using a large video file and it appears to perform as advertised, video file could be run immediately upon loading content display page. |
Discussion from the Tech Call: |
I cribbed from this PR and have it over here in our fork of 3.x. There is |
GitHub Issue: (link)
Islandora/documentation#2162
https://stackoverflow.com/questions/64661989/chrome-video-tag-cant-play-fragmented-mp4-stream
https://gitlab.com/Shinobi-Systems/Shinobi/-/issues/237
https://gitlab.com/Shinobi-Systems/Shinobi/-/issues/66
What does this Pull Request do?
Replaces the moveflags frag_keyframe+empty_moov with faststart
A brief description of what the intended result of the PR will be and/or what problem it solves.
It allows videos to be played instantly on all browsers. On chrome large fragmented videos take too long to play.
What's new?
How should this be tested?
Additional Notes:
Open to suggestions about alternate solutions but I've searched everywhere and couldn't find anything else that works.
Interested parties
@Islandora/committers @Islandora/8-x-committers @adam-vessey @lutaylor @willtp87 @jordandukart