[FFmpeg-user] FW: Rocketlake-11900T UHD750 broken video with hw VA-API encoding

Wang, Fei W fei.w.wang at intel.com
Tue Nov 9 09:46:27 EET 2021


> -----Original Message-----
> From: ffmpeg-user <ffmpeg-user-bounces at ffmpeg.org> On Behalf Of
> George Nistor via ffmpeg-user
> Sent: Wednesday, November 3, 2021 10:46 AM
> To: ffmpeg-user at ffmpeg.org
> Cc: George Nistor <georgenistor at zoho.com>
> Subject: [FFmpeg-user] Rocketlake-11900T UHD750 broken video with hw
> VA-API encoding
> 
> Hi FFMEPG users,
> 
> I have tried to encode with the folowing command:
> 
> *ffmpeg -y -vaapi_device /dev/dri/renderD128  -i  input.ts  -vf
> 'format=nv12,hwupload' -c:v hevc_vaapi  -b:v 6000K  -c:a copy
>   -profile:v 1  out.mkv*
> 
> 
> I can fully encode the input file with no error but the output
> hasbroken
> content.
> 
> Does anyone know where could be the problem?

Hi George,

Attach is a WA patch which can fix your issue, you can have a try.

Decent fix need media-driver report some attributes correctly. After
media-driver fix this, I will submit another patch on ffmpeg-vaapi.

Details information see the issue reported to media-driver:
https://github.com/intel/media-driver/issues/1190

> 
> 
> The setup I have is:
> 
> Open SUSE Tumbleweed 20211101 with ffmpeg 4.4.1
> 
> Kernel 5.14.14-1 64 bit
> 
> Mesa Intel Graphics
> 
> the CPU is 11900T with UHD 750
> 
> 
> I forgot to say,I have hw acceleration in Vivaldi with VA-API, and it
> runs just
> fine, correctly.
> 
> george
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> 
> To unsubscribe, visit link above, or email 
> ffmpeg-user-request at ffmpeg.org
> with subject "unsubscribe".
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FW_[FFmpeg-devel]_[PATCH]_lavc_vaapi_encode_h265_fix_max_transform_hierarchy_depth_inter_intra.mbox
Type: application/mbox
Size: 7223 bytes
Desc: FW_[FFmpeg-devel]_[PATCH]_lavc_vaapi_encode_h265_fix_max_transform_hierarchy_depth_inter_intra.mbox
URL: <https://ffmpeg.org/pipermail/ffmpeg-user/attachments/20211109/ccf02bbb/attachment.mbox>


More information about the ffmpeg-user mailing list