Variables | |
| var | kBitrateModeCBR = 0 |
| Constant Bitrate Encoding. | |
| var | kBitrateModeVBR = 1 |
| Variable Bitrate Encoding. | |
| var | kCompressModeRealTime = 0 |
| Real time speed compression. | |
| var | kCompressModeGood = 1 |
| Good Quality Compression. | |
| var | kCompressModeBest = 2 |
| Best Quality Compression. | |
| var | kKeyframeModeAuto = 0 |
| Automatic key frame placement. | |
| var | kKeyframeModeConstFrequency = 1 |
| Fixed key frame placement. | |
| var | kAudioCodecMp3 = 0 |
| MP3 Audio. | |
| var | kAudioCodecNellyMoser = 1 |
| Nellymoser Audio. | |
flixpub_constants.js, and used in the reference application to control output file encoding settings.flixpub_constants.js. To use the variables, you must add the file to your site and include it in your page by using a script tag, like this:<script type="text/javascript" src="flixpub_constants.js"></script>
flixpub_constants.js should come before other script tags that reference javascript files that use the publisher plug-in API. | var kBitrateModeCBR = 0 |
When VideoBitrateControlMode is set to kBitrateModeCBR, encoded video will have a constant bitrate.
| var kBitrateModeVBR = 1 |
When VideoBitrateControlMode is set to kBitrateModeVBR, encoded video will have a variable bitrate.
| var kCompressModeRealTime = 0 |
Use this variable with VideoCompressMode.
| var kCompressModeGood = 1 |
Use this variable with VideoCompressMode.
| var kCompressModeBest = 2 |
Use this variable with VideoCompressMode.
| var kKeyframeModeAuto = 0 |
Use this variable with VideoKeyFrameMode, it controls the behavior of VideoKeyFrameFrequency.
| var kKeyframeModeConstFrequency = 1 |
Use this variable with VideoKeyFrameMode, it controls the behavior of VideoKeyFrameFrequency.
| var kAudioCodecMp3 = 0 |
Use this variable with AudioCodecID.
| var kAudioCodecNellyMoser = 1 |
Use this variable with AudioCodecID.