can JockerSoft.Media read/get video file from remote location?

Posted by Lynx on Stack Overflow See other posts from Stack Overflow or by Lynx
Published on 2012-09-10T03:36:19Z Indexed on 2012/09/10 3:37 UTC
Read the original article Hit count: 202

Filed under:
|
|

here is the code for JockerSoft.Media

// Path of the video and frame storing path
string _videopath = "http://www.test.com/Video/test.avi"; //"C:\\test.avi";
string _imagepath = "C:\\test.jpg"
Bitmap bmp = FrameGrabber.GetFrameFromVideo(_videopath, 0.1d);
bmp.Save(_imagepath, System.Drawing.Imaging.ImageFormat.Gif);
// Save directly frame on specified location
FrameGrabber.SaveFrameFromVideo(_videopath, 0.1d, _imagepath);

it work perfectly is the video file is from my own computer, but when i try to get video file from remote location it not getting the frame. well, all the example is for windwos form app and i trying to use this for web-application. is there maybe an additional coding that enable me to use jockersoft to grab a video frame from remote location?

here is the error that i got:

Attempted to access an unloaded appdomain. (Exception from HRESULT: 0x80131014)

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.AppDomainUnloadedException: Attempted to access an unloaded appdomain. (Exception from HRESULT: 0x80131014)

New Learner, please guide me..

© Stack Overflow or respective owner

Related posts about c#

Related posts about ASP.NET