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

[gstreamer-vaapi][hevc_10bit_decode][APL] hevc 10bit decode fail. #218

Closed
feiwan1 opened this issue Jul 3, 2018 · 5 comments
Closed

[gstreamer-vaapi][hevc_10bit_decode][APL] hevc 10bit decode fail. #218

feiwan1 opened this issue Jul 3, 2018 · 5 comments
Assignees

Comments

@feiwan1
Copy link
Contributor

feiwan1 commented Jul 3, 2018

System Environment
OS Ubuntu 16.04
Kernel 4.12
libva tag 2.1.0
intel-media-driver 2b6c2a6
gst-vaapi 1.15.0.1

Reproduce Steps
$ LIBVA_TRACE=./hevc10dec gst-launch-1.0 filesrc location=INITQP_B_Main10_Sony_1.bin ! h265parse ! vaapih265dec ! vaapisink

Error message:
root@yami-apl:/media/hevc_10bit# gst-launch-1.0 filesrc location=INITQP_B_Main10_Sony_1.bin ! h265parse ! vaapih265dec ! vaapisink Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Got context from element 'vaapisink0': gst.vaapi.Display=context, gst.vaapi.Display=(GstVaapiDisplay)"(GstVaapiDisplayX11)\ vaapidisplayx11-1";
0:00:00.106987875 20557 0x176f6d0 ERROR vaapi gstvaapicontext.c:256:config_create: unsupported chroma format (0x00000100)
0:00:00.107071766 20557 0x176f6d0 ERROR vaapidecode gstvaapidecode.c:755:gst_vaapidecode_handle_frame: decode error -1
0:00:00.107461209 20557 0x176f6d0 ERROR vaapi gstvaapicontext.c:256:config_create: unsupported chroma format (0x00000100)
0:00:00.107499522 20557 0x176f6d0 ERROR vaapidecode gstvaapidecode.c:755:gst_vaapidecode_handle_frame: decode error -1
0:00:00.107733536 20557 0x176f6d0 ERROR vaapi gstvaapicontext.c:256:config_create: unsupported chroma format (0x00000100)
0:00:00.107768028 20557 0x176f6d0 ERROR vaapidecode gstvaapidecode.c:755:gst_vaapidecode_handle_frame: decode error -1
0:00:00.108016894 20557 0x176f6d0 ERROR vaapi gstvaapicontext.c:256:config_create: unsupported chroma format (0x00000100)
0:00:00.108050500 20557 0x176f6d0 ERROR vaapidecode gstvaapidecode.c:755:gst_vaapidecode_handle_frame: decode error -1
0:00:00.108269950 20557 0x176f6d0 ERROR vaapi gstvaapicontext.c:256:config_create: unsupported chroma format (0x00000100)
0:00:00.108304201 20557 0x176f6d0 ERROR vaapidecode gstvaapidecode.c:755:gst_vaapidecode_handle_frame: decode error -1
0:00:00.108572842 20557 0x176f6d0 ERROR vaapi gstvaapicontext.c:256:config_create: unsupported chroma format (0x00000100)
0:00:00.108606766 20557 0x176f6d0 ERROR vaapidecode gstvaapidecode.c:755:gst_vaapidecode_handle_frame: decode error -1
0:00:00.108828437 20557 0x176f6d0 ERROR vaapi gstvaapicontext.c:256:config_create: unsupported chroma format (0x00000100)
0:00:00.108862049 20557 0x176f6d0 ERROR vaapidecode gstvaapidecode.c:755:gst_vaapidecode_handle_frame: decode error -1
0:00:00.109187171 20557 0x176f6d0 ERROR vaapi gstvaapicontext.c:256:config_create: unsupported chroma format (0x00000100)
0:00:00.109223104 20557 0x176f6d0 ERROR vaapidecode gstvaapidecode.c:755:gst_vaapidecode_handle_frame: decode error -1
0:00:00.109643549 20557 0x176f6d0 ERROR vaapi gstvaapicontext.c:256:config_create: unsupported chroma format (0x00000100)
0:00:00.109685115 20557 0x176f6d0 ERROR vaapidecode gstvaapidecode.c:755:gst_vaapidecode_handle_frame: decode error -1
0:00:00.109938652 20557 0x176f6d0 ERROR vaapi gstvaapicontext.c:256:config_create: unsupported chroma format (0x00000100)
0:00:00.109971842 20557 0x176f6d0 ERROR vaapidecode gstvaapidecode.c:755:gst_vaapidecode_handle_frame: decode error -1
0:00:00.110227903 20557 0x176f6d0 ERROR vaapi gstvaapicontext.c:256:config_create: unsupported chroma format (0x00000100)
0:00:00.110269254 20557 0x176f6d0 ERROR vaapidecode gstvaapidecode.c:755:gst_vaapidecode_handle_frame: decode error -1
ERROR: from element /GstPipeline:pipeline0/GstVaapiDecode_h265:vaapidecode_h265-0: Decoding error
Additional debug info:
gstvaapidecode.c(764): gst_vaapidecode_handle_frame (): /GstPipeline:pipeline0/GstVaapiDecode_h265:vaapidecode_h265-0:
Decode error -1
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...

@feiwan1
Copy link
Contributor Author

feiwan1 commented Jul 3, 2018

hevc10dec.164437.thd-0x00005072.log

By using any hevc main10 stream can reproduce this issue.

@XinfengZhang
Copy link
Contributor

please help to check whether #221 can fix the issue.

@XinfengZhang
Copy link
Contributor

@feiwan1 could you help to check #221?

@feiwan1
Copy link
Contributor Author

feiwan1 commented Aug 22, 2018

Hi @XinfengZhang , sorry for late response. I tried your patch on KBL, but got same error log.

@feiwan1
Copy link
Contributor Author

feiwan1 commented Aug 29, 2019

Tested with commit 43df6f5. Looks good. Close this.

@feiwan1 feiwan1 closed this as completed Aug 29, 2019
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

3 participants