|
|
Rank: Member Groups: Member
Joined: 6/12/2006 Posts: 12 Points: 0
|
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:
Dim objInfoRetriever
Set objInfoRetriever = Server.CreateObject("COMObjectsNET.InfoRetriever")
Dim objMediaProcessor
Set objMediaProcessor = Server.CreateObject("COMobjectsNET.MediaProcessor")
MapPath_Sti = Server.MapPath(Mappe & "/" & FuldSti)
objInfoRetriever.RetrieveInfo MapPath_Sti
MediaType = objInfoRetriever.MediaType
Width = objInfoRetriever.Width
Height = objInfoRetriever.Height
Varighed = objInfoRetriever.Duration
BitRate = 0
If MediaType = 2 Then
objMediaProcessor.LoadFromFile MapPath_Sti
objMediaProcessor.StartTime = round(Varighed)/2
objMediaProcessor.SmoothFactor = 50
objMediaProcessor.OptimizationOn = True
objMediaProcessor.Quality = 100
objMediaProcessor.SaveToFileAsJpeg(MapPath_Sti & ".jpeg")
End If
Set objInfoRetriever = Nothing
Set objMediaProcessor = Nothing
|
|
 Rank: Advanced Member Groups: Administration
, Member
Joined: 8/2/2003 Posts: 705 Points: 96
|
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.com/articles_tutorials/Working-Application-Pools-Internet-Information-Server.htmlHope this helps. Sincerely yours, Andrew Simontsev from Aurigma Team
|
|
Rank: Member Groups: Member
Joined: 6/12/2006 Posts: 12 Points: 0
|
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?
|
|
 Rank: Advanced Member Groups: Administration
, Member
Joined: 8/2/2003 Posts: 705 Points: 96
|
Please submit case with one of WMV files that cause a problem. Sincerely yours, Andrew Simontsev from Aurigma Team
|
|
Rank: Member Groups: Member
Joined: 6/12/2006 Posts: 12 Points: 0
|
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.
|
|
Rank: Member Groups: Member
Joined: 6/12/2006 Posts: 12 Points: 0
|
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?
|
|
Rank: Member Groups: Member
Joined: 6/12/2006 Posts: 12 Points: 0
|
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.
|
|
|
Guest |