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

hevcencode test code produces corrupted output on Tiger Lake #366

Open
GreystWdR opened this issue Apr 30, 2024 · 2 comments
Open

hevcencode test code produces corrupted output on Tiger Lake #366

GreystWdR opened this issue Apr 30, 2024 · 2 comments

Comments

@GreystWdR
Copy link

Executing hevcencode test sample produces corrupted /tmp/test.265 output on TigerLake CPU.
Environment: ubuntu 23.10 + intel-media-va-non-free package.

Fresh build on similar environment on SkyLake CPU produces expected readable bitstream.
h264encode produces expected result on both CPU.

Fresh build ffmpeg execution with codec hevc_vaapi produces expected output.

@bai-isaac
Copy link
Contributor

hi GreystWdR,
Could you please share your command line?
And could you please dump driver follow this wiki https://github.com/intel/media-driver/wiki/Decode-and-Encode-Debug-Tool-and-surface-dump and share here?
Thanks.

@GreystWdR
Copy link
Author

Hi,
Running the sample with default arguments is enough to reproduce the pb so the command was simply ./hevcencode .
My guess is the the problem come from the initialization part in hevcencode sample as I was able to make the encoder work flawlessly with a recent ffmpeg build. I have tried to find the differences in the initialization code without success.
For now, I don't have access to a TigerLake platform anymore to generate the driver dump. I'll keep you updated if manage to get my hands on it again.
Cheers.

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