Forum

Twitch issues when transcoding 2160p60

Ilya 2022-05-06 06:53:33 UTC in Nimble Streamer

Hi,

I did 12 youtube repudblishing rules 2160p60 and all is ok. However when I am trying to transcoder 2160p60 to 1080p60 (audio passthrough) - twitch is lagging. For Twitch I am using recommended settings
Resolution: 1920x1080
Bitrate: 6000 kbps
Rate Control: CBR
Framerate: 60 fps
Preset: medium
Profile: Main

Any ideas,

Alexander 2022-05-06 07:16:35 UTC 

Hello Ilya,
- Take a look at nimble.log for any related messages first, regarding transcoding or stream transmission;
- Check the playback from your server locally;
- Perhaps, the interleaving compensation might help:
https://blog.wmspanel.com/2016/06/compensate-interleaving-nimble-streamer.html
More details are needed regarding your stream, you can file a new ticket in our helpdesk, or follow the #36073 one.

Ilya 2022-05-06 09:38:06 UTC 

From log I have:

[video_decoder] E: failed to decode video in appropriate rate from [live/smpracing] - what is mean?

also sometimes:
[encoder] E: failed to read audio in appropriate rate [live/smpracing]

Ilya 2022-05-06 09:44:37 UTC 

Also open input stream by VLC after transcoding and it is choppy

Ilya 2022-05-06 09:45:16 UTC 

Look like problem with transcoding as stream is input

Alexander 2022-05-06 13:56:55 UTC 

Ilya, these reports are related to the performance of your machine, it's likely that the CPU is not fast enough to process that particular input.

Ilya 2022-05-06 15:11:21 UTC 

HP Z820 - 2 CPU XEON E5-2690
12 republish rules + 1 transcoding + control + ...

CPU Load 29%
Memory 23
ssd 0

Ethernet s: 363 r: 60

Ilya 2022-05-06 15:15:23 UTC 

Is it any chance to understand and get help with transcoding to twitch - email is alderus@inbox.ru?

Alexander 2022-05-06 15:21:09 UTC 

Ilya, the Single thread performance is an important thing for Transcoding as well, not only the number of cores matter in this case.
E5-2690 (and which version is it?) doesn't look like a winner here:
https://www.cpubenchmark.net/singleThread.html#server-thread
That CPU looks fine for a heavy loaded WEB server, or for the Transmuxing task with Nimble, but not for a heavy input (2160p60) Transcoding.
You're running Transcoder under Windows OS, there is no handy way (as under Linux) of getting the per-thread load to check my assumption.

Ilya 2022-05-06 15:29:00 UTC 

Intel(R) Xeon(R) CPU E5-2690 0 @ 2.90GHz 2.90 GHz (2 processors)

Ilya 2022-05-06 15:29:40 UTC 

I think 30 percents is not very heavy load

Ilya 2022-05-06 15:31:57 UTC 

(2160p60) Transcoding = CPU Load ? GPU Load?
As I am only change frame size do not understand where is load:((

Ilya 2022-05-06 15:35:04 UTC 

Also it is my home computer - at work I have more powerful - but Twitch lagging is the same !!!!
AMD Ryzen Threadripper 3970X 32-Core Processor 3.69 GHz 64,0 ГБ (доступно: 63,9 ГБ)

Alexander 2022-05-06 15:39:25 UTC 

Ilya,

E.g i have a E3-1230 v6 as a test machine nearby and it hardly processes a single 2160p60fps input with an affordable quality.

All the E5-2690 (x) samples look even less productive in single thread in comparison to my available E3-1230 v6:
https://www.cpubenchmark.net/compare/Intel-Xeon-E3-1230-v6-vs-Intel-Xeon-E5-2690-v4-vs-Intel-Xeon-E5-2690-v3-vs-Intel-Xeon-E5-2690-v2-vs-Intel-Xeon-E5-2690/3032vs2780vs2364vs2057vs1223

If you have an NVENC compatible GPU in your server, you can try it instead:
https://developer.nvidia.com/video-encode-and-decode-gpu-support-matrix-new

Ilya 2022-05-06 15:50:31 UTC 

How I can try it? I am using Nvidia Quadro M4000 and can change to Geforce GTX 1080ti

Ilya 2022-05-06 15:51:48 UTC 

My GPU load is 0

Ilya 2022-05-06 15:52:48 UTC 

for video encode/decode

Ilya 2022-05-06 15:53:32 UTC 

From log [2022-05-06 17:50:37 P16732-T5748] [tranmain] I: Quadro M4000 nvenc device 0 found

Alexander 2022-05-06 15:55:10 UTC 

Ilya,

> I think 30 percents is not very heavy load
I've described the importance of a 'Single thread performance' already, please read it carefully

For a deeper analysis, instead of bombing the short messages here at forum like in a chat, file a ticket here please and provide more details regarding your other available CPUs and so on: https://wmspanel.com/help

Alexander 2022-05-06 16:02:06 UTC 

> [tranmain] I: Quadro M4000 nvenc device 0 found
Good, NVENC should be avaialble.
Choose Decoder: NVENC and Encoder: NVENC in your transcoder pipeline.
More setup details;
https://blog.wmspanel.com/2016/10/nvidia-nvenc-gpu-nimble-streamer-transcoder.html

Post a reply


Post a new question

Categories:

This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the Privacy Policy. If you want to know more or withdraw your consent to all or some of the cookies, please refer to the Privacy Policy.
By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to the use of cookies.