[Red5] Flashticle installation was : FLV File Format
Bob Ippolito
bob at redivi.com
Fri Jan 13 00:18:18 EST 2006
On Jan 12, 2006, at 9:12 PM, Frederic v. Bochmann wrote:
> On another note, would it be possible to seek randomly in a file
> and be
> able, from that cursor location, to find the start of the next FLV Tag
> packet? This could potentially be interesting to create a good enough
> solution that doesn't involve indexing of the keyframes.
It's certainly possible, but probably not a very good idea. There
are a enough knowable things about a FLV frame that makes it possible
to find one if you know you have a few.
It sure as hell wouldn't be anywhere near the simplest thing that
could possibly work, and it would likely require a bunch more hits to
the disk since you'd have to binary search for a timestamp. Indexing
on the other hand is trivial and it has very good performance
characteristics, at a small cost of maintaining a little metadata
somewhere or another.
-bob
More information about the Red5
mailing list