revver : forums Forum Index revver : forums
Discussing All Things Revver
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 RSS feed for Revver Forums ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Uploaded Videos Always Ending Up In Error Category [SOLVED]

 
Post new topic   Reply to topic    revver : forums Forum Index -> API Support
View previous topic :: View next topic  
Author Message
wannarevver



Joined: 24 Jul 2009
Posts: 2

PostPosted: Fri Jul 24, 2009 12:23 pm    Post subject: Uploaded Videos Always Ending Up In Error Category [SOLVED] Reply with quote

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
View user's profile Send private message
wannarevver



Joined: 24 Jul 2009
Posts: 2

PostPosted: Wed Jul 29, 2009 8:06 am    Post subject: Solved Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    revver : forums Forum Index -> API Support All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
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