2012-03-26 6 views

答えて

1

Hereあなたに役立つかもしれない何かである:

それ以外
// Create a media item and get a pointer to the inital source. 
MediaItem item = new MediaItem(@"c:\users\Public\Videos\Sample Videos\Wildlife.wmv"); 
Source source = item.Sources[0]; 

// Change the first clip so that instead of spanning the entire file 
// I'm just going to encode the bit from 5 to 10 seconds. 
source.Clips[0].StartTime = new TimeSpan(0, 0, 5); 
source.Clips[0].EndTime = new TimeSpan(0, 0, 10); 

// Also add the bit from 20 to 30 seconds from the original file. 
TimeSpan secondClipStart = new TimeSpan(0,0,20); 
TimeSpan secondClipEnd = new TimeSpan(0,0,30); 
source.Clips.Add(new Clip(secondClipStart, secondClipEnd)); 

、私はあなたが間違ったツールを使用していると思います。

関連する問題