I seem to be able to inject cuepoints via an xml file as per the example...
flvtool2 -A -t examples/tags.xml in.flv out.flv
but outside of that i'm consistently getting these types of errors:
C:\flvtool>flvtool2 -UPs gear-3.flv
ERROR: undefined method `[]' for nil:NilClass
ERROR: flv/stream.rb:138:in `add_meta_tag'
ERROR: flvtool2/base.rb:184:in `add_meta_data_tag'
ERROR: flvtool2/base.rb:137:in `update'
ERROR: flvtool2/base.rb:47:in `send'
ERROR: flvtool2/base.rb:47:in `execute!'
ERROR: flvtool2/base.rb:46:in `each'
ERROR: flvtool2/base.rb:46:in `execute!'
ERROR: flvtool2/base.rb:44:in `process_files'
ERROR: flvtool2/base.rb:225:in `each'
ERROR: flvtool2/base.rb:225:in `process_files'
ERROR: flvtool2/base.rb:44:in `execute!'
ERROR: lib/flvtool2.rb:168:in `execute!'
ERROR: lib/flvtool2.rb:228
or
C:\flvtool>flvtool2 -U gear-3.flv out.flv
which actually creates the "out.flv" but it's 0 bytes.
ERROR: undefined method `[]' for nil:NilClass
ERROR: flv/stream.rb:138:in `add_meta_tag'
ERROR: flvtool2/base.rb:184:in `add_meta_data_tag'
ERROR: flvtool2/base.rb:137:in `update'
ERROR: flvtool2/base.rb:47:in `send'
ERROR: flvtool2/base.rb:47:in `execute!'
ERROR: flvtool2/base.rb:46:in `each'
ERROR: flvtool2/base.rb:46:in `execute!'
ERROR: flvtool2/base.rb:44:in `process_files'
ERROR: flvtool2/base.rb:225:in `each'
ERROR: flvtool2/base.rb:225:in `process_files'
ERROR: flvtool2/base.rb:44:in `execute!'
ERROR: lib/flvtool2.rb:168:in `execute!'
ERROR: lib/flvtool2.rb:228
I noticed from the example provided in the help that the in / out paths were optional so i haven't used them yet, everything is located with the tool itself for testing purposes.
I may be way off base with my command line useage though. I have tried many different ways but can't quite get it, seems like i am missing a switch or something?
Again this is not my strong point and i've googled for hours trying to find information, but there isn't much out there and the wiki supposedly had some good examples but that seems to be gone unfortunately. Tried google cache but nothing is showing up for me there either.
Does anyone have any good reference points or examples? Or am i just running on the wrong platform? :-)
I'm on windows prototyping at the moment, will be moving over to linux shortly.
apologies for the length of this email...
Thanks,
Dunc
_______________________________________________ Flvtool2-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/flvtool2-users
