[vlc-devel] [PATCH 1/2] NVENC: Nvidia H264/HEVC GPU encoder
jpsaman at videolan.org
Thu Jun 2 11:25:37 CEST 2016
On Thu, Jun 2, 2016 at 10:49 AM, Ilkka Ollakka <ileoo at videolan.org> wrote:
> 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
> > 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' ?
The SDK API will fail when there are not enough resources left.
I am not sure if it will fail when creating the encoding context or when
AFAICS the API does not really mention that.
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?
Only SDK authors now for sure.
> 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
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vlc-devel