[FFmpeg-trac] #7674(undetermined:reopened): ffmpeg with cuvid transcoding after version 3.4.1 work unstable on heavy load CUDA card
FFmpeg
trac at avcodec.org
Thu Apr 25 16:08:37 EEST 2019
#7674: ffmpeg with cuvid transcoding after version 3.4.1 work unstable on heavy
load CUDA card
-------------------------------------+-------------------------------------
Reporter: maxfs79 | Owner:
Type: defect | Status: reopened
Priority: normal | Component:
| undetermined
Version: unspecified | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by malakudi):
With the above patch applied, nvEncRegisterResource is called 5 times at
start and nvEncUnregisterResource is called 5 times at end of process.
Without it (current git code) nvEncRegisterResource is called 2984 times
and nvEncUnregisterResource is also called 2984 times (for the test input
file of 2984 frames). So not calling nvEncUnregisterResource at this
specific code location does not leave any garbage since
nvEncRegisterResource and nvEncUnregisterResource are matching, it just
creates really unnecessary overhead registering and unregistering on every
frame. Please fix.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7674#comment:22>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list