Quantcast
Channel: Intel® Software - Media
Viewing all articles
Browse latest Browse all 2185

sample_decode won't decode h264 header

$
0
0

Hello everybody,

I've recently started to work on a h264 streaming decoder and renderer. As I'm quite a beginner in those fields,I downloaded the Intel Media SDK code samples to figure out how it basically works. The sample_decode project seemed to be the perfect sample for me. However, when I try to use it, it keep looping infinitely in the InitMfxParams method found in pipeline_decode.cpp

After some debugging and investigations, I found out that the header decoding is failing.

On line 626, this always return MFX_ERR_MORE_DATA, which causes the endless loop.

  sts = m_pmfxDEC->DecodeHeader(&m_mfxBS, &m_mfxVideoParams);

I am using the following args : h264 -i s.mp4 -low_latency -r

With "s.mp4" being a h264 video file found here : http://www.h264info.com/clips.html

I am developing on Windows 10, VS2015. HD Graphics 530 with the latest drivers.

Do you have any idea of what's going wrong?

Thanks

 

Zone: 

Thread Topic: 

Help Me

Viewing all articles
Browse latest Browse all 2185

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>