Re: [FFmpeg-user] Initialising hardware device fails with error -17

2024-04-23 Thread Xiang, Haihao
    Version: 0.0 >   mfxEncoderDescription: >     Version: 0.0 >   mfxVPPDescription: >     Version: 0.0 >   NumExtParam: 0 >   Warning - MFX_IMPLCAPS_SURFACE_TYPES not supported > > Total number of implementations found = 1 > I do NOT have the library "libmfx-gen.so

Re: [FFmpeg-user] Initialising hardware device fails with error -17

2024-04-23 Thread Xiang, Haihao
ell, I tried different versions, compiled, tried everything. > Still the error is there, no progress, unfortunately. > If, at any time, I will be more lucky than right now, I will let you know. > > Martin. > > > > On Monday, 22 April, 2024 17:46 CEST, "Xiang, Haihao&qu

Re: [FFmpeg-user] Initialising hardware device fails with error -17

2024-04-22 Thread Xiang, Haihao
be64a65140] Error setting child device handle: -17 > Device creation failed: -1313558101. > Failed to set value 'qsv:hw,child_device=/dev/dri/renderD128' for option > 'init_hw_device': Unknown error occurred > Error parsing global options: Unknown error occurred > > > Martin

Re: [FFmpeg-user] Initialising hardware device fails with error -17

2024-04-22 Thread Xiang, Haihao
[...] [AVHWDeviceContext @ 0x560662049440] libva: VA-API version 1.20.0 [AVHWDeviceContext @ 0x560662049440] libva: User requested driver 'iHD' [AVHWDeviceContext @ 0x560662049440] libva: Trying to open /usr/lib64/dri/iHD_drv_video.so [AVHWDeviceContext @ 0x560662049440] libva: Found init

Re: [FFmpeg-user] The lower part of h264-qsv encoded image is smeared

2024-04-07 Thread Xiang, Haihao
> My computer is Intel 12 Gen CPU (i7-12650), Windows 11 system, and I use h264- > qsv encoder. > Because I take pictures while the car is driving, I set all I frames instead > of B frames and P frames, and set the quality parameter to 20. The specific > settings are as follows: > > >

Re: [FFmpeg-user] Intel QSV and xstack_qsv: Error while filtering: Internal bug, should not have happened

2023-12-28 Thread Xiang, Haihao
FFmpeg user questions > Cc: artem.ga...@gmail.com ; Wang, Fei W > > Subject: Re: [FFmpeg-user] Intel QSV and xstack_qsv: Error while filtering: > Internal bug, should not have happened > > > On Thu, 28 Dec 2023, 05:15 Xiang, Haihao, < > haihao.xiang-at-intel@f

Re: [FFmpeg-user] Intel QSV and xstack_qsv: Error while filtering: Internal bug, should not have happened

2023-12-28 Thread Xiang, Haihao
On Do, 2023-12-28 at 10:23 +0300, Dennis Mungai wrote: > On Thu, 28 Dec 2023, 05:15 Xiang, Haihao, < > haihao.xiang-at-intel@ffmpeg.org> wrote: > > > > > > I have created a bug and linked a sample video that changes resolutions > > on the > > &

Re: [FFmpeg-user] Intel QSV and xstack_qsv: Error while filtering: Internal bug, should not have happened

2023-12-27 Thread Xiang, Haihao
> I have created a bug and linked a sample video that changes resolutions on the > fly: > > https://trac.ffmpeg.org/ticket/10762 > > Get back to me if you need anything else I can help with. > > From: ffmpeg-user on behalf of Dennis Mungai > > Sent: Wednesday,

Re: [FFmpeg-user] av1_vaapi encoding testing

2023-10-11 Thread Xiang, Haihao
> On Mon, 25 Sep 2023 04:39:53 + > "Xiang, Haihao" wrote: > > > On Vr, 2023-09-22 at 22:11 +0200, Patrick M. wrote: > > > On Fri, 22 Sep 2023 20:04:57 +0300 > > > Dennis Mungai wrote: > > > > > > > > >

Re: [FFmpeg-user] av1_vaapi encoding testing

