C# 클래스 Timelapser.Recorder

파일 보기 프로젝트 열기: evercam/Timelapse 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
BashFile string
FfmpegExePath string
chunkIndex int[]

공개 메소드들

메소드 설명
CreateVideoChunks ( string bashFile, bool update_info = true ) : void
Recorder ( Timelapse timelapse ) : System
Start ( ) : void
UpdateVideoInfo ( string movieName ) : TimelapseVideoInfo

보호된 메소드들

메소드 설명
CalculateChunckCreateTime ( int fileCount, int interval, int snapshotCount ) : bool
ConcatenateVideoSingleImage ( string mp4FileName, string tempMp4FileName, string baseMp4FileName, string tempVideoFileName, string imageFile ) : void
CopyFfmpeg ( ) : string
CreateBashFile ( string bashFilePath, int frame_per_sec, int interval, string imagesPath, string tsPath, int start_number ) : void
CreateConfigFile ( string mp4File, string newMp4File, string txtFileName ) : void
CreateNewVideoChunk ( string bashFile, int start_number ) : void
CreateVideoFromImages ( string output, string baseOutput ) : TimelapseVideoInfo
DownloadSnapshot ( ) : string
ExitProcess ( ) : void
GenerateVideoSingleImage ( string output, string baseOutput, string imageFile ) : void
GetTsFileIndex ( string tsPath ) : int[]
RunBash ( string parameters ) : void
RunProcess ( string parameters ) : string
updateMenifiest ( string tsPath, string fileName, int fileIndex ) : void

비공개 메소드들

메소드 설명
MakePoster ( string filename ) : void
RecordTimelapse ( ) : void
WatermarkVideo ( string input, string output ) : void

메소드 상세

CalculateChunckCreateTime() 보호된 메소드

protected CalculateChunckCreateTime ( int fileCount, int interval, int snapshotCount ) : bool
fileCount int
interval int
snapshotCount int
리턴 bool

ConcatenateVideoSingleImage() 보호된 메소드

protected ConcatenateVideoSingleImage ( string mp4FileName, string tempMp4FileName, string baseMp4FileName, string tempVideoFileName, string imageFile ) : void
mp4FileName string
tempMp4FileName string
baseMp4FileName string
tempVideoFileName string
imageFile string
리턴 void

CopyFfmpeg() 보호된 메소드

protected CopyFfmpeg ( ) : string
리턴 string

CreateBashFile() 보호된 메소드

protected CreateBashFile ( string bashFilePath, int frame_per_sec, int interval, string imagesPath, string tsPath, int start_number ) : void
bashFilePath string
frame_per_sec int
interval int
imagesPath string
tsPath string
start_number int
리턴 void

CreateConfigFile() 보호된 메소드

protected CreateConfigFile ( string mp4File, string newMp4File, string txtFileName ) : void
mp4File string
newMp4File string
txtFileName string
리턴 void

CreateNewVideoChunk() 보호된 메소드

protected CreateNewVideoChunk ( string bashFile, int start_number ) : void
bashFile string
start_number int
리턴 void

CreateVideoChunks() 공개 메소드

public CreateVideoChunks ( string bashFile, bool update_info = true ) : void
bashFile string
update_info bool
리턴 void

CreateVideoFromImages() 보호된 메소드

protected CreateVideoFromImages ( string output, string baseOutput ) : TimelapseVideoInfo
output string
baseOutput string
리턴 BLL.Entities.TimelapseVideoInfo

DownloadSnapshot() 보호된 메소드

protected DownloadSnapshot ( ) : string
리턴 string

ExitProcess() 보호된 메소드

protected ExitProcess ( ) : void
리턴 void

GenerateVideoSingleImage() 보호된 메소드

protected GenerateVideoSingleImage ( string output, string baseOutput, string imageFile ) : void
output string
baseOutput string
imageFile string
리턴 void

GetTsFileIndex() 보호된 정적인 메소드

protected static GetTsFileIndex ( string tsPath ) : int[]
tsPath string
리턴 int[]

Recorder() 공개 메소드

public Recorder ( Timelapse timelapse ) : System
timelapse BLL.Entities.Timelapse
리턴 System

RunBash() 보호된 메소드

protected RunBash ( string parameters ) : void
parameters string
리턴 void

RunProcess() 보호된 메소드

protected RunProcess ( string parameters ) : string
parameters string
리턴 string

Start() 공개 메소드

public Start ( ) : void
리턴 void

UpdateVideoInfo() 공개 메소드

public UpdateVideoInfo ( string movieName ) : TimelapseVideoInfo
movieName string
리턴 BLL.Entities.TimelapseVideoInfo

updateMenifiest() 보호된 메소드

protected updateMenifiest ( string tsPath, string fileName, int fileIndex ) : void
tsPath string
fileName string
fileIndex int
리턴 void

프로퍼티 상세

BashFile 공개적으로 프로퍼티

public string BashFile
리턴 string

FfmpegExePath 공개적으로 프로퍼티

public string FfmpegExePath
리턴 string

chunkIndex 공개적으로 프로퍼티

public int[] chunkIndex
리턴 int[]