The file is processed by Zencoder and then the file is sent to the converted folder in the S3 bucket but the file size is set to zero (0) bytes. The other thing is that Drupal is using the local file and not the Amazon S3 converted file.

Setup:

  • Video: 7.x-2.10+17-dev
  • AmazonS3: 7.x-1.0
  • AWS SDK for PHP: 7.x-5.4
  • Original file: Uploaded to Public File under Drupal
  • Converted Files: Amazon S3

Comments

doors’s picture

Issue summary: View changes
doors’s picture

I then set the original and converted locations to the local Public folder and the converted files from zencoder are still zero (0) bytes. Really need some help with this.

doors’s picture

Well it seemed as if the cron was being executed too quickly or the file was taking too long to download so it quit. I extended the cron run from 5 minutes to 15 minutes and it seems to be working now.

doors’s picture

When I change the converted file location to Amazon S3 I get the following error through the logs:

PHP Fatal error: Class 'AmazonS3' not found in /mnt/www/html/docroot/sites/all/modules/amazons3/AmazonS3StreamWrapper.inc on line 593 request_id=“<request_id removed>”

I removed the request id.

What could be the cause of this?

doors’s picture

In order for this to start working I had to ad my Amazon S3 credentials to Zencoder and set it as the default.

heshanlk’s picture

Status: Active » Closed (works as designed)