[FLVTool2-users] undefined method timestamp for nil:NilClass

Todd Johnson todd at toddejohnson.net
Mon Jan 22 01:13:36 EST 2007


I attempt to run flvtool2 1.0.5 rc6 and receive this output.  I encoded
cake.flv with ffmpeg.  

$ cat cake.flv | flvtool2 -U stdin cake.flv
ERROR: undefined method `timestamp' for nil:NilClass
ERROR: /usr/lib/ruby/site_ruby/1.8/flv/stream.rb:285:in `lasttimestamp'
ERROR: /usr/lib/ruby/site_ruby/1.8/flv/stream.rb:274:in `duration'
ERROR: /usr/lib/ruby/site_ruby/1.8/flvtool2/base.rb:181:in
`add_meta_data_tag'
ERROR: /usr/lib/ruby/site_ruby/1.8/flvtool2/base.rb:137:in `update'
ERROR: /usr/lib/ruby/site_ruby/1.8/flvtool2/base.rb:47:in `send'
ERROR: /usr/lib/ruby/site_ruby/1.8/flvtool2/base.rb:47:in `execute!'
ERROR: /usr/lib/ruby/site_ruby/1.8/flvtool2/base.rb:46:in `each'
ERROR: /usr/lib/ruby/site_ruby/1.8/flvtool2/base.rb:46:in `execute!'
ERROR: /usr/lib/ruby/site_ruby/1.8/flvtool2/base.rb:206: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




More information about the Flvtool2-users mailing list