On 20/09/2024 04:08, 김윤주 wrote:
Does native decoder refer to hevc (hevcdec.c)?
I tried using hevc and in environments with low CPU performance, hevc_cuvid
was much faster.
So, I used hevc_cuvid for decoding but encountered an issue where HDR10+
sidedata did not exist.
That's why I wrote this patch.

You did turn on hwaccel, right?
I don't see why the native decoder would be much slower at parsing then nvidias parsers.

I thought that the original content's sidedata should be preserved even
after decoding regardless of which decoder is used.
And I thought hevc_cuvid was the only way to get Nvidia hwaccel support.
If I'm mistaken about anything, please let me know.

It's just that the cuviddec decoder is more of a relic, from before the native hwaccel existed. The only reason it's not straight up deprecated is that it's sometimes nice to have a "second opinion" when issues crop up, and there are a few specific features like hardware-deinterlacing that can't be exposed via the native hwaccel.

But I'd normally not like to expand it even further and add complex and large features to it. Whenever possible, the native nvdec hwaccel should be used.

Also, is it correct to respond to your comments like this?
It seems quite different from the format you sent.

Top-posting isn't exactly liked here, though I don't really have a strong opinion on it.

Apologies, as I'm still relatively new to the FFmpeg community and have a
lot to learn.
Any additional guidance would be greatly appreciated.

-----Original Message-----
From: ffmpeg-devel <ffmpeg-devel-boun...@ffmpeg.org> On Behalf Of Timo
Rothenpieler
Sent: Friday, September 20, 2024 4:48 AM
To: ffmpeg-devel@ffmpeg.org
Subject: Re: [FFmpeg-devel] [PATCH] avcodec/cuviddec: Add handling HDR10+
sidedata on cuviddec.

On 19.09.2024 06:43, yoonjoo wrote:
Implemented decoding of NAL units and handling HDR10+ sidedata by
referring to hevcdec.

Why? Can't you just use the native decoder with nvdec hwaccel?
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://protect2.fireeye.com/v1/url?k=c11e9bb6-9e85a2a9-c11f10f9-
000babdfecba-c4d76825032a0b52&q=1&e=342e88a0-295e-4dc1-a57f-
8f5aab974009&u=https%3A%2F%2Fffmpeg.org%2Fmailman%2Flistinfo%2Fffmpeg-devel

To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org
with subject "unsubscribe".

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to