Hi guys,
Our website allow video upload; clients were able to download videos from youtube, upload them on our website, then FLVTool2 (ruby) is used to process the videos.
This tool was working for couple of years, but now it gives me some errors due to the new youtube encoding.
the error I have is
ERROR: EOFError
ERROR: /usr/lib/ruby/site_ruby/1.8/flv/amf_string_buffer.rb:37:in
read'
ERROR: /usr/lib/ruby/site_ruby/1.8/flv/video_tag.rb:80:in
read_header'
ERROR: /usr/lib/ruby/site_ruby/1.8/flv/video_tag.rb:47:in after_initialize'
ERROR: /usr/lib/ruby/site_ruby/1.8/flv/tag.rb:56:in
initialize'
ERROR: /usr/lib/ruby/site_ruby/1.8/flv/stream.rb:449:in new'
ERROR: /usr/lib/ruby/site_ruby/1.8/flv/stream.rb:449:in
read_tags'
ERROR: /usr/lib/ruby/site_ruby/1.8/flv/stream.rb:58:in initialize'
ERROR: /usr/lib/ruby/site_ruby/1.8/flvtool2/base.rb:272:in
new'
ERROR: /usr/lib/ruby/site_ruby/1.8/flvtool2/base.rb:272:in open_stream'
ERROR: /usr/lib/ruby/site_ruby/1.8/flvtool2/base.rb:238:in
process_files'
ERROR: /usr/lib/ruby/site_ruby/1.8/flvtool2/base.rb:225:in each'
ERROR: /usr/lib/ruby/site_ruby/1.8/flvtool2/base.rb:225:in
process_files'
ERROR: /usr/lib/ruby/site_ruby/1.8/flvtool2/base.rb:44:in execute!'
ERROR: /usr/lib/ruby/site_ruby/1.8/flvtool2.rb:168:in
execute!'
ERROR: /usr/lib/ruby/site_ruby/1.8/flvtool2.rb:228
ERROR: /usr/bin/flvtool2:2:in `require'
ERROR: /usr/bin/flvtool2:2
Probably it has something to do with youtube switching to h264 codec
What can I do to solve the problem? What options do I have?
Thanks