I'm getting an intermittent issue where I'm getting
The video conversion process has failed. You might want to submit a simpler video format like mpeg or divx avi.
If the problem persists contact your website administrator. Please check logs for futher debugging.
after a postback from Zencoder. Originally there were videos with status 5 in the video_queue table that were successful in Zencoder's dashboard, but now they are just coming back and showing the error without having the 5 in the table. The work around is to clear the cache. We handle a lot of videos so clearing the cache manually is not ideal, I installed cache_actions and setup a rule to clear the node and file caches for now as a work around. I'll try to figure out what's happening as I have to update a custom video formatter module anyway and so I'll be digging around to see what's changed.
EDIT: My workaround isn't working, I've had to go back to clearing the cache manually.
| Comment | File | Size | Author |
|---|---|---|---|
| #12 | cache_clear_all.patch | 1.41 KB | jpstrikesback |
Comments
Comment #1
jpstrikesback commentedSeeing this as well
Comment #2
jpstrikesback commentedComment #3
Jorrit commentedAre there any error messages in the Drupal error log or the webserver error log?
Comment #4
jpstrikesback commentedGot a patch coming for this in a minute, just getting some others together for field collection issues. There are no errors because I believe what is happening is that the cache_clear_all() doesn't get the right caches on the first try leaving the filesize @ 0, then on any subsequent attempts to re-encode there is a return call if a thumbnail has been set already, which doesn't allow the cache clear to happen.
Putting drupal_flush_all_caches() in would work but is rather brute. If an encode does fail for a good reason but makes a thumbnail the following return will never allow a good encode to show until a full cache clear happens (until we figure out which cache - probably the files, holds the keys):
Comment #5
jpstrikesback commentedComment #6
jpstrikesback commentedSimply moving the cache_clear_all() above the return statement mentioned above (and adding the rather aggressive and performance killing drupal_flush_all_caches() until we nail down the proper cache to clear) fixes this
Comment #7
jpstrikesback commentedIt appears that Entity Cache is causing the issue for me! I haven't grok'd it but It sets up a bunch of cache tables including files that seem to mess with the field cache clear unless they are also cleared...
Comment #8
Jorrit commentedOn what kind of entities did you add your videos?
Comment #9
jpstrikesback commentedThey were added to a field collection that was attached to a node.
Comment #10
Jorrit commentedIn that case, you suffered from the same bug as described in #1721282: Fix for Notice & Warnings: Field Collections and other entities: could you try to use the latest -dev release?
Comment #11
dlumberg commentedI tried the latest dev and this problem is still there.
Comment #12
jpstrikesback commented@Dlumberg: If you have Entity Cache Module enabled, disable it and uninstall it. If that does nothing try this patch afterwards:
Comment #13
Jorrit commentedI have committed your patch. 7.x-2.x-dev will be rebuilt within 12 hours.
Comment #14
Jorrit commentedComment #15
dlumberg commentedDisabling entity_cache fixed the problem, thanks.
Comment #16
Jorrit commentedI am more interested to know if the latest 7.x-2.x-dev fixed it. Could you try to check that?
Comment #17
dlumberg commentedI updated to 7.x-2.7+18-dev and there was no change so I then disabled the entity_cache module and that combination worked. Did you want me to dl the dev again and test it with entity cache?
Comment #18.0
(not verified) commentedClarifying that my workaround isn't working.