[vlc-devel] [PATCH 1/2] NVENC: Nvidia H264/HEVC GPU encoder

Ilkka Ollakka ileoo at videolan.org
Thu Jun 2 10:49:45 CEST 2016

On Thu, Jun 02, 2016 at 10:43:43AM +0200, Jean-Paul Saman wrote:
> Ilkka,


> > Also how does this behave if I have 2 parallel encoding processes
> > running? Other one goes to nvenc, but how does the second one behave?

> Not sure what you mean here.

> If I run two parallel vlc process both encoding using NVENC and a software
> encoder for audio, than it both streams get encoded just fine.
> This will of course depend on GPU resources, so your mileage may vary.

Is there some GPU resource limit that affects how many parallel
processes can be in use? Is it possible to check it and more
importantly, inform user in case we reach that limit 'you ran out of gpu,
please call your local dealer' ?

This might come just from me not being that familiar with internals of
gpu encoding stuff, but I don't really know how they internally allocate
things between multiple processes trying to do gpu encoding. So is it
depending on amount of parallel encodes, or profiles/resolutions tried
to encode in parallel or some other factor?

Ilkka Ollakka
There is an innocence in admiration; it is found in those to whom it
has not yet occurred that they, too, might be admired some day.
		-- Friedrich Nietzsche
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20160602/91558523/attachment.sig>

More information about the vlc-devel mailing list