我正在尋找實現從輸入視頻中檢索單個幀的功能,因此我可以將其用作縮略圖。如何在.Net中獲得視頻縮略圖?
沿着這些線路的東西應該工作:
// filename examples: "test.avi", "test.dvr-ms"
// position is from 0 to 100 percent (0.0 to 1.0)
// returns a bitmap
byte[] GetVideoThumbnail(string filename, float position)
{
}
有誰知道如何在.net 3.0做到這一點?
正確的解決方案將是該功能的「最佳」實現。 避免選擇空白幀的獎勵點數。
任何全酸味ce代碼示例? – Kiquenet 2013-11-29 18:36:24