[FLVTool2-users] FLVTool2 Error + FLVMDI questions

Norman Timmler lists at inlet-media.de
Fri Apr 7 03:15:24 EDT 2006


Hi Andrew,

Am Donnerstag, den 06.04.2006, 15:35 -0700 schrieb Andrew Edmond:
> All --
>  
> I am trying to simulate injecting metadata into FLV files generated
> with the On2 Flix Engine for Linux.  One of our flash developers is
> programming the streaming method using FLV/PHP/lighthttpd, and it's my
> job to get our entire content library transcoded from DVD to flash8
> (using Linux) and get the metadata required by the streaming technique
> into the files (using Linux).
>  
> First things first, using the subversion tree checked out from today,
> on Ubutnu linux, I am getting this error:
>  
> flvtool2 -UP our_movie_480p.flv our_movie_480p_with_meta.flv 
> ERROR: undefined method `[]' for nil:NilClass
> ERROR: /usr/local/lib/site_ruby/1.8/flv/stream.rb:138:in
> `add_meta_tag'
> ERROR: /usr/local/lib/site_ruby/1.8/flvtool2/base.rb:184:in
> `add_meta_data_tag'
> ERROR: /usr/local/lib/site_ruby/1.8/flvtool2/base.rb:137:in `update'
> ERROR: /usr/local/lib/site_ruby/1.8/flvtool2/base.rb:47:in `execute!'
> ERROR: /usr/local/lib/site_ruby/1.8/flvtool2/base.rb:46:in `each'
> ERROR: /usr/local/lib/site_ruby/1.8/flvtool2/base.rb:46:in `execute!'
> ERROR: /usr/local/lib/site_ruby/1.8/flvtool2/base.rb:44:in
> `process_files'
> ERROR: /usr/local/lib/site_ruby/1.8/flvtool2/base.rb:225:in `each'
> ERROR: /usr/local/lib/site_ruby/1.8/flvtool2/base.rb:225:in
> `process_files'
> ERROR: /usr/local/lib/site_ruby/1.8/flvtool2/base.rb:44:in `execute!'
> ERROR: /usr/local/lib/site_ruby/1.8/flvtool2.rb:168:in `execute!'
> ERROR: /usr/local/lib/site_ruby/1.8/flvtool2.rb:228
> ERROR: /usr/bin/flvtool2:2

Can you please send me an example file that causes this error.

> Second, is it accurate to say that using:
>     
>     flvtool2 -UP [infile] [outfile]
>  
> Will make an outfile with all the correct metadata information to use
> with the PHP style streaming methods?

flvtool2 -U [infile] [outfile]

That is all you need.

Ciao,
Norman
-- 
Norman Timmler

http://blog.inlet-media.de



More information about the Flvtool2-users mailing list