2023-09-24 Thread Xiang, Haihao
On Vr, 2023-09-22 at 22:11 +0200, Patrick M. wrote: > On Fri, 22 Sep 2023 20:04:57 +0300 > Dennis Mungai wrote: > > > > > > That's good to hear. You may also want to ensure that the likes of OneVPL > > are up to date if you're using any of its encoder wrappers. It was formerly > > called (and

Re: [FFmpeg-user] Clarification for decoding AV1 input on the GPU

2022-07-20 Thread Xiang, Haihao
1_cuvid. > > $ ffmpeg -y -hwaccel nvdec -c:v vp9_cuvid -i input_vp9.webm -f null - # > fps=1435 > $ ffmpeg -y -hwaccel nvdec -c:v av1_cuvid -i input_av1.mp4 -f null - # > fps=1642 > > > Thanks, > Mario > > > On Wed, Jul 20, 2022 at 4:30 AM Xiang, Haihao &

Re: [FFmpeg-user] Clarification for decoding AV1 input on the GPU

2022-07-20 Thread Xiang, Haihao
an -hwaccel nvdec -c:v av1. > > Should FFmpeg exit gracefully if passing unsupported options for -hwaccel > vdpau? Or is this a bug? > -hwaccel vdpau -c:v av1_cuvid # Crashes > -hwaccel vdpau -c:v vp9_cuvid # Crashes > > Thanks, > Mario > > On Tue, Jul 19, 2022 at 8

Re: [FFmpeg-user] Clarification for decoding AV1 input on the GPU

2022-07-19 Thread Xiang, Haihao
On Tue, 2022-07-19 at 16:54 -0500, Mario Roy wrote: > Greetings, > > With the recent FFmpeg 5.1 supporting AV1 using VDPAU, should decoding AV1 > occur on the GPU automatically (NVIDIA 3000 series), similarly to decoding > VP9? > > ffmpeg -y -hwaccel vdpau -i input_av1.mp4 output.ts # decodes

Re: [FFmpeg-user] how to set the color background when i use overlay_qsv

2022-01-27 Thread Xiang, Haihao
answer. I will try the latest version. My ffmpeg download > from https://github.com/FFmpeg/FFmpeg, and i checkout it to tag n4.4 > ,then i build it on the ubuntu system. > > From: Xiang, Haihao > Date: 2022-01-27 14:40 > To: ffmpeg-user@ffmpeg.org > Subject: Re: [FFmp

Re: [FFmpeg-user] how to set the color background when i use overlay_qsv

2022-01-26 Thread Xiang, Haihao
On Thu, 2022-01-27 at 11:04 +0800, zha...@bstar.com.cn wrote: > hello: > I want to splice four or more video into one video,i want to set the > background to a fixed size and the color is black, so i must scale the image > then overlay. > > My environment is ubuntu and I used command

Re: [FFmpeg-user] ffmpeg qsv performance well below expected

2021-01-05 Thread Xiang, Haihao
On Fri, 2021-01-01 at 17:12 -0700, dan wrote: > In running ubuntu with an i3-10100 > > I'm able to transcode 2 MPEG2 to h.265 using the following command > ffmpeg -hwaccel qsv -i http://hdhomerun:5004/auto/v2.2.ts -c:v > hevc_qsv -c:a copy -profile:v main -global_quality 30 -g 48 > -keyint_min 48

Re: [FFmpeg-user] hevc_vaapi mkv output fails with generic error

2020-07-11 Thread Xiang, Haihao
According to the your debug output below, the encoded stream is not muxable to some containers, maybe this the root cause of your issue. [hevc_vaapi @ 0x5239bc0] Driver does not support some wanted packed headers (wanted 0xd, found 0). [hevc_vaapi @ 0x5239bc0] Driver does not support packed

Re: [FFmpeg-user] A query on slice based encoding in vp9_vaapi

2019-06-17 Thread Xiang, Haihao
Hi Dennis, Sorry for slow response. Unlike h265/h264, VP9 doesn't have slice. Thanks Haihao > Hello there, > > According to the VAAPI encoder docs, slice based encoding can be enabled > for the respective encoders via the -slices:v n where n is the number of > slices so desired. > > However,