Opened 6 years ago
Closed 5 years ago
#13357 closed Developer Task (Fixed)
Add support for NVDEC (aka CUVID or CUDA) decoding using NVidia GPU through FFmpeg
Reported by: | Peter Bennett | Owned by: | Peter Bennett |
---|---|---|---|
Priority: | minor | Milestone: | 31.0 |
Component: | MythTV - Video Playback | Version: | Master Head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
VDPAU does not support video that is bigger than 1920x1080. VDPAU is not being updated.
NVDEC is a new API for accessing the GPU of NVidia devices.
Attachments (1)
Change History (15)
comment:1 Changed 6 years ago by
comment:2 Changed 6 years ago by
Milestone: | unknown → 31.0 |
---|
comment:3 Changed 6 years ago by
Milestone: | 31.0 → 30.1 |
---|
Changed 6 years ago by
Attachment: | 20181227_nvdec_decode_deint.patch added |
---|
Add support for nvdec decode and deinterlace
comment:4 Changed 6 years ago by
Status: | new → accepted |
---|
This patch adds the ability to decode and deinterlace using NVDEC with the NVidia GPU. At this level it is rather useless because the frames are still brought into main memory and then put back out to the GPU for display. With all the moving around of frames this is slower than using software decode. The next step is to add the direct transfer from decoder to OpenGL without going through system memory. I am looking at this but I may need some assistance from somebody who knows OpenGL.
With this patch it is not possible to change deinterlace methods on the fly, as deinterlace has to be set up before opening the decoder. Implementing change of deinterlace on the fly will require re-instantiating the decoder when changing deinterlace method.
comment:14 Changed 5 years ago by
Milestone: | 30.1 → 31.0 |
---|---|
Resolution: | → Fixed |
Status: | accepted → closed |
Unfortunately H265/HEVC videos currently do not play with VDPAU playback profiles (tested with v30-Pre-1011-g7d6974a9b6, see https://pastebin.com/DYxWELE9). This worked with MythTV 29. A fix for VDPAU or NVDEC is very welcome.