oneam / h264bsd

A simple h264 software decoding library
Other
194 stars 52 forks source link

Decoder Error #7

Closed AmdEagle closed 6 years ago

AmdEagle commented 7 years ago

I am trying to decode stream of h264 NALUnits ( Uint8Array ). i get the following error in the console.

image

oneam commented 7 years ago

That error appears when the decoder checks that the stream is Constrained Baseline Profile (CBP) compliant.

Are you sure your input stream has been encoded using baseline profile? (Main and high profile are not supported by the decoder)

AmdEagle commented 7 years ago

Oh my stream is in main line profile. any decoder that is able to decode main line profile ? I read that webRTC decodes h264 is there any why that i could pass my byteStream and use the decoder WebRTC uses to decode my main profile stream.

SUGE2016 commented 6 years ago

why this decoder support "baseline profile" only? what limitations

oneam commented 6 years ago

The decoder itself was pulled from the Android open source project. It never had support for the features available in the H.264 main profile.

I didn't create the decoder itself. I simply wrapped it in a Foreign Function Interface and made it available on a few platforms.