-
Amazon cg1.4xlarge transcoding
Hello Team,
I have some trouble with Wowza 3 + Transcode Addon on Amazon EC2 instance. There is Windows x64 OS with CUDA graphic card NVIDIA Tesla 2050 (cg1.4xlarge instance).
Source stream is rtpm with h264 codec. I`ve enabled transcoder into Application.xml file. Streamtype is live. I use transrate.xml template:
<Encode>
<Enable>true</Enable>
<Name>360p</Name>
<StreamName>mp4:${SourceStreamName}_360p</StreamName>
<Video>
<!-- H.264, PassThru -->
<Codec>H.264</Codec>
<!-- default, CUDA, QuickSync -->
<Transcoder>CUDA</Transcoder>
<GPUID>0</GPUID>
<FrameSize>
<!-- letterbox, fit-width, fit-height, crop, stretch, match-source -->
<FitMode>fit-height</FitMode>
<Width>640</Width>
<Height>360</Height>
<!-- <Crop>0,0,0,0</Crop> -->
<!-- <SourceRectangle>0,0,320,240</SourceRectangle> -->
</FrameSize>
<Profile>baseline</Profile>
<Bitrate>850000</Bitrate>
<KeyFrameInterval>
<FollowSource>true</FollowSource>
<Interval>60</Interval>
</KeyFrameInterval>
<Overlays>
<Overlay>
<Enable>false</Enable>
<Index>0</Index>
<ImagePath>${com.wowza.wms.context.VHostConfigHome }/content/wowzalogo.png</ImagePath>
<Opacity>100</Opacity>
<Location>
<X>5</X>
<Y>5</Y>
<Width>${ImageWidth}</Width>
<Height>${ImageHeight}</Height>
<!-- horiz: left, right, hcenter - vert: top, bottom, vcenter -->
<Align>left,top</Align>
</Location>
</Overlay>
</Overlays>
<Parameters>
</Parameters>
</Video>
<Audio>
<!-- AAC, PassThru -->
<Codec>PassThru</Codec>
<Bitrate>${SourceAudioBitrate}</Bitrate>
</Audio>
<Properties>
</Properties>
</Encode>
Output stream is myStream_360p. But stream did not download. PLease, help me
2012-01-11 12:07:46 GMT publish stream INFO 200 myStream - _defaultVHost_ app _definst_ 0.219 [any] 1935 rtmp://10.17.129.175:1935/app 10.252.166.33 rtmp - FMLE/3.0 (compatible; Lavf52.64.2) 855823496 3410 3606 1 0 0 0 myStream - - - - - rtmp://10.17.129.175:1935/app/myStream rtmp://10.17.129.175:1935/app/myStream - rtmp://10.17.129.175:1935/app -
2012-01-11 12:07:46 GMT comment server INFO 200 - TranscoderSessionNative.loadLibrary: Load transcoder list: C:/Program Files (x86)/Wowza Media Systems/Wowza Media Server 3.0.3/lib-native/win64/transcoder.list - - - 57.255 - - - - - - - - - - - - - - - - - - - - - - - - -
2012-01-11 12:07:46 GMT comment server INFO 200 - LiveStreamTranscoder.init[app/_definst_/myStream]: Load transcoder template: file:///C:/Program Files (x86)/Wowza Media Systems/Wowza Media Server 3.0.3/transcoder/templates/transrate.xml - - - 57.286 - - - - - - - - - - - - - - - - - - - - - - - - -
2012-01-11 12:07:47 GMT comment server INFO 200 - JNI:TranscoderSession.isCUDAAvailable[app/_definst_/myStream]: NVidia CUDA hardware acceleration is available - - - 57.395 - - - - - - - - - - - - - - - - - - - - - - - - -
2012-01-11 12:07:47 GMT comment server INFO 200 - JNI:NVidiaCUDAUtils.logCUDAGPUInfo[app/_definst_/myStream]: GPU[0]: name:"Tesla M2050" version:2.0 driver:4000 memory:2687MB processors:14 cores:448 clockRate:1147MHz - - - 57.395 - - - - - - - - - - - - - - - - - - - - - - - - -
2012-01-11 12:07:47 GMT comment server INFO 200 - JNI:NVidiaCUDAUtils.logCUDAGPUInfo[app/_definst_/myStream]: GPU[1]: name:"Tesla M2050" version:2.0 driver:4000 memory:2687MB processors:14 cores:448 clockRate:1147MHz - - - 57.395 - - - - - - - - - - - - - - - - - - - - - - - - -
2012-01-11 12:07:47 GMT comment server INFO 200 - JNI:TranscoderSession.isQuickSyncAvailable[app/_definst_/myStream]: Intel Quick Sync hardware acceleration is NOT available - - - 57.395 - - - - - - - - - - - - - - - - - - - - - - - - -
2012-01-11 12:07:47 GMT create stream INFO 200 - - - - - 0.0 - - - - - - - - - - 1 0 0 0 - - - - - - - - - - -
2012-01-11 12:07:47 GMT publish stream INFO 200 myStream_source - - - - 0.0010 - - - - - - - - - - 1 0 0 0 myStream_source - - - - - /myStream_source /myStream_source - - -
2012-01-11 12:07:47 GMT create stream INFO 200 - - - - - 0.0010 - - - - - - - - - - 2 0 0 0 - - - - - - - - - - -
2012-01-11 12:07:47 GMT publish stream INFO 200 myStream_360p - - - - 0.0010 - - - - - - - - - - 2 0 0 0 myStream_360p - - - - - /myStream_360p /myStream_360p - - -
2012-01-11 12:07:47 GMT comment server INFO 200 - JNI:TranscoderSession.videoDecoderCreate[app/_definst_/myStream]: Create video decoder: H.264: default - - - 57.432 - - - - - - - - - - - - - - - - - - - - - - - - -
2012-01-11 12:07:47 GMT comment server INFO 200 - LiveStreamPacketizerSanJose.init[app/_definst_/myStream]: chunkDurationTarget: 10000 - - - 57.434 - - - - - - - - - - - - - - - - - - - - - - - - -
2012-01-11 12:07:47 GMT comment server INFO 200 - LiveStreamPacketizerSanJose.init[app/_definst_/myStream]: chunkDurationTolerance: 500 - - - 57.435 - - - - - - - - - - - - - - - - - - - - - - - - -
2012-01-11 12:07:47 GMT comment server INFO 200 - LiveStreamPacketizerSanJose.init[app/_definst_/myStream]: playlistChunkCount:4 - - - 57.435 - - - - - - - - - - - - - - - - - - - - - - - - -
2012-01-11 12:07:47 GMT comment server INFO 200 - MediaStreamMap.getLiveStreamPacketizer: Create live stream packetizer: sanjosestreamingpacketizer:myStream - - - 57.437 - - - - - - - - - - - - - - - - - - - - - - - - -
2012-01-11 12:07:47 GMT comment server INFO 200 - SanJosePacketHandler.startStream[app/_definst_/myStream] - - - 57.441 - - - - - - - - - - - - - - - - - - - - - - - - -
2012-01-11 12:07:47 GMT comment server INFO 200 - LiveStreamPacketizerSanJose.handlePacket[app/_definst_/myStream]: Video codec: H264 - - - 57.441 - - - - - - - - - - - - - - - - - - - - - - - - -
2012-01-11 12:07:47 GMT comment server INFO 200 - LiveStreamPacketizerSanJose.handlePacket[app/_definst_/myStream]: Audio codec: AAC - - - 57.442 - - - - - - - - - - - - - - - - - - - - - - - - -
2012-01-11 12:07:47 GMT decoder-video-start transcoder INFO 200 myStream {codec:H264, profile:66, level:30, frameSize:424x240, displaySize:424x240, frameRate:24.0} - - - 57.445 - - - - - - - - - - - - - - - - - - - - - - - - -
2012-01-11 12:07:47 GMT comment server INFO 200 - LiveStreamPacketizerCupertino.init[app/_definst_/myStream]: chunkDurationTarget: 10000 - - - 57.448 - - - - - - - - - - - - - - - - - - - - - - - - -
-
Looks okay. Did you test with Wowza LiveVideoStreaming player?
Server: rtmp://[wowza-address]:1935/app
Stream: myStream_360p
Richard
-
Hello rrlanham. Thanks for quick response.
I tested with LiveVideoStreaming player. Source stream downloaded, transcoded stream without CUDA too.
If I set CUDA transcoder steam didn`t transmit to my browser
-
What version of Wowza are you using? If not already, update to latest patch:
http://www.wowza.com/forums/content....lopment-Builds
And make sure you have the latest CUDA drivers:
http://www.wowza.com/forums/content.php?310
See if that fixes it. Otherwise let us know.
Richard
-
Hello Richard
I use wowza 3.0.3 version. CUDA drivers have last version and wowza had been patched with latest patch .
Also Wowza is running as describe in article: http://www.wowza.com/forums/content....e-acceleration
I`ve shared log file with debug info to repidshare:
https://rapidshare.com/files/1446620...ver_access.log
Hope it`s help you
Thanks
-
We're going to give it a try here.
Richard
-
Hello Alex, our QA team is going to look at this and we arewondering if you would mind opening a ticket by emailing support@wowza.com and referencing this forum thread. We would like to get access to your Application.xml and the transcoder template you are using and a ticket would be the better place to post them. Thanks for your help.
Cheers, Adam...
-
By any chance was a ticket created on this? I am testing the transcoder addon with this Amazone Ec2 instace and running into the same problem only when CUDA is enabled. When it is turned off and encoding with standard settings everything is fine.
-
Our engineering team has confirmed that there is an issue with CUDA acceleration on the cg1.4xlarge; unfortunately, we do not have a short term fix at this time
Richard
-
... but there is a trick, you can just reboot the machine once and it should work.
Richard
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules