
110
FLASH
MEDIA
SERVER
4.5
CONFIGURATION
AND
ADMINISTRATION
Administering the server
Last updated 11/28/2012
Checking video files
Checking FLV files created or modified with third-party tools
Third-party tools are available to create and modify FLV files, but some of the tools create files that do not comply with
the FLV standard. Common problems include bad timestamps in the FLV file, invalid
onMetaData
messages, bad
message headers, and corrupted audio and video. The FLVCheck tool can be used to analyze FLV files before they are
deployed on Flash Media Server. In addition, the tool can also add or update metadata to reflect file duration correctly.
The tool verifies that metadata is readable, specifies an accurate duration, and checks that the FLV file is seekable by
Flash Media Server. The tool supports unicode filenames.
Note:
The FLVCheck tool does not correct FLV file content corruption. The tool does fix metadata by scanning the
Duration and Can Seek To End metadata fields. The tool can then merge the server metadata with the data present in
the file.
Checking other video files
Flash Media Server supports playback and recording of H.264-encoded video and HE-AAC-encoded audio within an
MPEG-4–based container format. A subset of the MPEG-4 standards are supported. All MP4 files and Adobe F4V files
are part of the supported subset.
For MPEG-4–based container formats, use the FLVCheck tool to verify that the server can play back your files.
Note:
The FLVCheck tool does not correct corrupted H.264-encoded files or make any other fixes to MP4/F4V files.
Check a video file with the FLVCheck tool
The FLVCheck tool is a command line program; the executable is named flvcheck.
1
Open your operating system’s command prompt and change directories to
RootInstall
/tools.
2
Use the following syntax to run the FLVCheck tool:
flvcheck [-option] <file ...>
For example, to check two files:
flvcheck -f abc.flv ../test/123.flv
The following table describes the command line options available.
Option
Description
-f [ --file ]
file ...
Specifies the path to the video file(s) being checked. Relative paths may be used. (Avoid
using the “\\xd3 character; try the “/” character instead.)
-v [--verbose]
Sets the verbose flag.
-V [ --version ]
Prints version information.
-n [ --nobanner ]
Turns off header.
-h [ --help ]
Provides a description of options and an example.