INTERACT FORUM

More => Old Versions => JRiver Media Center 23 for Windows => Topic started by: tyler69 on October 31, 2017, 08:14:28 am

Title: Questions on transcoding
Post by: tyler69 on October 31, 2017, 08:14:28 am
Hi there,

is transcoding utilizing the CPU only or also the GPU?
Is it using all available CPU cores or only one?
If transcoding is mainly dependent on the CPU, would using the GPU for transcoding be benefitial?

Thanks.
Title: Re: Questions on transcoding
Post by: tyler69 on December 28, 2017, 06:06:15 am
Bump. Also: does it make a difference for transcoding if LAV vs. madVR is selected?
Title: Re: Questions on transcoding
Post by: AndrewFG on December 28, 2017, 11:04:34 am
AFAIK transcoding is done only on the CPU; each transcode runs on a single thread; and whether that thread runs on one or more cores, depends on the hardware pipelining architecture of the specific CPU chip..
Title: Re: Questions on transcoding
Post by: tyler69 on December 28, 2017, 12:45:56 pm
Thanks AndrewFG.
Is there a special CPU parameter/feature that I would look for with regard to the hardware pipelining architecture and what value would be (not) benefitial for transcoding with MC? Would a Xeon perform better than -let's say- an i7 from a similar CPU-Generation?
Title: Re: Questions on transcoding
Post by: Hendrik on December 28, 2017, 02:20:41 pm
each transcode runs on a single thread

This is not true. It mostly depends on the format you are transcoding to, but many actually support using many threads. For example, video transcoding with a H264 target can mostly use the entire CPU (well, to a degree, it may not use 16 cores fully, and it also depends on the resolution a bit, but this is getting complex)

We're investigating using the GPU to transcode, and while that is often faster, it comes at a quality cost.
Title: Re: Questions on transcoding
Post by: AndrewFG on December 28, 2017, 04:33:06 pm
Cool.
Title: Re: Questions on transcoding
Post by: tyler69 on December 29, 2017, 08:31:04 am
Thanks Hendrik. So, I understand this:

is transcoding utilizing the CPU only or also the GPU?
It utilizes only the CPU.

Is it using all available CPU cores or only one?
That depends on the format one transcodes to. Could I have more information on this? Maybe even a matrix (transcoded format/used threads(cores?)) for the Wiki could be done if possible? Users would maybe benefit from this information when choosing new hardware and/or deciding what format they want transcode to. Are threads or cores more relevant? Would a Xeon perform better than -let's say- an i7 from a similar CPU-Generation?

If transcoding is mainly dependent on the CPU, would using the GPU for transcoding be benefitial?
I understand utilizing the GPU would be benefitial in terms of load balancing, but it comes at quality costs. Is the impact on quality additive to the impact on quality loss due to transcoding? Is there a difference between integrated vs. dedicated GPU -the obvious performance differences left aside?