| ; | |
| Object.defineProperty(exports, "__esModule", { value: true }); | |
| exports.getCrfForCodec = void 0; | |
| const client_1 = require("@remotion/renderer/client"); | |
| const log_1 = require("./log"); | |
| const getCrfForCodec = ({ crf, crfIsFromConfigFile, codec, indent, logLevel, }) => { | |
| if (crf === null || | |
| crf === undefined || | |
| !crfIsFromConfigFile || | |
| client_1.BrowserSafeApis.codecSupportsCrf(codec)) { | |
| return crf !== null && crf !== void 0 ? crf : null; | |
| } | |
| log_1.Log.warn({ indent, logLevel }, `The "${codec}" codec does not support CRF. Ignoring the CRF of ${crf} set in the config file.`); | |
| return null; | |
| }; | |
| exports.getCrfForCodec = getCrfForCodec; | |
Xet Storage Details
- Size:
- 693 Bytes
- Xet hash:
- f9daa26e860bf6a1368c207c562a5a28e24b8e7e7c55fe878ee95d1f7d397990
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.