Summary: | Corrupt video when playing back with vaapi | ||
---|---|---|---|
Product: | libva | Reporter: | roberth <sarvatt> |
Component: | intel | Assignee: | haihao <haihao.xiang> |
Status: | RESOLVED NOTOURBUG | QA Contact: | Sean V Kelley <seanvk> |
Severity: | normal | ||
Priority: | medium | CC: | sarvatt, tjaalton |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
roberth
2015-01-28 22:23:32 UTC
Hi, What Broadwell hardware are you using? Sean The profile of the sample video is High 4:4:4 Predictive and qpprime_y_zero_transform_bypass_flag is 1. However the driver only exports the support for constrained baseline/main/high profile. It would be better to disable vaapi acceleration for such videos in VLC. Yep, the profile is not supported in vaapi... [seanvk@ashland Downloads] $ mediainfo fixed-elementary-plymouth.mkv General Unique ID : 320904362964798927435604263813327211725 (0xF16BEEA41FE1814508F3E8272A49CCCD) Complete name : fixed-elementary-plymouth.mkv Format : Matroska Format version : Version 2 File size : 13.2 MiB Duration : 20s 266ms Overall bit rate : 5 473 Kbps Writing application : Lavf52.64.2 Writing library : Lavf52.64.2 Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : High 4:4:4 Predictive@L3.2 Format settings, CABAC : No Format settings, ReFrames : 1 frame Codec ID : V_MPEG4/ISO/AVC Bit rate : 5 364 Kbps Width : 1 280 pixels Height : 1 024 pixels Display aspect ratio : 5:4 Frame rate mode : Variable Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Writing library : x264 core 98 Ubuntu_2:0.98.1653+git88b90d9-3ubuntu1 Encoding settings : cabac=0 / ref=1 / deblock=1:0:0 / analyse=0x1:0 / me=dia / subme=0 / psy=0 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=0 / threads=6 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=0 / weightp=0 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc=cqp / mbtree=0 / qp=0 Default : Yes Forced : No [seanvk@ashland Downloads] $ mpv fixed-elementary-plymouth.mkv Auto-loading profile 'vo.vaapi' Playing: fixed-elementary-plymouth.mkv [stream] Video (+) --vid=1 (h264) .40652.7f86a4219020RACE is on, save log into /tmp/tracelog libva info: VA-API version 0.36.0 libva info: va_getDriverName() returns 0 libva info: Trying to open /usr/lib64/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_0_36 libva info: va_openDriver() returns 0 Trying to use hardware decoding. [vaapi] Unsupported codec or profile. [vaapi] Unsupported codec or profile. [ffmpeg/video] h264: decode_slice_header error [ffmpeg/video] h264: no frame! Error while decoding frame! Error using hardware decoding, falling back to software decoding. VO: [vaapi] 1280x1024 yuv420p V: 00:00:20 / 00:00:20 (99%) Dropped: 2 Exiting... (End of file) [seanvk@ashland Downloads] $ The driver has advertised the capability, and player needs to check the capability first. If the video isn't supported by driver, player can fall back to software decoding. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.