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
[ffmpeg-vaapi][hevc 10bit decode] hevc 10bit decode test cases failed when using ffmpeg-vaapi #204
Comments
@FocusLuo please help to add platform information |
root caused. vaCreateSurface will use gmmlib to manager allocation size for a P010 surface (416x240 to 896x256), but vaCreateImage does not use gmmlib, so the size is mismatch when call vaGetSurface. will fix it ASAP |
fix for intel#204 Signed-off-by: XinfengZhang <carl.zhang@intel.com>
This issues still can be reproduced with media_driver 36b3a0a . |
@zhuqingliang , I will close the issue, some cases pass, some cases failed, we need a new issue which can be reproduced easily to handle it |
The CMD line can work on i965 driver, but failed(core dumped) on iHD driver
ffmpeg -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -v verbose -y -i ./WPP_A_ericsson_MAIN10_2.bin -pix_fmt p010le -vframes 25 -f md5 vaapi_out.md5
Platforms: CFL,GLK,KBL
[AVHWDeviceContext @ 0x561e7c139500] Opened VA display via DRM device /dev/dri/renderD128.
[AVHWDeviceContext @ 0x561e7c139500] libva: VA-API version 1.1.0
[AVHWDeviceContext @ 0x561e7c139500] libva: va_getDriverName() returns 0
[AVHWDeviceContext @ 0x561e7c139500] libva: User requested driver 'iHD'
[AVHWDeviceContext @ 0x561e7c139500] libva: Trying to open /opt/X11R7/vpg_driver/lib/dri//iHD_drv_video.so
[AVHWDeviceContext @ 0x561e7c139500] libva: Found init function __vaDriverInit_1_1
[AVHWDeviceContext @ 0x561e7c139500] libva: va_openDriver() returns 0
[AVHWDeviceContext @ 0x561e7c139500] Initialised VAAPI connection: version 1.1
[AVHWDeviceContext @ 0x561e7c139500] Unknown driver "Intel iHD driver - 2.0.0", assuming standard behaviour.
Stream mapping:
Stream #0:0 -> #0:0 (hevc (native) -> rawvideo (native))
Press [q] to stop, [?] for help
[graph 0 input from stream 0:0 @ 0x561e7c1bbdc0] w:416 h:240 pixfmt:p010le tb:1/1200000 fr:25/1 sar:0/1 sws_param:flags=2
Output #0, md5, to 'vaapi_out.md5':
Metadata:
encoder : Lavf58.17.100
Stream #0:0: Video: rawvideo, 1 reference frame, p010le, 416x240, q=2-31, 37440 kb/s, 25 fps, 25 tbn, 25 tbc
Metadata:
encoder : Lavc58.20.101 rawvideo
Segmentation fault (core dumped)
The text was updated successfully, but these errors were encountered: