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.
| Comment | File | Size | Author |
|---|---|---|---|
| #13 | Screen shot 2011-04-07 at 13.31.43.jpg | 174.95 KB | adamgerthel |
| #4 | video_s3_table.png | 100.12 KB | mrwhizkid |
| #4 | video_zencoder_table.png | 105.68 KB | mrwhizkid |
Comments
Comment #1
hypertext200Can 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?
Comment #2
mrwhizkid commentedHi. 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.
Comment #3
hypertext200Do u have CURL installed?
Comment #4
mrwhizkid commentedSorry, 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.
Comment #5
hypertext200Are you sure you have all configurations set up properly, preset settings also?
Comment #6
mrwhizkid commentedI 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?
Comment #7
hypertext200yes. Set it to flash look at the documentation page, to know how to set it up
Comment #8
mrwhizkid commentedI'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?
Comment #9
hypertext200the 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.
Comment #10
mrwhizkid commentedHi 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.
Comment #11
adamgerthel commentedIm 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.
Comment #12
hypertext200What is the problem you have?
Comment #13
adamgerthel commented@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.
Comment #14
marktargett commentedi 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.
Comment #15
Jorrit commentedDoes this problem still exist?
Comment #16
Jorrit commentedComment #17
Jorrit commentedI have experienced this problem too. I will look into it.
Comment #18
Jorrit commentedI 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.