Hi all.
I've been quickly hacking together a prototype so it's possible to add different output locations for the Zencoder API.
What my patch does is: add a submodule which provides a hook so any module can provide an output location (eg. ftp://user:password@host/output_folder). Maybe that's a bit far fetched, but i was trying to be as flexible as possible. Then it generates a form input for the location in the Zencoder settings, and provides an option to choose it as well.

I know it could use some refactoring, and now that i think of it, it doesn't delete the output variable when it's deleted/input = empty.
And then there's the problem that maybe not all output locations are accessible, so the video can't be played ;)
But like i said, i'm just 'putting it out there' to get some feedback.
Thanx.

CommentFileSizeAuthor
video-zencoder_output_locations.patch4.32 KB30equals

Comments

30equals’s picture

Status: Active » Needs review
30equals’s picture

Oh and, for reference: https://app.zencoder.com/docs/api/encoding/general-output-settings/url
It should be possible to add url's like those (minus filename).

30equals’s picture

An idea to link the storage location to the actual http address, would be defining the http address in another input field next to the input for the storage url ?

brycefisherfleig’s picture

Issue summary: View changes
Issue tags: +7.x-3.0-alpha roadmap

This is a really interesting idea. I'd like to put this up for consideration on the 7.x-3.x roadmap. I look forward to reviewing this patch.

hypertext200’s picture

Component: Zencoder » General
Status: Needs review » Postponed