Video playback stuck at opening and does not recover #818
-
Good morning, I'm having an issue with the AMC SDK. I'm developing a streaming application in C#, which shows the live stream of 5 different cameras and allows then the user to record and playback the videos. Everything works, but something strange happens after some time of using the playback function. Basically if I give the command play and stop in rapid sequence, at least one of the 5 displays stops working. I have a listener on the status change that shows a loading screen, and what happens in the "faulty" AMC instance is that it stays in the status However, when I tested the solution on a bigger screen (meaning bigger Axis displays) the solution did not work anymore. What happens is that the faulty class, even after resetting it, stayed in the "OPENING" status and after trying to play other files the problem spreads to the other 4 classes as well. Also, If I continue trying to reset and play different videos, the Axis classes reach a point where they stay in status 0. FYI: the cameras are 5 AXIS F2135-RE Fisheye Sensor connected to 2 AXIS F9114 Main Unit. The version of the firmware is the latest and the same goes for the SDK version (7.52). The files I play are the ones I obtain untouched from the recording (.asf videos) Thank you for your support. Regards, |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 17 replies
-
This automatically generated reply acts as a friendly reminder. Answers to your questions will most often come from the community, from developers like yourself. You will, from time to time, find that Axis employees answers some of the questions, but this is not a guarantee. Think of the discussion forum as a complement to other support channels, not a replacement to any of them. If your question remains unanswered for a period of time, please revisit it to see whether it can be improved by following the guidelines listed in Axis support guidelines. |
Beta Was this translation helpful? Give feedback.
-
Hi @simonebarattin , |
Beta Was this translation helpful? Give feedback.
-
Hi, Are you using the default renderer, EVR? You could try with VMR9 and see if that makes a difference. Run the attached Axdiag.exe.
Also, when one instance is stuck in opening. Locate the process in Windows task manager. Right click on the process and select Create memory dump file. Share the dumpfile. Best regards |
Beta Was this translation helpful? Give feedback.
-
Hi, If you dump the main process, I can open the dump and see where the deadlock has occured. Seems likely though that it, like in my case, has deadlock in quartz.dll which is Directshow. We have noticed that VMR9-renderer has problems to render high resolution. That's why we changed to EVR as default renderer in AMC What kind of problems do you get with EVR? |
Beta Was this translation helpful? Give feedback.
-
Sorry, I just forgot to attach the AMCTestTool file, it should be attached now. |
Beta Was this translation helpful? Give feedback.
Sorry, I just forgot to attach the AMCTestTool file, it should be attached now.
The good news is that the dmp-file does show a crash in the h265-decoder (same crash could potentially happen in h264 too). I have attached a new h265 decoder, version 7.1.1.0, which should solve this crash.
Try with this decoder and we'll see where that takes us.
AMCTestTool.zip
Uploading AxisH265DecoderSetupX64.zip…