如何解决nreco.videoconverter许可证? [英] How to solve nreco.videoconverter license?

查看:330
本文介绍了如何解决nreco.videoconverter许可证?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Windows窗体应用程序中,我需要来自视频的缩略图,我使用Nreco,它告诉我:



In Windows forms applicatoins, I need thumbnails from a video, I used Nreco, and it tells me this:

System.Exception: 'Commercial license key is required (https://www.nrecosite.com/video_converter_net.aspx)'





什么我试过了:





What I have tried:

var ffMpeg = new NReco.VideoConverter.FFMpegConverter();
ffMpeg.GetVideoThumbnail(videoFile.FullName, @"D:\2.jpg", 5);//error here
pictureBox1.Image =Image.FromFile( @"D:\2.jpg");

推荐答案

您只需要获得您打算使用的产品的有效许可证,这显然不是免费的。
You just have to get a valid license for the product you intend to use, and which is obviously not free.


我刚刚遇到这个问题。



这是因为我无意中安装了
I just encountered this issue.

It was because I inadvertently nuget installed
NReco.VideoConverter.LT

而不是

NReco.VideoConverter





LT版本(支持Mono / .NET Core)需要许可证。



一旦我引用了正确的版本,它就开始工作了。



The LT version (supports Mono/.NET Core) requires a license.

Once I referenced the correct version it started working.


这篇关于如何解决nreco.videoconverter许可证?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