intel / libyami-utils

Libyami Utilities
Apache License 2.0
24 stars 45 forks source link

vp8 temporal svc encoding quits with assert error. #126

Closed ottingerg closed 6 years ago

ottingerg commented 6 years ago

using yamitranscode to encode vp8 tsvc, it quits with an assert error:

./yamitranscode -W 352 -H 288 -i akiyo_cif.yuv -t 2 -c VP8 -o test_temporal.ivf libva info: VA-API version 1.1.0 libva info: va_getDriverName() returns 0 libva info: Trying to open /home/imedia/SourceCode/intel-media/stack1/intel-vaapi-driver/src/.libs//i965_drv_video.so libva info: Found init function vaDriverInit libva info: va_openDriver() returns 0 yamitranscode: i965_encoder.c:1163: intel_encoder_check_vp8_parameter: Assertion `pic_param->ref_gf_frame != VA_INVALID_SURFACE' failed. Aborted (core dumped)

my vaapi stack looks like this: Celeron G3930 KabyLake Ubuntu 18.04 64 Bit and the latest masters from github: intel-vaapi-driver (40b15a5c6c0103c23a5db810aef27cf75d0b6723) libva (b3be72a5a110880f70626d7c3bed953cdde124b2) libyami (49f32de0e537577927b98deb551e16a7fa89d892) libyami-utils (ebcb87ea03f9ff3b30e7d92fea5f63c1fa8c1c71)


I do think that this issue is actually related to intel-vaapi-driver and I wrote a pull request that is trying to resolve this issue and it also addresses a second issue which is caused by faulty reference buffer copies, when refresh_golden or refresh_alternate is set.

see pull request here: https://github.com/intel/intel-vaapi-driver/pull/384

ottingerg commented 6 years ago

This issue was closed with PR: https://github.com/intel/intel-vaapi-driver/pull/384