GithubHelp home page GithubHelp logo

Comments (10)

huili2 avatar huili2 commented on August 17, 2024

I cannot quite follow what you mean by "returned normally, the value is null". Could u please give more information about it?

from openh264.

Icemic avatar Icemic commented on August 17, 2024

I mean, i use
pDecoder->DecodeFrame2(pBuf, nBufferSize, pData, &sDstBufInfo);

it returns dsNoParamSets, but pdata[0],pdata[1],pdata[2] is NULL
the value of each member in sDstBufInfo is 0

I dont know what happened

from openh264.

huili2 avatar huili2 commented on August 17, 2024

"returns dsNoParamSets" indicates no SPS or PPS is available. This surely make the decoder unable to decode the input bitstream and get what you want.
I suggest you give the SPS&PPS to decoder at the very first before any VCL packet.

from openh264.

huili2 avatar huili2 commented on August 17, 2024

Is there any problems yet? If not, I'll close it one day later.

from openh264.

Icemic avatar Icemic commented on August 17, 2024

In fact, it hasn't been solved.
I have nothing to do with the problem, but to know it cannot decode frames encoded with x264 correctly.

from openh264.

huili2 avatar huili2 commented on August 17, 2024

I cannot download your file, so unable to look into it. But from the information, it may be caused by error status of the decoder. Do you initialize the decoder with correct information, pass in all required sps/pps data? with this, I think for Baseline profile, the decoder should decode it.

from openh264.

Icemic avatar Icemic commented on August 17, 2024

the file before can be downloaded at http://icemaple.info/h264/tmp.264
and the enc and dec source code is http://icemaple.info/h264/BKUCI.zip

I cannot find what is wrong

from openh264.

huili2 avatar huili2 commented on August 17, 2024

I checked the data, and found that the bitstream is of high profile from its SPS information. However, this open source supports only constrained baseline profile.

from openh264.

Icemic avatar Icemic commented on August 17, 2024

Thx for your help!

And, do you have plan to support high profile in future?

from openh264.

huili2 avatar huili2 commented on August 17, 2024

Welcome. For other profiles, till now, it is not in the short-term plan.

from openh264.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.