Hello Richard.
We have the same problem. Could you please answer in this thread, so we can see progress about this issue.
It happens not every time we use transcoder.
Log, when there is a problem
Code:
2012-05-18 04:13:57 CDT comment server INFO 200 - ModuleLiveStreamTranscoderActionNotifyExample#MyTranscoderCreateNotifier.onLiveStreamTranscoderCreate[ForaSoftProject/_definst_]: - - - 61993.552 - - - - - - - - - - - - - - - - - - - - - - - - -
2012-05-18 04:13:57 CDT comment server INFO 200 - LiveStreamTranscoder.init[ForaSoftProject/_definst_/]: Load transcoder template: file:///usr/local/WowzaMediaServer/transcoder/templates/audioonly.xml - - - 61993.552 - - - - - - - - - - - - - - - - - - - - - - - - -
2012-05-18 04:13:57 CDT comment server INFO 200 - JNI:TranscoderSession.isCUDAAvailable[_defaultVHost_:ForaSoftProject/_definst_/]: NVidia CUDA hardware acceleration is NOT available on Linux - - - 61993.568 - - - - - - - - - - - - - - - - - - - - - - - - -
2012-05-18 04:13:57 CDT comment server INFO 200 - JNI:TranscoderSession.isQuickSyncAvailable[_defaultVHost_:ForaSoftProject/_definst_/]: Intel Quick Sync hardware acceleration is NOT available on Linux - - - 61993.568 - - - - - - - - - - - - - - - - - - - - - - - - -
2012-05-18 04:13:57 CDT publish stream INFO 200 105565220_video - _defaultVHost_ ForaSoftProject _definst_ 66.33 [any] 1935 rtmp://projectIP/ForaSoftProject localIP rtmp http://projectIP/flash/ForaSoftProject.swf WIN 11,2,202,228 105565220 4873 3710 1 66994 33 0 105565220_video - - - - - rtmp://projectIP/ForaSoftProject/105565220_video rtmp://projectIP/ForaSoftProject/105565220_video - rtmp://projectIP/ForaSoftProject -
2012-05-18 04:13:57 CDT comment server INFO 200 - onStreamCreate: 1 - - - 61993.571 - - - - - - - - - - - - - - - - - - - - - - - - -
2012-05-18 04:13:57 CDT create stream INFO 200 - - - - - 0.001 - - - - - - - - - - 1 0 0 0 - - - - - - - - - - -
2012-05-18 04:13:57 CDT publish stream INFO 200 _aac - - - - 0.002 - - - - - - - - - - 1 0 0 0 _aac - - - - - /_aac /_aac - - -
2012-05-18 04:13:57 CDT comment server INFO 200 - JNI:TranscoderSession.audioDecoderCreate[_defaultVHost_:ForaSoftProject/_definst_/]: Create audio decoder: SPEEX: default - - - 61993.573 - - - - - - - - - - - - - - - - - - - - - - - - -
2012-05-18 04:13:57 CDT decoder-audio-start transcoder INFO 200 - {codec:SPEEX, objectType:1, sampleRate:16000, channels:1} - - - 61993.574 - - - - - - - - - - - - - - - - - - - - - - - - -
2012-05-18 04:13:57 CDT comment server INFO 200 - JNI:TranscoderSession.audioEncoderAdd[_defaultVHost_:ForaSoftProject/_definst_/:aac]: Create audio encoder: AAC: default - - - 61993.574 - - - - - - - - - - - - - - - - - - - - - - - - -
2012-05-18 04:13:57 CDT comment server INFO 200 - JNI:AudioEncoderAAC.initialize[_defaultVHost_:ForaSoftProject/_definst_/:aac]: channels:1 sampleRate:16000 bitRate:48000 - - - 61993.576 - - - - - - - - - - - - - - - - - - - - - - - - -
2012-05-18 04:13:57 CDT encoder-audio-start transcoder INFO 200 - {name:"aac", bitrate:48000, codec:AAC, objectType:LC, sampleRate:16000, channels:1} - - - 61993.661 - - - - - - - - - - - - - - - - - - - - - - - - -
And this is log, when everything works as expected:
Code:
2012-05-18 04:23:12 CDT publish stream INFO 200 1829041498_video - _defaultVHost_ ForaSoftProject _definst_ 94.853 [any] 1935 rtmp://projectIP/ForaSoftProject localIP rtmp http://projectIP/flash/ForaSoftProject.swf WIN 11,2,202,228 1829041498 4820 3728 1 0 0 0 1829041498_video - - - - - rtmp://projectIP/ForaSoftProject/1829041498_video rtmp://projectIP/ForaSoftProject/1829041498_video - rtmp://projectIP/ForaSoftProject -
2012-05-18 04:23:12 CDT comment server INFO 200 - ModuleLiveStreamTranscoderActionNotifyExample#MyTranscoderCreateNotifier.onLiveStreamTranscoderCreate[ForaSoftProject/_definst_]: 1829041498_video - - - 62548.827 - - - - - - - - - - - - - - - - - - - - - - - - -
2012-05-18 04:23:12 CDT comment server INFO 200 - LiveStreamTranscoder.init[ForaSoftProject/_definst_/1829041498_video]: Load transcoder template: file:///usr/local/WowzaMediaServer/transcoder/templates/audioonly.xml - - - 62548.828 - - - - - - - - - - - - - - - - - - - - - - - - -
2012-05-18 04:23:12 CDT comment server INFO 200 - JNI:TranscoderSession.isCUDAAvailable[_defaultVHost_:ForaSoftProject/_definst_/1829041498_video]: NVidia CUDA hardware acceleration is NOT available on Linux - - - 62548.844 - - - - - - - - - - - - - - - - - - - - - - - - -
2012-05-18 04:23:12 CDT comment server INFO 200 - JNI:TranscoderSession.isQuickSyncAvailable[_defaultVHost_:ForaSoftProject/_definst_/1829041498_video]: Intel Quick Sync hardware acceleration is NOT available on Linux - - - 62548.844 - - - - - - - - - - - - - - - - - - - - - - - - -
2012-05-18 04:23:12 CDT comment server INFO 200 - onStreamCreate: 1 - - - 62548.847 - - - - - - - - - - - - - - - - - - - - - - - - -
2012-05-18 04:23:12 CDT create stream INFO 200 - - - - - 0.001 - - - - - - - - - - 1 0 0 0 - - - - - - - - - - -
2012-05-18 04:23:12 CDT publish stream INFO 200 1829041498_video_aac - - - - 0.002 - - - - - - - - - - 1 0 0 0 1829041498_video_aac - - - - - /1829041498_video_aac /1829041498_video_aac - - -
2012-05-18 04:23:12 CDT comment server INFO 200 - JNI:TranscoderSession.audioDecoderCreate[_defaultVHost_:ForaSoftProject/_definst_/1829041498_video]: Create audio decoder: SPEEX: default - - - 62548.85 - - - - - - - - - - - - - - - - - - - - - - - - -
2012-05-18 04:23:12 CDT decoder-audio-start transcoder INFO 200 1829041498_video {codec:SPEEX, objectType:1, sampleRate:16000, channels:1} - - - 62548.851 - - - - - - - - - - - - - - - - - - - - - - - - -
2012-05-18 04:23:12 CDT comment server INFO 200 - JNI:TranscoderSession.audioEncoderAdd[_defaultVHost_:ForaSoftProject/_definst_/1829041498_video:aac]: Create audio encoder: AAC: default - - - 62548.851 - - - - - - - - - - - - - - - - - - - - - - - - -
2012-05-18 04:23:12 CDT comment server INFO 200 - JNI:AudioEncoderAAC.initialize[_defaultVHost_:ForaSoftProject/_definst_/1829041498_video:aac]: channels:1 sampleRate:16000 bitRate:48000 - - - 62548.853 - - - - - - - - - - - - - - - - - - - - - - - - -
2012-05-18 04:23:12 CDT encoder-audio-start transcoder INFO 200 1829041498_video {name:"aac", bitrate:48000, codec:AAC, objectType:LC, sampleRate:16000, channels:1} - - - 62549.099 - - - - - - - - - - - - - - - - - - - - - - - - -
20
As you can see, in the first case Transcoder is initialized before the line
"publish stream INFO 200 105565220_video". I'm not sure if it's OK or not.
But this pattern repeats throughout our logs.
We stream video from flash player, using H264 and Speex.
We transcode only audio. audioonly.xml:
Code:
<Root>
<Transcode>
<Encodes>
<!-- Example Encode block for source, not required unless Member of StreamNameGroup. -->
<Encode>
<Enable>true</Enable>
<Name>aac</Name>
<StreamName>mp4:${SourceStreamName}_aac</StreamName>
<Video>
<!-- H.264, PassThru, Disable -->
<Codec>PassThru</Codec>
<Bitrate>${SourceVideoBitrate}</Bitrate>
<Parameters>
</Parameters>
</Video>
<Audio>
<!-- AAC, PassThru, Disable -->
<Codec>AAC</Codec>
<Bitrate>48000</Bitrate>
</Audio>
<Properties>
</Properties>
</Encode>
</Encodes>
<Decode>
</Decode>
<StreamNameGroups>
</StreamNameGroups>
<Properties>
</Properties>
</Transcode>
</Root>
We look forward for your response.
Thanks.