-2
A
回答
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));
除此之外,我认为你使用了错误的工具。
相关问题
- 1. 使用ffmpeg或表达式编码器的实时视频编码
- 2. 如何编写多频音频文件?
- 3. 如何判断音频/视频编解码器是否“好”?
- 4. App Store中禁止的音频/视频格式/编解码器
- 5. Aloha编辑器视频/音频插件
- 6. 在表达式编码器中指定音频输出语言
- 7. 如何使用VideoToolbox将音频和视频一起编码为h264格式?
- 8. html5音频编解码器
- 9. 我应该使用哪种视频和音频格式/编解码器?
- 10. 如何在android中以编程方式剪切或修剪音频歌曲?
- 11. 使用FFmpeg编写多线程视频和音频数据包
- 12. 适用于Android平台的音频/视频编解码器
- 13. python opencv不会使用视频编写器对象编写视频?
- 14. 使用接收器编码器编码音频
- 15. 使用ffmpeg编码没有音频的flv视频
- 16. ffmpeg:编码视频时如何循环播放音频?
- 17. 如何在Visual C中编码视频?
- 18. 快速编码视频编解码器?
- 19. 如何以编程方式从YouTube视频中提取音频?
- 20. 从哪里开始学习音频或视频编解码器?
- 21. 使用SHVC视频编码器
- 22. 如何编码服务器/客户端视频和音频流应用程序?
- 23. 剪切音频文件
- 24. Android:视频编码器
- 25. 用ffmpeg剪切视频。
- 26. C#视频编辑器?
- 27. 如何获得视频的视频编解码器属性?
- 28. 节点 - 如何编写音频文件
- 29. 如何编写DirectX音频推送源
- 30. 如何用OpenCV编写视频文件?