I am trying to decode an H264 video stream coming in from the camera but I keep getting ERR_MORE_DATA and it is never able to reach to the decoding phase of the code.
Intel Atom E3950 (Apollo Lake)
Ubuntu 16.04 LTS
The setup required to run the Media-SDK is done by following documentation:
I am also able to run the sample projects provided on git successfully. Specifically, the sample_decode example is able to take in the raw H264 file and spit out the YUV format. This makes me assume there is no issue with missing drivers from Intel.
I also pulled the "decode" sample from tutorial and was able to run that and used it as my reference which I found at the following link:
I also read the steps required to setup the Media SDK on the following link:
But none of this works. When I run my code the MFXVideoSession_DecodeHeader(Session, &Bitstream, &Videoparam) returns ERR_MORE_DATA. The buffer that is being passed has around 32000 bytes of data, I was able to check this value in the debugger. And the code is never able to get to the point of decoding phase and stays stuck here.
How can I solve this problem?
I am not sure if the intel Media SDK supports real time decoding and I would like more insight on that too.
The API version that I am able to query in the code gives me that it has Version 1.28. The repository was cloned from github a month back.
Thanks in advance.
Thank you for your response.
Can you help me know where was this thread moved to. A link would be a great start. Also, if I need to post this to some other place, please let me know as the links above don't lead to the forums where I can ask such questions.
It looks like that this thread has already been moved to Embedded Products. Do I still need to do anything on my part for someone to respond to my question or just need to wait till they respond?
Thank you for contacting Intel Embedded Community.
Could you please verify if this situation persists in any of the following Operating System (OS)?
- Windows* 10 Enterprise (64-bit).
- Windows* IoT Core (32/64-bit).
- Wind River 8 Linux distribution (64-bit).
- Yocto Project* BSP tool-based embedded Linux distribution (64-bit).
- Android (64-bit) Marshmallow PV April 17.
- Android O ETA target Q2 ’18.
- Wind River VxWorks* 7.
We appreciate your cooperation.
Thank you for your response. Unfortunately, I cannot. However, when I was trying to build the Yocto image, I am facing some errors and the build fails. I can try and verify this on Yocto if I am able to build the Yocto image. Where can I post the Yocto errors? If you could provide me the link to that I would be grateful.
Also, by the time I can run the Yocto, is there a way you can help me debug the situation on Ubuntu.
Thanks for your answer.
The Yocto's consultations should be addressed as a reference to the channels listed in the following websites: