Wowza Community

AWS EC2 Live transcoding - Hardware Accleration

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

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

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

for example : https://aws.amazon.com/marketplace/pp/B00FYCCNJ0 / https://aws.amazon.com/marketplace/pp/B00FYCBRE2 / https://aws.amazon.com/marketplace/pp/B00FYCDDTE

Regards,

Sathish

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) for more instructions.

Zoran

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) 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

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.

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

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

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

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.

Daren

g2 is available in Tokyo region.