Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
Tblaster  
#1 Posted : Saturday, June 17, 2006 4:21:24 PM(UTC)
Tblaster

Rank: Member

Groups: Member
Joined: 6/12/2006(UTC)
Posts: 12

I am having some problems getting thumbnails from avi files through Media Processor. I get the following error:

Code:
COMObjectsNET.MediaProcessor.1 error 'e0000201' 
Can't load picture from file: X:\Web\wwwroot\test.avi. Internal error message:'[a:4]' 

Is it because the Media Processor does not cope with all the different video codecs? My test file has the following video codec:

DirectVobSub (auto-loading version)

And is it possible to have Media Processor return an error to my asp page instead of stopping the whole page?

Edited by user Wednesday, December 19, 2007 4:16:50 PM(UTC)  | Reason: Not specified

Andrew  
#2 Posted : Sunday, June 18, 2006 11:23:48 AM(UTC)
Andrew

Rank: Advanced Member

Groups: Member, Administration
Joined: 8/2/2003(UTC)
Posts: 876

Thanks: 2 times
Was thanked: 27 time(s) in 27 post(s)
First of all make sure that this codec is installed on the server. However sometimes Media Processor fails to load the file even if the codec is installed.

To process errors in ASP you need to use On Error Resume Next statement.

Code:
On Error Resume Next 
' ... call necessary code

' Check whether errors occurred.
If Err   0 Then
  ' ... error occurred, handle it here.
End If 

' To toggle errors back use this construction
On Error GoTo 0
' ...

Hope this helps.

Edited by user Wednesday, December 19, 2007 4:17:06 PM(UTC)  | Reason: Not specified

Tblaster  
#3 Posted : Monday, June 19, 2006 3:59:53 AM(UTC)
Tblaster

Rank: Member

Groups: Member
Joined: 6/12/2006(UTC)
Posts: 12

Thanks. I'll have a look at alle the codecs installed on the server, and see it the problem lies there.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.