Documentation: Add audio service

Created on 21 May 2017  路  8Comments  路  Source: Islandora/documentation

Add a simple image manipulation web service that executes lame on any audio file that gets POSTed to it. It should respect a header such as X-Islandora-Imagemagick-Args so you can pass in command line arguments.

It should be built on the same model as hypercube.

Crayfish

Most helpful comment

@ruebot you are right about lame, I think its out of copyright too 馃槣 .

ffmpeg is probably the way to go. We can _eventually_ have a bunch of API-X services to handle converting different file types. Also reduces the number of supporting applications we have to install.

All 8 comments

I have something pretty much ready, and can issue a pull request to resolve this issue. However, the more I think about it, I think using lame would be the wrong approach.

Rationale:

  • lame is wav -> mp3 only. It does not cover flac.
  • sox is good option, and allows streaming to it as well
  • ffmpeg is an even better option because it can be used by both audio and video.

@Islandora-CLAW/committers let me know what y'all think at your convenience. This is post MVP, so not a super priority, and I don't want to put it on a CLAW call until we're post MVP.

@ruebot you are right about lame, I think its out of copyright too 馃槣 .

ffmpeg is probably the way to go. We can _eventually_ have a bunch of API-X services to handle converting different file types. Also reduces the number of supporting applications we have to install.

@MarcusBarnes it's the commit above that says "Create audio service." You can get to the branch from that as well.

I think its out of copyright too

@whikloj are you talking about the mp3 patent that expired?

@ruebot umm...yeah that's the ticket. Either way your statement about lames singularity of focus means it could be easily replaced by a better tool, IMHO.

Since it came up in irc, here is the branch.

Linking to roadmap issues https://github.com/Islandora-CLAW/CLAW/issues/930 and https://github.com/Islandora-CLAW/CLAW/issues/929 for audio and video, respectively, if we go the ffmpeg route.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

acoburn picture acoburn  路  5Comments

dannylamb picture dannylamb  路  3Comments

dannylamb picture dannylamb  路  3Comments

ruebot picture ruebot  路  3Comments

ruebot picture ruebot  路  4Comments