Click or drag to resize
XDL

XVideoEncoderSetTimestampReference(Int64, Boolean, DateTime, Boolean) Method

기본 동영상 프로그램의 메타데이터 기준 시각을 설정한다.

Namespace: Pixoneer.NXDL.NXVideo
Assembly: NXVideo (in NXVideo.dll) Version: 2.0.3.38
Syntax
C#
public void SetTimestampReference(
	long inputPts,
	bool streamTimeBase,
	DateTime timestamp,
	bool bSetStartPts
)

Parameters

inputPts  Int64
기준 PTS. 입력 PTS로 인코더에 넘겨주는 타임스탬프이므로 실제 인코딩 스트림 타임스탬프와 단위가 다를 수 있다.
streamTimeBase  Boolean
PTS를 비디오 프레임 순번이나 밀리초(실시간)이 아닌 스트림 시간 기준(예: MPEG-2 90kHz)으로 설정한 경우를 나타낸다.
timestamp  DateTime
기준 시각.
bSetStartPts  Boolean
이 값이 참이면 기준 PTS를 인코딩 동영상의 시작 PTS로 설정한다.
See Also