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

Video support for more file formats #32

Closed
rosiel opened this issue Aug 1, 2022 · 4 comments
Closed

Video support for more file formats #32

rosiel opened this issue Aug 1, 2022 · 4 comments

Comments

@rosiel
Copy link
Contributor

rosiel commented Aug 1, 2022

Overview of feature request

Right now the Video media type only allows .mp4. Is it possible to allow other formats?

What kind of user is the feature intended for?
End users doing video storage/preservation

What inspired the request?
Documenting Video Derivatives Islandora/documentation#929 (which work great! But are only mp4-to-mp4.)

What existing behavior do you want changed?
Change the restriction on Video media type's file field to allow such types as:

  • .avi
  • .mov /.qt (Quicktime)
  • .mpg/.mpg2/.mpeg2 (uncompressed digititized video)
  • Other formats as suggested in "Video preservation" recommendations(?)

Any brand new behavior do you want to add to Islandora?

Along with being allowed to upload them, I'd like to be able to do derivatives. At the moment, conversion to .mp4 and extracting thumbnails/poster images would be great. There may be other preservation transformations that are eventually recommended.

What constraints does FFMPEG place on us in doing this? Are there extra codecs that need to be enabled? Are they protected by incompatible licenses therefore we can't ship with them enabled and could include documentation on doing this yourself? etc.

Any related open or closed issues to this feature request?

@whikloj
Copy link
Member

whikloj commented Aug 2, 2022

I think this is just configuration at least for some of the above listed movie types. When testing video derivatives I just edit the file field of the video media type and add "mov" to the acceptable extensions. It works fine.

@rosiel
Copy link
Contributor Author

rosiel commented Aug 3, 2022

Probably! This ticket is partly here to do tests like that.
Smarter people than me would know better, but I suspect that it's not the extension (container format) that will affect whether ffmpeg can handle the file, as much as the audio/video(?) codecs. That true?

@DonRichards
Copy link
Member

DonRichards commented Aug 10, 2022

From the tech call: I think the way forwards is a 2 part approach.

  1. Test to see what common formats are already useable when the dot extensions are added to Drupal.
  2. Create a list of formats and using that list create PRs to add the necessary codecs/libraries to add to the buildkit.

Common formats:

  • .WEBM
  • .MPG, .MP2, .MPEG, .MPE, .MPV
  • .OGG
  • .MP4, .M4P, .M4V
  • .AVI, .WMV
  • .MOV, .QT
  • .FLV, .SWF
  • AVCHD

For a bigger list check Wikipedia

Most formats don't need to be web-accessible, the service file derivative on the other hand does.

1st part is a manner of documenting the findings and possibly adding a PR to add all of the extensions to isle-dc/Playbook automatically by default.

2nd is documentation and an example of how to add an external library to the buildkit.

@rosiel rosiel transferred this issue from Islandora/documentation Dec 8, 2022
@rosiel rosiel added this to the Dec 2022 Mini-Sprint milestone Dec 8, 2022
@rosiel
Copy link
Contributor Author

rosiel commented Feb 27, 2023

Several more file types added with #59

@rosiel rosiel closed this as completed Feb 27, 2023
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

No branches or pull requests

3 participants