 | XVideoEncoderEncodeVideoFrame Method (XFramePicture, Int64) |
영상 프레임을 지정한 PTS를 이용하여 인코딩한다.
Namespace:
Pixoneer.NXDL.NXVideo
Assembly:
NXVideo (in NXVideo.dll) Version: 1.2.817.72
Syntaxpublic bool EncodeVideoFrame(
XFramePicture frame,
ref long pts
)
Parameters
- frame
- Type: Pixoneer.NXDL.NXVideoXFramePicture
영상 프레임. - pts
- Type: SystemInt64
[In/Out] 프레임 번호와 같은 입력 타임스탬프를 지정하고 실제 동영상의 PTS를 얻어온다.
XVideoChannel.InvalidPts를 입력으로 주면 인코더에서 인코딩 파라미터에 따라 자동으로 PTS를 할당한다.
Return Value
Type:
Boolean 인코딩 성공 여부.
See Also