Here is a patch for issues found in the Zencoder transcoder (so probably needs to be moved over to ffmpeg as well)
Upon saving a node with a field collection that contains the video to be transcoded, and upon postback we receive:
Notice: Undefined property: FieldCollectionItemEntity::$uid in TranscoderAbstractionFactoryZencoder->processPostback() (line 606 of /srv/bindings//code/sites/all/modules/video/transcoders/TranscoderAbstractionFactoryZencoder.inc).
Warning: Missing argument 2 for entity_save(), called in /srv/bindings//code/sites/all/modules/video/transcoders/TranscoderAbstractionFactoryZencoder.inc on line 661 and defined in entity_save() (line 175 of /srv/bindings//code/profiles/openpublish/modules/contrib/entity/entity.module).
Warning: Illegal offset type in isset or empty in entity_get_info() (line 7537 of /srv/bindings//code/includes/common.inc).
Attached is a patch that accounts for field collections when setting the uid field for the thumbs and fixes the generic entity_save() call. Not sure I like how I've done the field collections bit tho, kinda ugly in there
| Comment | File | Size | Author |
|---|---|---|---|
| field_collections_other_entities.patch | 1.37 KB | jpstrikesback |
Comments
Comment #1
jpstrikesback commentedComment #2
Jorrit commentedI have found a better solution to find the uid: I just take the uid of the video file. I have fixed the entity_save() call, thanks for that. You should be able to download a new 7.x-2.x-dev version with this fix in about 12 hours.
Comment #3
jpstrikesback commentedRock on!