Anyone on the list have experience with the flvtool2 metadata injector? 
If so I have a few questions:

1) I've got some simple tag xml which is basically just a copy of the 
example that's the library is realeased with. However after running the 
tool and "injecting" the tags I get an undefined for the parameters when 
when the cuePoints are caught.

    Here's the command used in bash on OSX :

    flvtool2 -A -t redwings_tags.xml redwings.flv redwings_mod.flv

    Here's the xml I'm using:

<tags>
  <!-- an event cue point -->
  <metatag event="onCuePoint">
    <name>TestEvent1</name>
    <timestamp>333</timestamp>
    <parameters>
      <speaker>Peter</speaker>
      <says>Hello my Name is Peter.</says>
    </parameters>
    <type>event</type>
  </metatag>

  <!-- a navigation cue point -->
  <metatag event="onCuePoint">
    <name>TestEvent2</name>
    <timestamp>4791</timestamp>
    <parameters>
      <index>1</index>
      <title>Chapter 1</title>
    </parameters>
    <type>navigation</type>
  </metatag>

  <!-- a navigation cue point -->
  <metatag event="onCuePoint">
    <name>TestEvent2</name>
    <timestamp>9587</timestamp>
    <parameters>
      <index>2</index>
      <title>Chapter 2</title>
    </parameters>
    <type>navigation</type>
  </metatag>
</tags>

2) So another curious fact is that the overall size of my flv shrinks 
after injecting this metadata (the flv goes from 372 KB to 292 KB). 
Perhaps its not preserving the pre-existing metadata and I need to use 
an additional flag to do so.

3) If I can create cuePoints of type "navigation" I'm assuming that this 
little Ruby library is actually stamping a keyframe that be seeked to. 
Is this assumption correct?

Any thoughts would be greatly appreciated.

Brooks


_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to