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

auto guess codec config for HEVC #12

Open
bmegli opened this issue Jan 12, 2020 · 0 comments
Open

auto guess codec config for HEVC #12

bmegli opened this issue Jan 12, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@bmegli
Copy link
Owner

bmegli commented Jan 12, 2020

Related to #11

It is possible to decode width/height/profile from bitstream.

For VAAPI - hardware refuses to work if:

  • FF_PROFILE_UNKNOWN is set when receiving data
  • width/height are set to 0

It seems enough however to set it to:

  • any HEVC profile (e.g. HEVC Main)
  • any width/height (even 1x1)

And the stream is decoded correctly.

This seems a bit hacky.

@bmegli bmegli added the enhancement New feature or request label Jan 12, 2020
bmegli added a commit to bmegli/network-hardware-video-decoder that referenced this issue Jan 12, 2020
- folow HVD interface change with optional decoder config

Related to bmegli/hardware-video-decoder#11
Related to bmegli/hardware-video-decoder#12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant