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

homarus #52

Merged
merged 6 commits into from
Nov 20, 2018
Merged

homarus #52

merged 6 commits into from
Nov 20, 2018

Conversation

Natkeeran
Copy link
Contributor

@Natkeeran Natkeeran commented Nov 2, 2018

GitHub Issue: (link)
Islandora/documentation#929

What does this Pull Request do?

This PR along with related PRs adds a php micro service that creates video derivatives using ffmpeg.

How should this be tested?

This PR needs to be tested with other related PRs.

Interested parties

Tag (@ mention) interested parties or, if unsure, @Islandora-CLAW/committers

@codecov
Copy link

codecov bot commented Nov 2, 2018

Codecov Report

Merging #52 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master      #52   +/-   ##
=========================================
  Coverage     65.32%   65.32%           
  Complexity       86       86           
=========================================
  Files             5        5           
  Lines           421      421           
=========================================
  Hits            275      275           
  Misses          146      146

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a711341...58cac90. Read the comment docs.

config.yaml will be created by ansible
Homarus/composer.json Outdated Show resolved Hide resolved
Copy link
Contributor

@dannylamb dannylamb left a comment

Choose a reason for hiding this comment

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

I ran into a few hiccups deploying, but otherwise totally works. Converted an mp4 to an avi no prob, using both Fedora and Drupal uris for videos in the Apix-Ldp-Resource header.

Needs tests, which is making composer check fail. If you spoof it by making an empty tests directory, you get a bunch of phpcs errors that phpcbf could make short work of.

Let's make a separate ticket for tests and just make sure they get done before release. If you can address the coding standards and other issues, I'm happy to pull this in.

Homarus/README.md Outdated Show resolved Hide resolved
Homarus/cfg/config.example.yaml Show resolved Hide resolved
Homarus/static/identify.ttl Outdated Show resolved Hide resolved
Homarus/src/app.php Show resolved Hide resolved
Homarus/src/Controller/HomarusController.php Show resolved Hide resolved

## Installation
- Install `ffmpeg`. On Ubuntu, this can be done with `sudo apt-get install ffmpeg`.
- Copy `/var/www/html/Crayfish/Homarus/cfg/config.default.yml` to `/var/www/html/Crayfish/Homarus/cfg/config.yml`
Copy link
Contributor

Choose a reason for hiding this comment

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

Shuffle these two copy commands under cloning the repository so the files will exist.


## Configuration

If your homarus installation is not on your path, then you can configure Homarus to use a specific executable by editing `executable` entry in [config.yaml](./cfg/config.example.yaml).
Copy link
Contributor

Choose a reason for hiding this comment

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

s/homarus/ffmpeg

Copy link
Member

Choose a reason for hiding this comment

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

I read that as you can use something other than ffmpeg to do your conversion?

Copy link
Contributor

Choose a reason for hiding this comment

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

s/homarus/executable ?

@dannylamb dannylamb merged commit edf356e into Islandora:master Nov 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants