Closed (fixed)
Project:
Video
Version:
6.x-4.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
4 Jan 2011 at 19:19 UTC
Updated:
31 Dec 2011 at 17:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
hypertext200Did u change the access permission to the Zencoder? You will have to change the access permission to Zencoder on bucket. See the last few lines of the Zencoder configuration page for more details.
Contact us using video.heidisoft.com/contact for further debugging with Zencoder.
Comment #2
sadist commentedSorry, I don't get what you meant by Zencoder configuration page. Were you refering about the configuration page on my Drupal video.module, or at zencoder.com site? I don't see any other settings in either both though.
All conversions are working fine. My files got converted and transfered to my S3 bucket successfully. Even the thumbnails are all there. But it's just that on my node page, it's trying to play/fetch the video file locally instead of from my S3 server.
Comment #3
hypertext200See this post http://video.heidisoft.com/documentation/configure-zencoder-video-module.
Follow the instructions.
Comment #4
sadist commentedI guess I'd already did all that and I just went through it again. For the permission part, I did entered aws@zencoder.com as one of the Grantees (List - Upload/Delete), and it appears to be listed as zencodertv.
I'm not sure why you keep on asking me to check on the S3 permission since the files are converted and uploaded to my S3.amazon bucket successfully without problem. It's the embedding code that's giving me problem.
I also thought that it might just be the player. So I disabled my SWFTools and print Path to file instead, but nothing solved. It is pointing to my local server though the converted video and thumbnails are already in my S3 bucket.
Comment #5
hypertext200@sadist, Did u set up post back on your server? are you receiving the post back to your server back once zencoder complete their job.
Is that working?
Check the video_zencoder table and is there any entries with status 10(completed)? .
In the video settings, file system tab, did u enable the S3?
Comment #6
sadist commentedYes. I can see the 10/completed status (screen attached).
S3 is being enabled on the configuration page (screen attached).
I don't get what you mean by setting up the post back, is it the video/plugins/video_zencoder/inludes/zencoder.inc file? If it is, then yes I did that as instructed. Or any permission settings I must set for both directories?
Comment #7
hypertext200@sadist , seems every things perfect. What are the format your final video has? what are the presets u enabled?
Comment #8
sadist commentedIn my video/presets settings, I chose Flash and HTML5 MP4.
1) In my S3 Bucket converted folder, I saw both .mp4 and .flv files. I also saw all the 5 thumbnails in video_thumbs folder there. The original video (.wmv) is also there.
2) In my local server, I can see the original file, and all the 5 thumbnails.
3) When editing the node, the thumbnails that are listed in the upload form were fetched from the local server.
Comment #9
sadist commentedBTW. I don't really get this statement
150 $url = 'http://url/of/drupal/site/postback/jobs'; //this url must be accessible from the public location.So even if it's S3.amazon configuration, we should set it to our Drupal site URL? E.g. http://www.mysite.com/postback/jobs? What's the purpose for the folders?
Comment #10
hypertext200This is how we handle post back, if your in a server which publicly accessible then there is no issue. Once trasncoder completed Zencoder will push some data about transcoding.
You can login to the Zencoder.com site and see how your notifications are working. If any isssue with Notifications you can see it there. But unless you get 10(SUCCESS) in your video_zencoder table files, there is no any issue.
Comment #11
sadist commentedso, it means it's confirmed that all my configurations are correct. but my video node is printing "sites/default/files/video-file.wmv" instead of the full URL "https://s3-ap-southeast-1.amazonaws.com/bucketfolder/sites/default/files..."
and in the first place, why was it trying to get the original .wmv file instead of the converted one (flv or mp4)? how/where do I choose which format it should be playing?
Comment #12
hypertext200Which is the version of video module your using? I cannot see any issue here, can you please clear cache and see how its working. This is working out of the box.
Go to includes and go to line 69.
print these values and see.
Comment #13
sadist commentedIt's pointing to S3 server now.. I selected Path to URL just now, to troubleshoot it. And now when I put it back to Video, it works.
But then it's trying to play .mp4 file from my PC instead of flash. How can I let it detect to only play flv if it's on desktop and mp4 if it's on iPhone? Any documentation on that?
And I just created a new video node, it's still not published yet even after few crons (as usual, all converted files and thumbnails are already in S3 server).. :(
Comment #14
hypertext200To compatible with iPhone you have to use HTML5 player.
Check your postback action is working? the first few lines in the post.
Comment #15
Meller commentedI have the same problem working with S3, cloud frond and FFMPEG encoder.
Files are uploaded to the S3 server (even deleted from the local server) but the url to the video still points the local server.
any idea why ?
Comment #16
hypertext2001. Please check the cache. flush the cache and see.
2. How you try to load the video object, what is your workflow?
Comment #17
aze2010 commentedsubscribe
any solutions founded?
Comment #18
fugazi commentedsubscribe
Comment #19
Jorrit commentedPlease try if version 6.x-4.6 beta 1 fixes this problem for you. In this version the Zencoder and S3 parts have been refactored and tested.
You can read about it at http://drupal.org/node/1346434
Comment #20
odegard commentedI'm using D7 but I've found out something that might shed some light on this issue. If I'm using dsm to print out $node, I see this that the uri is pointing to public://videos/original/video-blabla.mp4
However, if I check out the source of the node, the src in the video is correctly pointing to my S3 bucket.
So it could be just an misunderstanding.
Comment #21
Jorrit commentedThis issue is for D6 only, D7 works very differently. I am closing this issue because there are no reports that it has not been fixed in 4.6.