flvtool2 icon indicating copy to clipboard operation
flvtool2 copied to clipboard

Specific Ruby version?

Open funky-monkey opened this issue 13 years ago • 4 comments

Is there a specific version of Ruby needed to install the source? When i do "ruby -v" I get: ruby 1.8.7 (2010-01-10 patchlevel 249) [universal-darwin10.0]

I'm getting an error:

dyld: Library not loaded: /usr/local/lib/libruby.1.9.1.dylib Referenced from: /usr/local/bin/ruby Reason: no suitable image found. Did find: /usr/local/lib/libruby.1.9.1.dylib: stat() failed with errno=13 /usr/local/lib/libruby.1.9.1.dylib: stat() failed with errno=13 Trace/BPT trap

Any thoughts?

funky-monkey avatar Nov 10 '11 00:11 funky-monkey

flvtool2 -P /srv/www//recordedVideo.flv ERROR: undefined method &' for "\u0005":String ERROR: /usr/local/lib/site_ruby/1.9.1/flv/stream.rb:399:inread_header' ERROR: /usr/local/lib/site_ruby/1.9.1/flv/stream.rb:57:in initialize' ERROR: /usr/local/lib/site_ruby/1.9.1/flvtool2/base.rb:272:innew' ERROR: /usr/local/lib/site_ruby/1.9.1/flvtool2/base.rb:272:in open_stream' ERROR: /usr/local/lib/site_ruby/1.9.1/flvtool2/base.rb:238:inblock in process_files' ERROR: /usr/local/lib/site_ruby/1.9.1/flvtool2/base.rb:225:in each' ERROR: /usr/local/lib/site_ruby/1.9.1/flvtool2/base.rb:225:inprocess_files' ERROR: /usr/local/lib/site_ruby/1.9.1/flvtool2/base.rb:44:in execute!' ERROR: /usr/local/lib/site_ruby/1.9.1/flvtool2.rb:168:inexecute!' ERROR: /usr/local/lib/site_ruby/1.9.1/flvtool2.rb:228:in <top (required)>' ERROR: /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:inrequire' ERROR: /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in require' ERROR: /usr/bin/flvtool2:2:in

'

phpclub avatar Apr 22 '14 07:04 phpclub

@funky-monkey It might not be relevant 2 years later, but Ruby 1.8.7 was never stable. FLVTool2 should be used with Ruby 1.9.2 and later, though it runs on 1.8.6.

unnu avatar Apr 22 '14 08:04 unnu

@phpclub It seems that the file you are trying to print is not a valid FLV file.

unnu avatar Apr 22 '14 08:04 unnu

No! This version work under ubuntu 14.04 https://github.com/archfear/flvtool2/commit/b9a50d7717dac7f9347641db04eb86ddf0ad1538

phpclub avatar Apr 22 '14 11:04 phpclub