I think this is a bug. I had previous versions of this module installed with no problem so I'm pretty sure that it has nothing to do with my setup on Amazon S3's end.

I have Video set up with ffmpeg. On cron run, everything works ok until we get to sending the file to Amazon S3.

Here are the errors I am getting in the log. There are 2:

S3::inputFile(): Unable to open input file: in /home/*****/public_html/sites/all/modules/video/plugins/video_s3/includes/S3.php on line 262.

and Failed to upload our file to the amazon s3 server.

However, the node does get published and the file (and thumbnails) work perfectly from my local server. Apparently, the S3 module doesn't know where to find my video files.

After this, I don't see any more errors but the file never gets uploaded to S3.

Thanks in advance.

Comments

hypertext200’s picture

Can you provide some more information. I'm little bit confusing about this issue. Let me know what are the configurations you have?. What are the transcoders you enabled?

What happend when you upload a video? and what are the status value on video_s3 table? Please check u have properly installed CURL on your server?

mrwhizkid’s picture

Hi. Thanks for the response.

I have tested both Zencoder and FFMPEG and both seem to have the same problem. In the case of FFMPEG, the conversion process happens but Amazon S3 gives me this error in the logs:

S3::inputFile(): Unable to open input file: in /home/*****/public_html/sites/all/modules/video/plugins/video_s3/includes/S3.php on line 262

However, the video can play but the file comes from my server, not from Amazon.

When I use Zencoder, I get the following error in my logs from Zencoder:

We did not find the file id: 6057 or it is still queued for ffmpeg processing or S3 push.

Both FFMPEG and Zencoder worked with very well in RC6. But when I installed alpha 2, I started having these problems.

Edit *** Curl is installed on my server correctly. I'll check the S3 tables now.

hypertext200’s picture

Do u have CURL installed?

mrwhizkid’s picture

StatusFileSize
new105.68 KB
new100.12 KB

Sorry, I edited my comment to tell you that yes I do have curl installed. Like I said, all of this worked in RC6.

Here are two screenshots from my database for a test video I tried uploading just now. From the S3 table and Zencoder table.

Not sure but it looks like the S3 table is missing some information.

hypertext200’s picture

Are you sure you have all configurations set up properly, preset settings also?

mrwhizkid’s picture

I know that I have Amazon S3 set up correctly.

About the presets though...this is kind of a new feature, right?

In my setup, I just have every video being converted to flash so that it can be played in Flowplayer.

If everything is supposed to be converted to Flash, then I should have the preset set to flash, correct?

hypertext200’s picture

yes. Set it to flash look at the documentation page, to know how to set it up

mrwhizkid’s picture

StatusFileSize
new31.49 KB

I've actually spent quite a bit of time looking over your documentation which is very helpful. However, I have a feeling that some of it may not be up to date for Alpha 2. For example,

From: http://video.heidisoft.com/documentation/configuring-video-module:

http://video.heidisoft.com/sites/demo.heidisoft.com/files/images/video_a...

But here is what mine looks like:

http://drupal.org/files/amazon.png

As you can see, there is no setting in Alpha 2 to actually enable Amazon S3.

Also, I noticed that there is no longer a separate Zencoder cron call. I assume that this was merged into the Video cron?

hypertext200’s picture

the separate cron call is there for the video_schduler.php.

See the http://video.heidisoft.com/content/whats-new-video-module-6x-42-alpha2 for more details.

mrwhizkid’s picture

Version: 6.x-4.2-alpha2 » 6.x-4.x-dev

Hi again. I just sent you a PM. Hope you don't mind. I included my Zencoder details and gave you an admin login to my server. If you have a chance, please take a look?

And I'm changing the status on this because I upgraded to DEV to see if it made any difference but I'm still having the same problem.

adamgerthel’s picture

Im having the exakt same problem with FFMPEG and S3. Currently using the latest dev version (2011-03-11). Did you manage to resolve it?

I can upload files to S3 if I don't use FFMPEG to convert anything, so the problem isn't uploading the files.

hypertext200’s picture

What is the problem you have?

adamgerthel’s picture

StatusFileSize
new174.95 KB

@heshan.lk take a look at the screenshot I've attached. I'm guessing the upload to Amazon only occurs once cron has run? This happens after I create a node with a video. The video is being made into a FLV by FFMPEG, and then I manually run cron.

marktargett’s picture

i didn't have this problem before the amazon crash, i kept on getting this error because i was re-uploading the video to the same content over and over. i deleted the page and created a new page and the error went away.

Jorrit’s picture

Status: Active » Postponed (maintainer needs more info)

Does this problem still exist?

Jorrit’s picture

Component: User interface » Amazon S3
Jorrit’s picture

Assigned: Unassigned » Jorrit
Status: Postponed (maintainer needs more info) » Needs work

I have experienced this problem too. I will look into it.

Jorrit’s picture

Status: Needs work » Fixed

I believe I have fixed this problem in version 4.6, I forgot to mention it in the release notes because it was a complete rewrite.

Status: Fixed » Closed (fixed)

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