Aurigma Forums
»
Legacy Products
»
Archive
»
Other Products
»
Media Processor InfoRetriever freezes asp page
Rank: Member
Groups: Member
Joined: 6/12/2006(UTC) Posts: 12
|
I am having some problems with retrieving information from varrious video files from one asp page. After the information has been collected from the first file (test.wmv), the page stops responding (as if it is still loading) and the media processor somehow locks the file second file (test.avi). Meaning that I can't delete the file or do anything else with it, untill I reboot the server or wait a long time (> 1 hour). Below is the code that I am running. I suspect the problem occurs when the loop runs "objInfoRetriever.RetrieveInfo" for the second time. Thanks in advance! Code:' Test files
Dim file_arr(3)
file_arr(0) = "test.wmv"
file_arr(1) = "test.avi"
file_arr(2) = "test.mpeg"
file_arr(3) = "test.asx"
'Create instabce of Aurigma Media Processors InfoRetriever
Dim objInfoRetriever
Set objInfoRetriever = Server.CreateObject("COMObjectsNET.InfoRetriever")
For i = 0 To UBound(file_arr)
' Load file
objInfoRetriever.RetrieveInfo Server.MapPath(file_arr(i))
MediaType = objInfoRetriever.MediaType
Width = objInfoRetriever.Width
Height = objInfoRetriever.Height
Duration = objInfoRetriever.Duration
Response.write file_arr(i) & " (MediaType: " & MediaType & " Dimensions: " & Width & "x" & Height & ", Duration: " & Duration & ")"
Response.flush
Next
Edited by user Wednesday, December 19, 2007 4:22:46 PM(UTC)
| Reason: Not specified
|
|
|
|
Aurigma Forums
»
Legacy Products
»
Archive
»
Other Products
»
Media Processor InfoRetriever freezes asp page
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.