 |
revver : forums Discussing All Things Revver
|
| View previous topic :: View next topic |
| Author |
Message |
wannarevver
Joined: 24 Jul 2009 Posts: 2
|
Posted: Fri Jul 24, 2009 12:23 pm Post subject: Uploaded Videos Always Ending Up In Error Category [SOLVED] |
|
|
Hello. I have been working with the Revver API for a little while now, and I now have it to the point where it is remotely uploading videos to my account in Revver. When I run my script, I log into my account and notice the video is in the Processing category of my account. But after about 5-10 minutes, it then ends up in the Error section. I have tried this multiple times and I constantly get the same results.
I have been trying to get this to work using the same video. Thinking it may be a problem with the video, I tried to manually upload it via my Revver account, and everything worked fine. This makes me think it doesn't have to do with my video.
Here's a quick breakdown of what my script does:
1. It gets an upload token via getUploadTokens with the following: | Code: | | $api->callRemote('video.getUploadTokens', $count); |
2. It then uploads the video via POST through cURL to http://httpupload.revver.com/my-token
3. It then creates the metadata for the video and uses video.create with the following: | Code: | | $results = $api->callRemote('video.create', $id, $title, $keywords, $ageRestriction, $options); | where $id is the token generated from step 1.
When I run this script, the ID of the video is returned and the video begins the processing stage on Revver. My problem is I just can't seem to figure out why they always end up in the Error area of my account.
I have scoured the forums and web for answers to this, but have had no luck. If anyone can help me with this, I would greatly appreciate it. Thank you.
Last edited by wannarevver on Wed Jul 29, 2009 8:06 am; edited 1 time in total |
|
| Back to top |
|
 |
wannarevver
Joined: 24 Jul 2009 Posts: 2
|
Posted: Wed Jul 29, 2009 8:06 am Post subject: Solved |
|
|
Alright, I figured out why I was having this issue. Everything I did in my post above was right. The problem was when I was calling the video via cURL.
Initially, I was trying to call it like this:
http://www.mysite.com/video/vid.mov
But when I changed the path to:
@/full/path/to/vid.mov
Everything worked perfectly. My videos are now uploading to Revver without any issues now, so hopefully this helps someone else out who may be having the same problem. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB 2.0.18-2 (Debian) © 2001, 2005 phpBB Group
|