Skip to contentSkip to conversation

radeonsi_drv_video.so should report support for packed headers

Bug 111235 [email protected] 1 participant 3 messages Jul 27, 2019 – Sep 25, 2019

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=111235

Bug ID: 111235
Summary: radeonsi_drv_video.so should report support for packed
headers
Product: Mesa
Version: git
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

Created attachment 144894
--> https://bugs.freedesktop.org/attachment.cgi?id=144894&action=edit
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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=111235

Scott Moreau <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

                 OS|All                         |Linux (All)
           Hardware|Other                       |x86-64 (AMD64)

--- Comment #1 from Scott Moreau <[email protected]> ---
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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=111235

GitLab Migration User <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED

--- Comment #2 from GitLab Migration User <[email protected]> --- -- 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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel