kylejginavan / youtube_it

An object-oriented Ruby wrapper for the YouTube GData API
http://groups.google.com/group/ruby-youtube-library
595 stars 223 forks source link

Error (unable to convert video file) #16

Closed judaro13 closed 12 years ago

judaro13 commented 13 years ago

Hi Im new using rails and I need upload vieos on youtube, so Im trying to use youtube_it but when I try to upload a flv movie trough the gem, the video seems to be uploaded but when I consult it on youtube this error appear

Error (unable to convert video file)

Some idea?

kylejginavan commented 13 years ago

Howdy. Thanks for using youtube_it. Please put the *.flv file on http://ge.tt/ and I will take a look.

Best, Kyle

judaro13 commented 13 years ago

Hi thks for reply :), this is the sample video http://ge.tt/5h31EPG (I downloaded from youtube just for try and be sure that works), I try to upload directly from youtube page and was uploaded fine but trough my app I had "unable to convert video file"

Juliana

chebyte commented 13 years ago

hi there, the video is ok please check maybe you have already this video uploaded

you can try upload this making a little ruby script with this content

require 'rubygems' require 'youtube_it'

client = YouTubeIt::Client.new(:username => "user", :password => "pass", :dev_key => "devkey") client.video_upload(File.open("test.flv"), :title => "test rails",:description => 'sample', :category => 'People',:keywords => %w[test])

this works for me

Best, mauro