VideoStream.fromJson constructor
VideoStream.fromJson(
- Map _json
Implementation
VideoStream.fromJson(core.Map _json)
: this(
allowOpenGop: _json.containsKey('allowOpenGop')
? _json['allowOpenGop'] as core.bool
: null,
aqStrength: _json.containsKey('aqStrength')
? (_json['aqStrength'] as core.num).toDouble()
: null,
bFrameCount: _json.containsKey('bFrameCount')
? _json['bFrameCount'] as core.int
: null,
bPyramid: _json.containsKey('bPyramid')
? _json['bPyramid'] as core.bool
: null,
bitrateBps: _json.containsKey('bitrateBps')
? _json['bitrateBps'] as core.int
: null,
codec:
_json.containsKey('codec') ? _json['codec'] as core.String : null,
crfLevel: _json.containsKey('crfLevel')
? _json['crfLevel'] as core.int
: null,
enableTwoPass: _json.containsKey('enableTwoPass')
? _json['enableTwoPass'] as core.bool
: null,
entropyCoder: _json.containsKey('entropyCoder')
? _json['entropyCoder'] as core.String
: null,
frameRate: _json.containsKey('frameRate')
? (_json['frameRate'] as core.num).toDouble()
: null,
gopDuration: _json.containsKey('gopDuration')
? _json['gopDuration'] as core.String
: null,
gopFrameCount: _json.containsKey('gopFrameCount')
? _json['gopFrameCount'] as core.int
: null,
heightPixels: _json.containsKey('heightPixels')
? _json['heightPixels'] as core.int
: null,
pixelFormat: _json.containsKey('pixelFormat')
? _json['pixelFormat'] as core.String
: null,
preset: _json.containsKey('preset')
? _json['preset'] as core.String
: null,
profile: _json.containsKey('profile')
? _json['profile'] as core.String
: null,
rateControlMode: _json.containsKey('rateControlMode')
? _json['rateControlMode'] as core.String
: null,
tune: _json.containsKey('tune') ? _json['tune'] as core.String : null,
vbvFullnessBits: _json.containsKey('vbvFullnessBits')
? _json['vbvFullnessBits'] as core.int
: null,
vbvSizeBits: _json.containsKey('vbvSizeBits')
? _json['vbvSizeBits'] as core.int
: null,
widthPixels: _json.containsKey('widthPixels')
? _json['widthPixels'] as core.int
: null,
);