주 메뉴 열기

wwiki β

바뀜

FFmpeg 개발

208 바이트 추가됨, 2020년 5월 31일 (일) 04:06
av_parser_parse2
* uint8_t **poutbuf
* int *poutbuf_size
* const uint8_t *buf: 인코딩된 데이터
* int buf_size
* int64_t pts
* int64_t dts
* int64_t pos)
return: int
s = av_parser_init(codec->id);
 
avctx = avcodec_alloc_context3(codec);
 
ret = av_parser_parse2(s, avctx, &pkt->data, &pkt->size, data, data_size, AV_NOPTS_VALUE, AV_NOPTS_VALUE, 0);
==== Core functions/structures. ====
편집
2,431