Bug 111235 - radeonsi_drv_video.so should report support for packed headers
Summary: radeonsi_drv_video.so should report support for packed headers
Status: RESOLVED MOVED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/radeonsi (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact: Default DRI bug account
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-27 19:08 UTC by Scott Moreau
Modified: 2019-09-25 18:50 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Proposed fix for mkv with vaapi (950 bytes, patch)
2019-07-27 19:08 UTC, Scott Moreau
Details | Splinter Review

Description Scott Moreau 2019-07-27 19:08:10 UTC
Created attachment 144894 [details] [review]
Proposed fix for mkv with vaapi

Trying to encode using vaapi fails if the container is mkv. Changing the output format to .mp4 in the command works.

How to reproduce:

`ffmpeg -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -i input.mp4 -vf 'hwupload' -vcodec h264_vaapi -bf 0 output.mkv`

Output:

`Could not write header for output file #0 (incorrect codec parameters ?): Invalid data found when processing input
Error initializing output stream 0:0 -- 
Conversion failed!`

Expected:

Works without error.

Proposed:

Patch attached.
Comment 1 Scott Moreau 2019-07-28 16:32:52 UTC
After chatting with Mark Thompson, I realize that the patch is incorrect because it advertises packed header support which is not implemented in the driver. Proper packed header support should be implemented to fix this problem.
Comment 2 GitLab Migration User 2019-09-25 18:50:26 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/1420.


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.