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 : Tuesday, August 22, 2006 4:10:35 AM(UTC)
Tblaster

Rank: Member

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

I'm having some very serious problems with The Aurigma Media Processor. In short then I've created a code that runs through all video files on my server (>1000). The code uses Media Processor to get information about the clip and also create a screenshot. Everything works fine, but after having processed about 20-30 files then the code stops (without any errors) and suddenly my site won't work. If I try accessing any page on my server (php, asp or htm) then all I get is one of the following errors:
error '800a0007' Out of memory
Not enough storage is available to process this command.

And the only solutiong that I've found so far, so that the site runs as it should again, is to reboot the server. Have anybody else experienced the same problems and does anyone know of a solution to this problem?

Also, It takes minutes for the to run through the code for each file. Is this normal and something to do with the Media Processor? If, then I send all my pleases to the Aurigma team to create a new version that runs better with the modern serveres running Windows 2003 or better!

Code:

'Create instance of Aurigma Media Processors InfoRetriever
Dim objInfoRetriever
Set objInfoRetriever = Server.CreateObject("COMObjectsNET.InfoRetriever")

' Create instabce of Aurigma Media Processors
Dim objMediaProcessor
Set objMediaProcessor = Server.CreateObject("COMobjectsNET.MediaProcessor")

' Load file
MapPath_Sti	= Server.MapPath(Mappe & "/" & FuldSti)
objInfoRetriever.RetrieveInfo MapPath_Sti

MediaType 	= objInfoRetriever.MediaType
Width 		= objInfoRetriever.Width
Height		= objInfoRetriever.Height
Varighed	= objInfoRetriever.Duration
BitRate		= 0 ' objInfoRetriever.BitRate

If MediaType = 2 Then ' Video
	' Create a thumbnail for the video
	objMediaProcessor.LoadFromFile MapPath_Sti
	objMediaProcessor.StartTime = round(Varighed)/2
	objMediaProcessor.SmoothFactor = 50
	objMediaProcessor.OptimizationOn = True
	objMediaProcessor.Quality = 100
	objMediaProcessor.SaveToFileAsJpeg(MapPath_Sti & ".jpeg") ' Save to file
End If

' Clean Up
Set objInfoRetriever = Nothing
Set objMediaProcessor = Nothing

Edited by user Wednesday, December 19, 2007 3:07:58 PM(UTC)  | Reason: Not specified

Andrew  
#2 Posted : Wednesday, August 23, 2006 12:45:23 PM(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)
Media Processor relies on the third-party code to decode videos. Depending on file format it uses DirectShow, QuickTime, etc. If some of, say, DirectShow codecs is unstable Media Processor will not be able to handle this. So if it crashes, it does not mean that it is a fault of Media Processor.

But anyway, if you submit case with one of files which crashes, we will take a look into it.

Meanwhile I would recommend to configure isolation of your application as well as recycling to prevent other sites to stop working when problems with Media Processor are encountered. For more information about it, refer Microsoft docs. Also, there is a nice article that explains how to configure application recycling clearly:

http://www.windowsnetworking.co...-Information-Server.html

Hope this helps.

Edited by user Thursday, May 22, 2008 9:55:20 PM(UTC)  | Reason: Not specified

Tblaster  
#3 Posted : Monday, August 28, 2006 8:18:37 PM(UTC)
Tblaster

Rank: Member

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

All the video clips are .wmv files.

I now set up the code to display any errors and the processor returns the following message:
Not enough storage is available to complete this operation.

What can cause this error and what is the solution to this?
Andrew  
#4 Posted : Wednesday, August 30, 2006 6:36:15 PM(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)
Please submit case with one of WMV files that cause a problem.

Edited by user Thursday, May 22, 2008 10:02:02 PM(UTC)  | Reason: Not specified

Tblaster  
#5 Posted : Wednesday, August 30, 2006 7:59:00 PM(UTC)
Tblaster

Rank: Member

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

I've send a mail with some of the files that I'm working with. The files range from 500 kb to 10 mb and are all in the wmv format.
Tblaster  
#6 Posted : Wednesday, August 30, 2006 9:46:01 PM(UTC)
Tblaster

Rank: Member

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

I just tried disabeling the part of the code that creates the thumbnail but eventually (after running through some 30 video files which takes about 5 minutes) the same problem occurs. My only guess is that the component does not clear the memory and temp files after it finishes processing a file. Is this true?
Tblaster  
#7 Posted : Monday, September 4, 2006 6:59:29 PM(UTC)
Tblaster

Rank: Member

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

Do you have any status on the problem? I would be really happy if I could test my code on one of your servers so that I can find out if it is a server problem or not.
Users browsing this topic
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.