Project

General

Profile

Transcoding with Nvidia GPU - is this supported?

Added by Anonymous over 9 years ago

Hi all,

There's a thread about hardware transcoding below, but it refers to doing it on a Banana Pi. I would like to do my transcoding on Ubuntu server using a GPU, but don't want to buy a new graphics card if it won't work.

Does anyone have any experience of doing this? Ideally I'd like to deinterlace and re-encode, but keep the frame size. The reason for this is that I have replaced one of my Raspberry Pis with a Nexus Player, and the NP isn't so good with interlaced video (especially mpeg2) when played through Kodi.

Any help or advice appreciated.

Thanks.


Replies (16)

RE: Transcoding with Nvidia GPU - is this supported? - Added by saen acro over 9 years ago

There is lot of ways to use transcoding
via CPU mostly lot of cpu's clustered or in cloud
via Gpu [[http://forum.cesbo.com/forum/26-transcoding/]]
and with some external devices
for example [[http://www2.advantech.com/products/pcie-dsp-card/sub_half-length_pcie_card1.aspx]]

RE: Transcoding with Nvidia GPU - is this supported? - Added by Cassio Simoes almost 9 years ago

Sorry, but how does this apply to tvheadend?

RE: Transcoding with Nvidia GPU - is this supported? - Added by saen acro almost 9 years ago

With modification of ffmpeg library.

RE: Transcoding with Nvidia GPU - is this supported? - Added by Info Barra almost 9 years ago

Hi guys

is there any tutorial for this?

What kind of hardware NVIDIA GPU graphic card i would need in order to transcode and stream around 80 FTA dvb-s/s2 channels ?

RE: Transcoding with Nvidia GPU - is this supported? - Added by Wouter Moeken almost 9 years ago

Well, since the NVENC allows 2 simultanious encoding sessions (per machine using a consumer GPU). That would require you to have 40 machines with 40 NVENC capable GPU's.
If you have a professional GPU, the encoding sessions are unlimited, but depending on the hardware you should be able to do around 10-12 sessions per professional GPU.
The NVENC session limitation on consumer GPU's is a driver enforced limitation. (also see: https://developer.nvidia.com/nvidia-video-codec-sdk).

I have found the results with NVENC to be quite acceptable. If anyone knows of a way to circumvent the 2 simultanious sessions on a consumer GPU without modding the HW to appear as a professional card, I'm all ears ;)

RE: Transcoding with Nvidia GPU - is this supported? - Added by saen acro almost 9 years ago

@Wouter Moeken
Your information is wrong, NVENC can do 10-15+ SD streams

/nVidia quadro K4000 Kepler card
Possible capabilities: 14 SD channels or 6/8 HD channels/

RE: Transcoding with Nvidia GPU - is this supported? - Added by Info Barra almost 9 years ago

Hi guys

i was thinking something like

Gpu Gtx Titan X 12gb Ddr5 384bits Pci-e Giga

or the new Quadro K5000

has anyone tested one of this units yet , does the rates applied are higher then the ones mentioned with the K4000? or pretty much the same?

I have re-checked the stream service there is around 50 SD FTA locals region channels + 8 HD FTA channels..

RE: Transcoding with Nvidia GPU - is this supported? - Added by Wouter Moeken almost 9 years ago

saen acro wrote:

@Wouter Moeken
Your information is wrong, NVENC can do 10-15+ SD streams

/nVidia quadro K4000 Kepler card
Possible capabilities: 14 SD channels or 6/8 HD channels/

That card would be a professional card. As I said, they have no limitation imposed by the drivers. A consumer GPU (All GeForce cards) are limited to 2 simultanious encoding sessions.

RE: Transcoding with Nvidia GPU - is this supported? - Added by Wouter Moeken almost 9 years ago

saen acro wrote:

@Wouter Moeken
http://developer.download.nvidia.com/assets/cuda/files/NVENC_DA-06209-001_v07.pdf
read it

This document supports my claims. In section 4 (Licensing Policy) it states that before the R358 driver release, any system containing a consumer grade card (All GeForce cards) would be limited to 2 concurrent sessions regardless of the fact if there is a professional card present. The only change is that after the R358 release, the driver allows you to do unlimited encoding sessions on the professional card and limit the concurrent sessions on the consumer card to 2. It also states that no matter how many consumer cards you have in your system, their total concurrent sessions is still limited to 2 across all cards. This means that you could build a system with 4 GeForce cards in it, but you would still be limited to 2 concurrent sessions.

Fact remains, you need a professional card to do more than 2 simultanious sessions. Trying to do more on a consumer card simply errors out your encoding session. Believe me, I've tried.

RE: Transcoding with Nvidia GPU - is this supported? - Added by saen acro almost 9 years ago

Invest in DELL C4130 ;)

interesting with open drivers is there will be limits

for me OpenCL is better solution

RE: Transcoding with Nvidia GPU - is this supported? - Added by saen acro almost 9 years ago

@Cassio Simoes
see first how old they are 7-8 years
low cost video card is more powerful and have low power need

RE: Transcoding with Nvidia GPU - is this supported? - Added by Cassio Simoes almost 9 years ago

But as you said it can only do 2 simultaneous sessions, I need at least 10 simultaneous transcoding sessions available.

What low cost card would you recommend for that?

Regards

Cassio

RE: Transcoding with Nvidia GPU - is this supported? - Added by saen acro almost 9 years ago

more cheap for now is dual cpu mobo 1366 socket with 2x6 core xeon cpu's
http://www.ipvideotrans.com/live-video-transcoding.html

RE: Transcoding with Nvidia GPU - is this supported? - Added by spyer spyer almost 9 years ago

sockel 1366 ist very old. I need a better alternate for Intel 5960X. The Price is over 1k€. Can TVheadend use a GPU or not?
Thx

    (1-16/16)