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

Driver aborts when encoding H.264 at level 6 or higher #307

Closed
fhvwy opened this issue Nov 30, 2017 · 2 comments
Closed

Driver aborts when encoding H.264 at level 6 or higher #307

fhvwy opened this issue Nov 30, 2017 · 2 comments

Comments

@fhvwy
Copy link
Contributor

fhvwy commented Nov 30, 2017

Setting level_idc to 60 (for level 6) gives:

ffmpeg_g: i965_avc_encoder_common.c:226: i965_avc_get_max_mv_len: Assertion `0' failed.
Aborted
fhvwy added a commit to fhvwy/intel-vaapi-driver that referenced this issue Nov 30, 2017
Fixes intel#307.

Signed-off-by: Mark Thompson <sw@jkqxz.net>
fhvwy added a commit to fhvwy/intel-vaapi-driver that referenced this issue Dec 2, 2017
Fixes intel#307.

Signed-off-by: Mark Thompson <sw@jkqxz.net>
fhvwy added a commit to fhvwy/intel-vaapi-driver that referenced this issue Dec 8, 2017
Fixes intel#307.

Signed-off-by: Mark Thompson <sw@jkqxz.net>
@fritsch
Copy link
Contributor

fritsch commented Dec 13, 2017

Level 6, 6.1 and 6.2 specify up to 8k surfaces. Currently all drivers are limited to a maximum of 4096 - does that need changing in above combination?

@fhvwy
Copy link
Contributor Author

fhvwy commented Dec 13, 2017

@fritsch The surface size constraint is already handled elsewhere - i965_CreateContext() blocks creating contexts for too-large streams.

(In any case, the 4096 limit is already insufficient for full support of level 4.2, which requires being able to handle a stream with width or height of up to 16*floor(sqrt(8702*8)) = 4208 pixels, and higher levels even bigger. Only levels up to 4.1 are fully supported.)

carpalis pushed a commit to carpalis/intel-vaapi-driver that referenced this issue Mar 27, 2018
Fixes intel#307.

Signed-off-by: Mark Thompson <sw@jkqxz.net>
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