Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting half decoded pictures. #1

Closed
padram39 opened this issue Jan 1, 2022 · 2 comments
Closed

Getting half decoded pictures. #1

padram39 opened this issue Jan 1, 2022 · 2 comments

Comments

@padram39
Copy link

padram39 commented Jan 1, 2022

I am using your h264 decoder to decode an inputstream, the thing is i am getting half decoded images , and by half decoded i mean the half of image is completly ok and other half is green / gray . any idea why this is happening?

@songbihai
Copy link
Owner

songbihai commented Jan 5, 2022

Please check if the i frame is received first

@padram39
Copy link
Author

padram39 commented Jan 6, 2022

The problem was that the fps of the VideoPacket and the decoder plus the size of video packet and size of video of decoder were not the same.
setting the same packet size for decoder and VideoPacket and the same fps make it work , now im getting full images on simulator , but still getting -12909 on the real device.

@padram39 padram39 closed this as completed Jan 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants