nv-video-avc-paramd
v1.0.0
Published
nv-video-avc-paramd ======================= - format avc codecs param-string - it is JUST 3 const json
Downloads
2
Readme
nv-video-avc-paramd
- format avc codecs param-string
- it is JUST 3 const json
install
- npm install nv-video-avc-paramd
usage
const x = require("nv-video-avc-paramd");
example
> x("avc1.4d002a")
AVCParamD { profile: 'main', level: 4.2 }
>
> x({ profile: 'main', level: 4.2 })
'avc1.4d002a'
>
> x('main',4.2)
'avc1.4d002a'
>
> x.HELP()
{
AVC_FULLNAME_PROFILE_OPTS: {
constrained_baseline: '4240',
baseline: '4200',
extended: '5800',
main: '4d00',
high: '6400',
progressive_high: '6408',
constrained_high: '640c',
high10: '6e00',
high422: '7a00',
high444_predictive: 'f400',
high10_intra: '6e10',
high422_intra: '7a10',
high444_intra: 'f410',
cavlc444_intra: '4400',
scalable_baseline: '5300',
scalable_constrained_baseline: '5304',
scalable_high: '5600',
scalable_constrained_high: '5604',
scalable_high_intra: '5620',
stereo_high: '8000',
multiview_high: '7600',
multiview_depth_high: '8a00'
},
AVC_ABBR_PROFILE_OPTS: {
cbp: '4240',
bb: '4200',
xp: '5800',
mp: '4d00',
hip: '6400',
phip: '6408',
chp: '640c',
hi10p: '6e00',
hi422p: '7a00',
hi444pp: 'f400',
hi10ip: '6e10',
hi422ip: '7a10',
hi444ip: 'f410',
cavlc444ip: '4400',
sbp: '5300',
scbp: '5304',
schp: '5600',
scchp: '5604',
schip: '5620',
sthp: '8000',
mhp: '7600',
mdhp: '8a00'
},
AVC_PROFILE_VALUE_OPTS: [
'4240', '4200', '5800',
'4d00', '6400', '6408',
'640c', '6e00', '7a00',
'f400', '6e10', '7a10',
'f410', '4400', '5300',
'5304', '5600', '5604',
'5620', '8000', '7600',
'8a00'
]
}
METHODS
APIS
LICENSE
- ISC