Hi,
We are trying to use latest HEVC encoder C66x_h265venc_01_00_00_44_ELF for live transcoding of SD stream running on 8 cores.
But we noticed that it works up to 30 mins and hangs randomly. Sometimes it hangs even in 1 minute.
We created the demo that reproduces the issue:
https://drive.google.com/file/d/0Byw88ezNrM71S3gyMFI4ZkRqNzg/view?usp=sharing
It should be run on 8 cores. Input to the encoder is generated and always the same.
The demo may hang very fast. But also it may hang after processing 100000 frames (about 30 min running on EVM).
Please review 1.log and 2.log
Each 100 frames demo outputs frame number with size and crc32 of the last frame.
In 1.log demo hanged after 68500 calls. In 2.log it hanged much faster after 15700.
If you compare the files you can see that before hanging it starts generating different output:
1.log | 2.log |
bytesGenerated=574 crc32=3093084694 -- CONTINUE WORKING... |
bytesGenerated=574 crc32=3093084694 -- HANGED |
So most likely because of some random factor (i.e. reading uninitialized memory, etc.) encoder hangs.
We do not see problems in our code.
Can you please help debugging the issue to find out where is the problem?
Regards,
Andrey Lisnevich