Hi I am very new to drupal. Just 1 week old. I started learning drupal so that I can build my personal photo and video sharing website on my linux (ubuntu 9.10) server which is located in my house. Photo is working fine. After a lot of research I found that flashvideo module will best suit by need for video sharing. The reason being it offers a great feature --serve your video from amazon s3 server. This will help prevent my modest server from being bogged down by speed and band width problem. I installed flashvideo 6.x-1.4 initially and was able to create video etc. In 6.x-1.4 I really did not test S3 feature of flash video. I then upgraded to 6.x-1.5.

In 6.x-1.5 my AmazonS3 settings are as follows:

Enable FlashVideo S3 support - ticked for yes

Use Secure Sockets Layer ( SSL )- ticked for yes
Note--I have CURL installed

Use Amazon's CloudFront ( CDN ) service - left unticked

Delete Local files after move - ticked yes (this is a feature I really want so that every file related to video is on S3 sever)

S3 Bucket: gave bucket a unique name

S3 Key: provided the required key
S3 Secret Key: provided the required key.

It did it yesterday and on first day it was working fine even with the local files delete. It also played today once or twice. And then all of a sudden the video does not show up. I can see only the thumbnail on the node-view which I created to put all videos on a page (paginated 9 per page). I went to recent log entries and found the below mentioned message for few files I tested (have given only 1 message for example)_

FileField was trying to display the file sites/default/files//OjhaUncle-Anjan_311.jpg, but it does not exist.

What went wrong? Were the file being played from cache and when the cache expired the videos and thumnails stopped showing. It seems the flash video module is not picking up files from Amazons3 server. I tried a new video ran a cron but this time the thumbnail for that video is also missing. Does not selecting the cloud front option has an impact. Then I will have to recreate all the videos again. It is still in testing so not many videos 15-20 only. The path for a particular video is also show to be local it seems. I also manually deleted original files from the server after the videos were created.

Please help. I want to use amazonS3 feature which was the main reason fro me using thsi module.

Comments

travist’s picture

Status: Active » Postponed (maintainer needs more info)

What is your output_directory set too? I usually do not encourage the "Delete files after transfer" option to be checked... But have you tried it without this option checked?

If it works, then that will at least give me an idea what might be going on.

Thanks,

Travis.

aanjaneyam’s picture

Thanks for your reply. I was using flashvideo CCK with upload, finished and thumbnail fields. The output directory was the files root i.e. sites/default/files because the flashvideo was not taking any custom output directory when the CCK plugin was enabled. The probem seems to be have solved after I activated amazon cloudfront option and stop using the flashvideo CCK. Now my output directory is video-finished and original video file directory is video-original. I still have checked delete local files after move to amazon s3 and it is playing the video even though the local files have been deleted from the output directory video-finished. I For information I haven't deleted the original pre-conversion .mpg file from video-original.

So may be it may have to do something with Flashvideo CCK or unchecked cloudfront option in amazonS3 plugin fo flashvideo.

travist’s picture

So are you saying that it only works with Cloudfront enabled? Or does it only work when FlashVideo CCK is NOT enabled? I am confused as to what combination made this fail.

Thank you for digging deeper.

aanjaneyam’s picture

Status: Postponed (maintainer needs more info) » Fixed

It started working later on. How I don't know. I forgot to mark it as fixed.

Status: Fixed » Closed (fixed)

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