INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Questions on transcoding  (Read 2230 times)

tyler69

  • Citizen of the Universe
  • *****
  • Posts: 946
Questions on transcoding
« 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.
Logged

tyler69

  • Citizen of the Universe
  • *****
  • Posts: 946
Re: Questions on transcoding
« Reply #1 on: December 28, 2017, 06:06:15 am »

Bump. Also: does it make a difference for transcoding if LAV vs. madVR is selected?
Logged

AndrewFG

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3392
Re: Questions on transcoding
« Reply #2 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..
Logged
Author of Whitebear Digital Media Renderer Analyser - http://www.whitebear.ch/dmra.htm
Author of Whitebear - http://www.whitebear.ch/mediaserver.htm

tyler69

  • Citizen of the Universe
  • *****
  • Posts: 946
Re: Questions on transcoding
« Reply #3 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?
Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10935
Re: Questions on transcoding
« Reply #4 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.
Logged
~ nevcairiel
~ Author of LAV Filters

AndrewFG

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3392
Re: Questions on transcoding
« Reply #5 on: December 28, 2017, 04:33:06 pm »

Cool.
Logged
Author of Whitebear Digital Media Renderer Analyser - http://www.whitebear.ch/dmra.htm
Author of Whitebear - http://www.whitebear.ch/mediaserver.htm

tyler69

  • Citizen of the Universe
  • *****
  • Posts: 946
Re: Questions on transcoding
« Reply #6 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?
Logged
Pages: [1]   Go Up