# AWS EC2 Live transcoding - Hardware Accleration

**URL:** <https://community.wowza.com/t/aws-ec2-live-transcoding-hardware-accleration/38596>\
**Category:** Wowza Streaming Engine\
**Created:** [May 2, 2014, 4:02pm UTC](https://community.wowza.com/t/aws-ec2-live-transcoding-hardware-accleration/38596 "2014-05-02T16:02:40Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sathishkumar\_KPS](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@Sathishkumar\_KPS](https://community.wowza.com/u/Sathishkumar_KPS)\
**Post date:** [May 2, 2014, 4:02pm UTC](https://community.wowza.com/t/aws-ec2-live-transcoding-hardware-accleration/38596/1 "2014-05-02T16:02:40Z")

</div>

Hi,

I’m using live application with transcoder, application hosted at AWS cg1.4xlarge type instance. The hardware accleration is not enabled while transcoding.

07:45:26 UTC comment server INFO 200 - LiveStreamTranscoder.init[live/_definst_/stream01]: Load transcoder template: file:///C:/Program Files (x86)/Wowza Media Systems/Wowza Streaming Engine 4.0.3/transcoder/templates/transrate.xml - - - 12.905 - - - - - - - - - - - - - - - - - - - - - - - - -

2014-05-02 07:45:27 UTC comment server INFO 200 - JNI:VideoEncoderH264QuickSyncHost[global]: QuickSync: hardware acceleration is not available (software only) - - - 13.075 - - - - - - - - - - - - - - - - - - - - - - - - -

2014-05-02 07:45:27 UTC comment server INFO 200 - JNI:TranscoderSession.isCUDAAvailable[_defaultVHost_:live/_definst_/stream01]: NVidia hardware acceleration is NOT available - - - 13.076 - - - - - - - - - - - - - - - - - - - - - - - - -

2014-05-02 07:45:27 UTC comment server INFO 200 - JNI:TranscoderSession.isQuickSyncAvailable[_defaultVHost_:live/_definst_/stream01]: Intel Quick Sync hardware acceleration is NOT available.

I came to know that hardware encoder is not available for cg1.4xlarge - [http://blog.cudahandbook.com/2013/11/20/cuda-really-everywhere.aspx](http://aws.typepad.com/aws/2013/11/build-3d-streaming-applications-with-ec2s-new-g2-instance-type.html)

Does this mean, I cannot use cg1.4xlarge type instances for live transcoding ? and my AMI ID is ami-dfcdc4b6 - [http://thecloudmarket.com/image/ami-dfcdc4b6–windows-server-2012-rtm-english-64bit-base-2014-03-12](http://thecloudmarket.com/image/ami-dfcdc4b6--windows-server-2012-rtm-english-64bit-base-2014-03-12)

If yes, Can I use g2.2xlarge type instances - [http://aws.typepad.com/aws/2013/11/build-3d-streaming-applications-with-ec2s-new-g2-instance-type.html](http://aws.typepad.com/aws/2013/11/build-3d-streaming-applications-with-ec2s-new-g2-instance-type.html)

for example : [https://aws.amazon.com/marketplace/pp/B00FYCCNJ0](https://aws.amazon.com/marketplace/pp/B00FYCDDTE) / [https://aws.amazon.com/marketplace/pp/B00FYCBRE2](https://aws.amazon.com/marketplace/pp/B00FYCDDTE) / [https://aws.amazon.com/marketplace/pp/B00FYCDDTE](https://aws.amazon.com/marketplace/pp/B00FYCDDTE)

Regards,

Sathish

---

<div class="post-metadata">

**Author:** ![Zoran](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/zoran/32/385_2.png) [@Zoran](https://community.wowza.com/u/Zoran)\
**Post date:** [May 5, 2014, 3:10pm UTC](https://community.wowza.com/t/aws-ec2-live-transcoding-hardware-accleration/38596/2 "2014-05-05T15:10:21Z")

</div>

Hi Sathish,

Yes, you can use g2.2xlarge EC2 instance type.

Please take a look at the [How to configure NVIDIA NVENC accelerated encoding on Amazon EC2 (G2, NVENC)](https://www.wowza.com/docs/how-to-configure-nvidia-nvenc-accelerated-encoding-on-amazon-ec2-g2-nvenc%28G2-NVENC%29) for more instructions.

Zoran

---

<div class="post-metadata">

**Author:** ![Azril\_Nazli\_Alias](https://avatars.discourse-cdn.com/v4/letter/a/cdc98d/32.png) [@Azril\_Nazli\_Alias](https://community.wowza.com/u/Azril_Nazli_Alias)\
**Post date:** [May 7, 2014, 9:10pm UTC](https://community.wowza.com/t/aws-ec2-live-transcoding-hardware-accleration/38596/3 "2014-05-07T21:10:51Z")

</div>

> Hi Sathish,
> 
> Yes, you can use g2.2xlarge EC2 instance type.
> 
> Please take a look at the [How to configure NVIDIA NVENC accelerated encoding on Amazon EC2 (G2, NVENC)](https://www.wowza.com/docs/how-to-configure-nvidia-nvenc-accelerated-encoding-on-amazon-ec2-g2-nvenc%28G2-NVENC%29) for more instructions.
> 
> Zoran

Just set up this instance in US-Region, but most of my viewers are in APAC region…It should exist in Singapore instance too

---

<div class="post-metadata">

**Author:** ![Azril\_Nazli\_Alias](https://avatars.discourse-cdn.com/v4/letter/a/cdc98d/32.png) [@Azril\_Nazli\_Alias](https://community.wowza.com/u/Azril_Nazli_Alias)\
**Post date:** [May 8, 2014, 2:09pm UTC](https://community.wowza.com/t/aws-ec2-live-transcoding-hardware-accleration/38596/4 "2014-05-08T14:09:21Z")

</div>

> Hi,
> 
> The g2.2xlarge instance type is not available as an On Demand instance in the Singapore region.
> 
> However, it is available in several different flavors of reserved instance. You can [check here.](https://aws.amazon.com/ec2/pricing/)
> 
> Daren

I just fired up and got these message on Wowza Logs

CUDA no available

NVidia Hardware Acceleration not available

and some complain about NVidia java driver.

I transcode 6 incoming stream into SOURCE,480p,360p,240p and 160p…CPU usage around 90%

I think wowza still use main concept’s software encoding. How do I fix this ?

Currently using latest Wowza 4.03, g2 instance with nvidia and pre installed openjdk java using AMI Linux

---

<div class="post-metadata">

**Author:** ![Azril\_Nazli\_Alias](https://avatars.discourse-cdn.com/v4/letter/a/cdc98d/32.png) [@Azril\_Nazli\_Alias](https://community.wowza.com/u/Azril_Nazli_Alias)\
**Post date:** [May 8, 2014, 6:07pm UTC](https://community.wowza.com/t/aws-ec2-live-transcoding-hardware-accleration/38596/5 "2014-05-08T18:07:26Z")

</div>

my bad…I didn’t install the NVidia Driver

following this -\> [http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using\_cluster\_computing.html#install-nvidia-driver](http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using_cluster_computing.html#install-nvidia-driver)

Restart the wowza…now it detected properly…CPU usage down to 50%

---

<div class="post-metadata">

**Author:** ![Daren\_Johnson](https://avatars.discourse-cdn.com/v4/letter/d/ee59a6/32.png) [@Daren\_Johnson](https://community.wowza.com/u/Daren_Johnson)\
**Post date:** [May 7, 2014, 9:30pm UTC](https://community.wowza.com/t/aws-ec2-live-transcoding-hardware-accleration/38596/6 "2014-05-07T21:30:21Z")

</div>

Hi,

The g2.2xlarge instance type is not available as an On Demand instance in the Singapore region.

However, it is available in several different flavors of reserved instance. You can [check here.](https://aws.amazon.com/ec2/pricing/)

Daren

---

<div class="post-metadata">

**Author:** ![Mahesh\_Sharma](https://avatars.discourse-cdn.com/v4/letter/m/858c86/32.png) [@Mahesh\_Sharma](https://community.wowza.com/u/Mahesh_Sharma)\
**Post date:** [May 10, 2014, 12:38pm UTC](https://community.wowza.com/t/aws-ec2-live-transcoding-hardware-accleration/38596/7 "2014-05-10T12:38:10Z")

</div>

g2 is available in Tokyo region.
