# Transrating based on Input Stream Characteristics?

**URL:** <https://community.wowza.com/t/transrating-based-on-input-stream-characteristics/93188>\
**Category:** Wowza Streaming Engine\
**Created:** [April 20, 2021, 3:08pm UTC](https://community.wowza.com/t/transrating-based-on-input-stream-characteristics/93188 "2021-04-20T15:08:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bryan\_Walls](https://avatars.discourse-cdn.com/v4/letter/b/f05b48/32.png) [@Bryan\_Walls](https://community.wowza.com/u/Bryan_Walls)\
**Post date:** [April 20, 2021, 3:08pm UTC](https://community.wowza.com/t/transrating-based-on-input-stream-characteristics/93188/1 "2021-04-20T15:08:16Z")

</div>

I have several streams that can be either 720p or 480p, but are the same “channel” and multicast address/port. My player can handle either. But for adaptive transrating, I’d prefer to have different results:

720p 8 Mbps, 720p 4 Mbps, 360p, 240p, 160p  
480p 8 Mbps, 480p 2 Mbps, 360p, 240p, 160p

Is there any way to configure my second adaptive stream to be keyed off of the resolution of the source? I don’t really want to upscale the SD source to HD as the first fall-back, though I guess it would work okay.

---

<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:** [April 21, 2021, 5:48pm UTC](https://community.wowza.com/t/transrating-based-on-input-stream-characteristics/93188/2 "2021-04-21T17:48:14Z")

</div>

Simplest is to have a trancoder template per stream; where you give the template the same name as the stream name, and in the Application under Transcoder you enable “Match source stream name to template name”.

You can make it dynamic but it will require you to develop a custom plug-in in Java. Then you can hook onto the transcoder triggers, find the stream characteristics and en-/disable transcoder profiles. If you want someone to develop such a plug-in for you, then you can post a request in the [Hire A Consultant forum](http://community.wowza.com/c/hire-a-consultant/7).
