Click or drag to resize
XDL

XVideoEncoderSetTimestampReference(Int32, Int64, Boolean, DateTime, Boolean) Method

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

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

Parameters

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

Return Value

Boolean
See Also