Hello there,
I am using Amazon S3 as Upload Destination so the video gets uploaded to Amazon S3. On node save the video gets converted to the set format. But here comes the problem. As the uploaded video is hosted on amazon S3, FFMPEG doesn't find the file and it gives error. Something like "Video s3://videos/original/garbageprank.wmv: duration = 0, frames =". It shows that the FFMPEG isn't able to locate the file and so it shows duration 0 and frames none. The video should be converted and uploaded again on the amazon S3.

How can this issue be solved?

Comments

Jorrit’s picture

Assigned: Unassigned » Jorrit

I am working on that, the problem has recently come to my attention. The only solution I see for now is to store the videos locally.

Jorrit’s picture

Status: Active » Fixed

I have implemented this in 7.x-2.x. Be careful when updating to this new version because it contains a lot of changes. Read the release notes and the change record before you update.

mittalpatel’s picture

Great Jorrit,
That worked. Now I am saving the original video on local and converted video on Amazon S3 and that's working pretty good. But now the issue is that the file doesn't play in the player.
In my flowplayer I am getting an error "Stream not found".
The reason is, player is given wrong path of the video. Player is given "http://bucket.s3.amazonaws.com/dir/file.ext" where as actual file can be accessed at "http://s3.amazonaws.com/BUCKET/dir/file.ext" .

I think earlier this was working when I was uploading video to Amazon s3 without conversion.

Any idea, what could be wrong here?

Jorrit’s picture

bucket.s3.amazonaws.com should work. Does your bucket name contain any special characters? The HTTP URL is determined by the Amazon S3 module and I can't find a reference to http://s3.amazonaws.com/bucket/ there.

Status: Fixed » Closed (fixed)

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