
5.17 Encoding Statistics 71
5.17 Encoding Statistics
Functions
• on2sc encoding_status_GetAverageBitrate (const FLIX2HANDLE flix, int32_t ∗pBitrate)
Retrieve the encoder’s average (video) bitrate.
• on2sc encoding_status_GetAverageFramesize (const FLIX2HANDLE flix, int32_t ∗pFramesize)
Retrieve the encoder’s average (video) frame size.
• on2sc encoding_status_GetMaximumFramesize (const FLIX2HANDLE flix, int32_-
t ∗pMaxFramesize)
Retrieve the encoder’s maximum (video) frame size.
• on2sc encoding_status_GetMinimumFramesize (const FLIX2HANDLE flix, int32_-
t
∗pMinFramesize)
Retrieve the encoder’s minimum (video) frame size.
• on2sc encoding_status_GetTotalFrames (const FLIX2HANDLE flix, int32_t ∗pTotalFrames)
Retrieve the total number of (video) frames encoded.
• on2sc encoding_status_GetElapsedTime (const FLIX2HANDLE flix, int32_t ∗pElapsedTime)
Retrieve the total elapsed encode time.
• on2sc encoding_status_GetEndTime (const FLIX2HANDLE flix, int32_t ∗pEndTime)
Retrieve the encode completion time.
• on2sc encoding_status_GetStartTime (const FLIX2HANDLE flix, int32_t ∗pStartTime)
Retrieve the encode start time.
• on2sc encoding_status_PercentComplete (const FLIX2HANDLE flix, int32_t ∗percent)
Retrieve the percent of the encode complete.
5.17.1 Function Documentation
5.17.1.1 on2sc encoding_status_GetAverageBitrate (const FLIX2HANDLE flix, int32_t ∗ pBitrate)
Retrieve the encoder’s average (video) bitrate.
Value is in bits per second (bps).
Parameters:
← flix Handle to the flix engine returned from Flix2_Create() or Flix2_CreateEx()
→ pBitrate Storage location to receive the result
Return values:
ON2_OK on success
ON2_INVALID_PARAMS should one or more of the preconditions fail
Generated on Tue Jul 20 17:39:03 2010 for Flix Engine Linux by Doxygen
Komentarze do niniejszej Instrukcji