[Red5] [ot] FLV length in C#
mherres at UII.com
Wed Dec 14 09:23:49 EST 2005
If you are talking about the physical length (in bytes) of the file
itself, the following code will do that.
System.IO.FileStream theFLV =
int fileLength = theFLV.Length;
If you are talking about parsing the .flv to figure out the total size
of the video/audio bytes (minus header data), I am assuming you would
need to treat the .flv file as a collection of AMF objects and parse
Hope this helps,
From: Red5-bounces at osflash.org [mailto:Red5-bounces at osflash.org] On
Behalf Of Jim Tann
Sent: Wednesday, December 14, 2005 5:34 AM
To: Red5 at osflash.org
Subject: [Red5] [ot] FLV length in C#
A quick off topic question. Does anyone know how to retrieve the length
of an .FLV file with C#?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Red5