openh264 icon indicating copy to clipboard operation
openh264 copied to clipboard

DecodeCurrentAccessUnit() failed (-1) in frame: 0 uiDId: 0 uiQId: 0

Open endeavour42 opened this issue 12 years ago • 3 comments

hi, i am trying to decode the attached elementary stream (very short as it contains just a few NAL units) and getting the following error when using CWelsDecoder::DecodeFrame2 on the very first frame:

"DecodeCurrentAccessUnit() failed (-1) in frame: 0 uiDId: 0 uiQId: 0"

is the stream bogus or am i doing something wrong (like not setting the decoder properly)?

https://www.dropbox.com/s/r0b49bew55zum4e/test.264.zip?dl=0

endeavour42 avatar Oct 27 '14 12:10 endeavour42

fwif, ffmpeg seems to be alright decoding this stream. is this a bug/limitation of openh264 or am i doing something wrong with the setup?

endeavour42 avatar Oct 27 '14 13:10 endeavour42

Thanks, mikekl. The bitstream uses some high profile tools, but openh264 now does not support such tools. We will add some high profile tools support in recent.

dongzha avatar Oct 28 '14 01:10 dongzha

it sounds like as of today openh264 can not be used with bitstreams created using built-in iPhone's/iPod's/iPad's encoder. i see no way lowering the profile/level in there: no matter what i am setting it to it insists on using "H264_High_AutoLevel". tried this on different iOS devices.

endeavour42 avatar Oct 28 '14 14:10 endeavour42