[FLVTool2-users] Timestamps

David Liontooth liontooth at cogweb.net
Sun Feb 11 01:39:46 EST 2007


I'm trying to set cue points every ten seconds in this file, but the
times I give don't appear to be accepted. What am I missing?

Dave


# flvtool2 -AUPt cuepoints.xml test.flv test-flv2.flv

<?xml version="1.0"?>
<tags>
  <!-- a navigation cue point -->
  <metatag event="onCuePoint">
    <name>00:00:10</name>
    <timestamp>10</timestamp>
    <type>navigation</type>
  </metatag>
  <metatag event="onCuePoint">
    <name>00:00:20</name>
    <timestamp>20</timestamp>
    <type>navigation</type>
  </metatag>
  <metatag event="onCuePoint">
    <name>00:00:30</name>
    <timestamp>30</timestamp>
    <type>navigation</type>
  </metatag>
  <metatag event="onCuePoint">
    <name>00:00:40</name>
    <timestamp>40</timestamp>
    <type>navigation</type>
  </metatag>
</tags>

test.flv:
  hasKeyframes: true
  cuePoints:
    -
      name: 00:00:10
      time: 0
      type: navigation
    -
      name: 00:00:20
      time: 0
      type: navigation
    -
      name: 00:00:30
      time: 0
      type: navigation
    -
      name: 00:00:40
      time: 0
      type: navigation

 audiodatarate: 57.3096971039937
  hasVideo: true
  stereo: true
  canSeekToEnd: false
  framerate: 30
  audiosamplerate: 22000
  videocodecid: 2
  datasize: 16688798
  lasttimestamp: 234.668
  audiosamplesize: 16
  audiosize: 1779962
  hasAudio: true
  audiodelay: 0
  videosize: 14905334
  metadatadate: Sat Feb 10 22:35:05 GMT-0800 2007
  metadatacreator: inlet media FLVTool2 v1.0.6 -
http://www.inlet-media.de/flvtool2
  lastkeyframetimestamp: 233.567
  height: 480
  filesize: 16752971
  hasMetadata: true
  keyframes:
    times:
      - 0
      - 8.342
      - 16.683
      - 25.025
      - 33.367
      - 41.708
      - 50.05
      - 58.392
      - 66.733
      - 75.075
      - 83.417
      - 91.758
      - 100.1
      - 108.442
      - 116.783
      - 125.125
      - 133.467
      - 141.808
      - 150.15
      - 158.492
      - 166.833
      - 175.175
      - 183.517
      - 191.858
      - 200.2
      - 208.542
      - 216.883
      - 225.225
      - 233.567
    filepositions:
      - 2329
      - 684268
      - 1286529
      - 1886366
      - 2494184
      - 3087977
      - 3667805
      - 4263156
      - 4849257
      - 5434442
      - 6033811
      - 6640513
      - 7218646
      - 7800925
      - 8393183
      - 8983161
      - 9577161
      - 10177756
      - 10775931
      - 11364775
      - 11952305
      - 12529296
      - 13115267
      - 13703791
      - 14299387
      - 14888270
      - 15476281
      - 16062278
      - 16658886
  audiocodecid: 2
  videodatarate: 505.495764228612
  duration: 234.701




More information about the Flvtool2-users mailing list