View Full Version : How to handle multiple files using NVENC HW API?
theateist
2nd July 2014, 12:12
I have one GPU - GeForce GTX 760 > has Compute SM 3.0, NVENC Available
I'm trying to encode multiple files concurrently using NVENC HW API. The encode parameters are equeal to all the files I don't quite understand how to do it. I looked all over the internet but didn't find anything worth. What I can think about is to load N frames in loop from each file and to pass to the encoder. Is this the way to handle multiple files?
theateist
8th July 2014, 00:51
please help me
LoRd_MuldeR
8th July 2014, 01:10
please help me
Please keep the forum rules in mind:
How NOT to post on this forum:
5 minutes after your initial post you reply to your own post writing something like "Why is nobody helping me? I'm sure you know the answer".
If nobody has replied yet, it probably means nobody knows the answer. Or your question isn't clear enough.
For me it's not even clear whether you are a software developer yourself seeking for information on how to use the NVENC API or whether you are looking for encoding tools that are using the NVENC API.
In the former case, this (http://on-demand.gputechconf.com/gtc/2014/presentations/S4654-detailed-overview-nvenc-encoder-api.pdf) presentation describes the NVENC API workflow quite clearly. For details, you should refer to the Reference Manual (https://developer.nvidia.com/sites/default/files/akamai/cuda/files/CUDADownloads/NVENC_RefManual_v2.0.pdf), I suppose...
(And since the document suggests that you need to open an "encode session" first, I assume you will have to open multiple encode sessions, if you which to run several encodes concurrently)
theateist
8th July 2014, 08:43
I'm software developer. I downloaded NVENC SDK with samples. I read that to encode frames from multiple files I need to create multiple sessions and to switch between them, but I cannot find how to do it.
foxyshadis
8th July 2014, 09:22
Maybe you should ask nVidia. The only nVidia API developer who frequented this forum has retired, but you might still catch him on his forum (http://rationalqm.us/board/index.php).
LoRd_MuldeR
8th July 2014, 12:08
I'm software developer. I downloaded NVENC SDK with samples. I read that to encode frames from multiple files I need to create multiple sessions and to switch between them, but I cannot find how to do it.
Your question is very specific. This is a video enthusiast forum, but not a NVidia or NVENC forum. So while it is possible somebody around here is familiar with the NVENC API, you cannot count on that. As foxyshadis said, you may have more luck at the NVidia forum/support.
Anyway, after having a quick look at the manual, it seems like a new encode session is created using the NvEncOpenEncodeSessionEx() function. Is it not possible to create more than one session this way?
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.