Exception when using h265 encoding #732
Replies: 3 comments 2 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 , Make sure that "AxisH265DecoderSetupX64" is installed on the system where you are facing the issues. Not sure if this can be a problem regarding the decoder licenses: Could you please let me know which camera model and Axis OS version you're using? You may need to provide a small sample(GitHub repository) based on our AXIS Media Control SDK samples where the issue is reproducible. |
Beta Was this translation helpful? Give feedback.
-
Hello,
I work for a company that uses your cameras for industrial applications. We are developing a streaming application in C# using your SDK and with Axis cameras. I followed the example code in the samples folder of the SDK. Everything works fine when showing the live and while recording, but sometimes when trying to play back the recordings an exception is thrown and the application crashes. From the windows event logger I found that the exception is thrown by the AxH265DecX64.dll, which I assume performs the decoding of h265 encoded videos. I noticed that before that happens the video I am trying to play seems to not start right away.
Do you know how I can solve this problem? Is there a way to handle the exception?
The streaming profile uses h265 encoding and also in the program I am using the same format to record the video.
The problem occurs also with h264, but not if I use MJPEG, which I cannot use for the limited bandwidth.
I found this post that explains what seems to be the same problem, but no answer was given: https://github.com/orgs/AxisCommunications/discussions/617
Here's the crash event
![Screenshot 2024-08-05 145121](https://private-user-images.githubusercontent.com/17797279/355228225-2e2022c1-c48f-4441-a2d2-ac26aa6d9b11.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNjMxNTUsIm5iZiI6MTczOTE2Mjg1NSwicGF0aCI6Ii8xNzc5NzI3OS8zNTUyMjgyMjUtMmUyMDIyYzEtYzQ4Zi00NDQxLWEyZDItYWMyNmFhNmQ5YjExLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDA0NDczNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWYxNjEyZTE5MjA4ZDc1YjAyZmU4NGIwMWNjMmQzMTA0ZTczOTkxMzNiMmMyNmIyMDJjYjQxNjZiMTM0Yzg0NWEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.R-kQg7uZo8woEdlTlIpOhG9bUSk0GjQZ9XOOioAXDHE)
Thank you in advance.
Beta Was this translation helpful? Give feedback.
All reactions