# UDP streams lagging after transcoding

**URL:** <https://community.wowza.com/t/udp-streams-lagging-after-transcoding/53648>\
**Category:** Wowza Streaming Engine\
**Tags:** transcoder\
**Created:** [July 12, 2019, 11:37am UTC](https://community.wowza.com/t/udp-streams-lagging-after-transcoding/53648 "2019-07-12T11:37:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aleksandar\_Stojcevsk](https://avatars.discourse-cdn.com/v4/letter/a/8491ac/32.png) [@Aleksandar\_Stojcevsk](https://community.wowza.com/u/Aleksandar_Stojcevsk)\
**Post date:** [July 12, 2019, 11:37am UTC](https://community.wowza.com/t/udp-streams-lagging-after-transcoding/53648/1 "2019-07-12T11:37:55Z")

</div>

Hi,

I have 20 smooth incoming UDP streams. I use transcoder with 3 bitrates (720p, 480p and 240p)

My configuration is:

-Ubuntu Server 18.04

- NVIDIA Quadro K5000

- Intel® Core™ i7-8700K CPU @ 3.70GHz

- RAM 16GB

After transcoding, output streams are lagging.

-CPU usage (70%)

-GPU usage (1800MB/16000MB)

I tried to disable 2 bitrate from transcoder (480p and 240p), so i transcode just one bitrate (720p) but also streams are lagging.

---

<div class="post-metadata">

**Author:** ![Karel\_Boek](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/karel_boek/32/454_2.png) [@Karel\_Boek](https://community.wowza.com/u/Karel_Boek)\
**Post date:** [July 12, 2019, 7:04pm UTC](https://community.wowza.com/t/udp-streams-lagging-after-transcoding/53648/2 "2019-07-12T19:04:06Z")

</div>

Lagging is most likely because of resource issues.

What’s the CPU usage? It could be the de-coding process that takes much CPU if your transcoding template hasn’t been set up corrrectly. You can set the de-coding to either CUDA or QuickSync.

Also, make sure you use CUDA or QuickSync for the scaling. I haven’t seen the scaling parameter in the Streaming Engine panel, so you must edit the template XML manually. The scaling property is at the bottom of the XML.
