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

Todd Johnson todd at toddejohnson.net
Mon Jan 22 17:03:25 EST 2007


That was how my how to told me to do it.  I finally figured it out my
hard disk was full so ffmpeg created a empty file cake.flv and that was
what the error was from.  Thank you for the help, and sorry for the
noise.  

This error did not point me to this conclusion maybe some error checking
in future versions for empty input files?  


On Mon, 2007-01-22 at 11:55 +0100, Eric Priou wrote:
> Why not
> $ flvtool2 -U cake.flv
> 
> Sync your version with the svn repository, which is more big free.
> 
> Le 22 janv. 07 à 07:13, Todd Johnson a écrit :
> 
> > 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
> >
> >
> > _______________________________________________
> > Flvtool2-users mailing list
> > Flvtool2-users at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/flvtool2-users
> 
> ----
> Eric Priou
> aka  erixtekila
> Articles : http://www.v-i-a.net/inprogress
> Oregano : http://www.v-i-a.net/forum
> 
> 
> _______________________________________________
> Flvtool2-users mailing list
> Flvtool2-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/flvtool2-users



More information about the Flvtool2-users mailing list