flvtool2
flvtool2 copied to clipboard
Specific Ruby version?
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?
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:in
read_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:in
new'
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:in
block 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:in
process_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:in
execute!'
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:in
require'
ERROR: /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in require' ERROR: /usr/bin/flvtool2:2:in
@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.
@phpclub It seems that the file you are trying to print is not a valid FLV file.
No! This version work under ubuntu 14.04 https://github.com/archfear/flvtool2/commit/b9a50d7717dac7f9347641db04eb86ddf0ad1538