File Conversion API

File Conversion API

by Andrew Lyons -
Number of replies: 2
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Hi all,

I've been working on converting the existing 'unoconv' document conversion functions into a pluggable interface where unoconv is just one of the options. This will allow for a greater selection of conversion mechanisms, and supported file types.

This is still a work-in-progress, but details of the existing changes are available at MDL-55528.

Eric Merrill has also made the suggestion that we additionally support asynchronous conversions and I'll be looking at ways in which we may achieve this shortly.

I'm also hoping to look into additional converters though I cannot guarantee that these will be part of the inclusion into core.

Andrew

Average of ratings: Useful (4)
In reply to Andrew Lyons

Re: File Conversion API

by Daniel Thies -
Picture of Core developers Picture of Plugin developers Picture of Testers

Hi Andrew,

I think this is a great idea. I was thinking recently about applications to other media types. It would be nice to have features that were able to transcode audio and video also into other formats. Students would then be able to submit assignments in a variety of formats, but the markers would not have to have all possible formats supported on their devices.

I would assume the backend code for this would be the same as what you are working on.

Daniel

Average of ratings: Useful (1)
In reply to Daniel Thies

Re: File Conversion API

by Alistair Spark -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

+1 with this idea of being able to convert videos uploaded by any user to a specified format.