A quick look at the code suggests that most media derivative functionality is handled at the file level. For my use case, I am generating 30 second samples from an audio file for download, and I want to allow per field setting of where in file the sample should begin (e.g. 67 seconds). Media Derivatives should supply the field definition to downstream processors so additional per-field settings can be used in derivative generation, in addition to the file path.

Files: 

Comments

I see field data is passed via $context... Perhap's that's a solution here.

Status:Active» Needs review
StatusFileSize
new673 bytes

Attached is a patch to pass the full item as part of the context, to allow additional data to be utilised by derivative engines.

Status:Needs review» Fixed

Sounds good. Committed. Thanks.

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Issue summary:View changes

Add example