[FFmpeg-devel] [PATCH 1/1] avcodec: NVENC improve debug and print hw capabilities

Andreas Håkon andreas.hakon at protonmail.com
Fri Jun 2 16:19:16 EEST 2017


Hi,

This patch focus in improved debug for NVENC.

Capabilities added:

- Prints HW capabilities of the device.

*** Note: based on work done by Jean-Paul Saman
*** http://mailman.videolan.org/pipermail/vlc-devel/2016-April/107005.html
*** However this updated version doesn’t crash if unknown capabilities exist.

- Describes the setup and indicates if the CUDA context is “global” or “local”

# global = with “-hwaccel cuvid”
# local = without “-hwaccel cuvid”

- Lists other parameters: Used Surfaces, active B-Frames, etc.

- Logs the use of two relevant structures: Surface Queues and Output Frames.

The objective of this patch is help developers and users.
For users, they can check the capabilities of the hardware where running FFmpeg.
For developers, it can assist to solve some troubles with “hwaccel cuvid”.
(see the bug described at http://trac.ffmpeg.org/ticket/6420)

As the code isn’t intrusive and is clean, it can be committed to the main branch.
I hope it helps!
A.H.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-avcodec-nvenc-improve-debug-and-print-hw-capabilitie.patch.txt
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170602/0cea8ee2/attachment.txt>


More information about the ffmpeg-devel mailing list