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: dri-devel@lists.freedesktop.org Reporter: oreaus@gmail.com QA Contact: dri-devel@lists.freedesktop.org
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.