Here are the examples of the csharp api class hdsdump.F4FOldMethod.WriteMetadata(string) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Example 7

1. Example

Project: hdsdump
Source File: F4FOldMethod.cs
View license
private void WriteFlvHeader(string outFile) {
            filesize = 0;
            byte[] flvHeader = new byte[] { 0x46, 0x4c, 0x56, 0x01, 0x00, 0x00, 0x00, 0x00, 0x09, 0x00, 0x00, 0x00, 0x00 };
            if (hasVideo) flvHeader[4] |= 0x01;
            if (hasAudio) flvHeader[4] |= 0x04;
            Write2File(outFile, ref flvHeader, FileMode.Create);
            if (metadata) WriteMetadata(outFile);

            FLVHeaderWritten = true;