Page 1 of 4 123 ... LastLast
Results 1 to 10 of 31

Thread: How to setup bitrate and frame size for a transcoded video

  1. #1

    Default How to setup bitrate and frame size for a transcoded video

    Hi every one, can anyone help me to set up bit-rate for my live streaming?

    Here is the code modification that I'm doing, maybe I'm doing something wrong.



    transcoder.xml
    <Root>
            <Transcode>
                    <Encodes>
                            <Encode>
                                    <Enable>false</Enable>
                                    <Name>720p</Name>
                                    <StreamName>mp4:${SourceStreamName}_720p</StreamName>
                                    <Video>
                                            <Codec>H.264</Codec>
                                            <Transcoder>default</Transcoder>
                                            <GPUID>-1</GPUID>
                                            <FrameSize>
                                                    <FitMode>fit-height</FitMode>
                                                    <Width>20</Width> <!--modifyed by vadim from 1280-->
                                                    <Height>50</Height> <!--modifyed by vadim from 720-->
                                            </FrameSize>
                                            <Profile>main</Profile>
                                            <Bitrate>500</Bitrate>
                                            <KeyFrameInterval>
                                                    <FollowSource>false</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>
                                                                    <Align>left,top</Align>
                                                            </Location>
                                                    </Overlay>
                                            </Overlays>
                                            <Parameters>
                                            </Parameters>
                                    </Video>
                                    <Audio>
                                            <Codec>AAC</Codec>
                                            <Bitrate>96000</Bitrate>
                                            <Parameters>
                                            </Parameters>
                                    </Audio>
                                    <Properties>
                                    </Properties>
                            </Encode>
                            <Encode>
                                    <Enable>true</Enable>
                                    <Name>360p</Name>
                                    <StreamName>mp4:${SourceStreamName}_360p</StreamName>
                                    <Video>
                                            <Codec>H.264</Codec>
                                            <Transcoder>default</Transcoder>
                                            <GPUID>-1</GPUID>
                                            <FrameSize>
                                                    <FitMode>fit-height</FitMode>
                                                    <Width>20</Width> <!--modifyed by vadim from 640 -->
                                                    <Height>50</Height> <!--modifyed by vadim from 360 -->
                                            </FrameSize>
                                            <Profile>main</Profile>
                                            <Bitrate>500</Bitrate> <!--modifyed by vadim from 850000 -->
                                            <KeyFrameInterval>
                                                    <FollowSource>false</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>
                                                                    <Align>left,top</Align>
                                                            </Location>
                                                    </Overlay>
                                            </Overlays>
                                            <Parameters>
                                            </Parameters>
                                    </Video>
                                    <Audio>
                                            <Codec>AAC</Codec>
                                            <Bitrate>96000</Bitrate>
                                            <Parameters>
                                            </Parameters>
                                    </Audio>
                                    <Properties>
                                    </Properties>
                            </Encode>
                            <Encode>
                                    <Enable>false</Enable>
                                    <Name>240p</Name>
                                    <StreamName>mp4:${SourceStreamName}_240p</StreamName>
                                    <Video>
                                            <Codec>H.264</Codec>
                                            <Transcoder>default</Transcoder>
                                            <GPUID>-1</GPUID>
                                            <FrameSize>
                                                    <FitMode>fit-height</FitMode>
                                                    <Width>20</Width>
                                                    <Height>50</Height>
                                            </FrameSize>
                                            <Profile>baseline</Profile>
                                            <Bitrate>500</Bitrate>
                                            <KeyFrameInterval>
                                                    <FollowSource>false</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>
                                                                    <Align>left,top</Align>
                                                            </Location>
                                                    </Overlay>
                                            </Overlays>
                                            <Parameters>
                                            </Parameters>
                                    </Video>
                                    <Audio>
                                            <Codec>AAC</Codec>
                                            <Bitrate>96000</Bitrate>
                                            <Parameters>
                                            </Parameters>
                                    </Audio>
                                    <Properties>
                                    </Properties>
                            </Encode>
                            <Encode>
                                    <Enable>true</Enable>
                                    <Name>160p</Name>
                                    <StreamName>mp4:${SourceStreamName}_160p</StreamName>
                                    <Video>
                                            <Codec>H.264</Codec>
                                            <Transcoder>default</Transcoder>
                                            <GPUID>-1</GPUID>
                                            <FrameSize>
                                                    <FitMode>fit-height</FitMode>
                                                    <Width>20</Width>  <!--modifyed by vadim from 284-->
                                                    <Height>50</Height>  <!--modifyed by vadim from 160-->
                                            </FrameSize>
                                            <Profile>baseline</Profile>
                                            <Bitrate>500</Bitrate> <!--modifyed by vadim from 200000-->
                                            <KeyFrameInterval>
                                                    <FollowSource>false</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>
                                                                    <Align>left,top</Align>
                                                            </Location>
                                                    </Overlay>
                                            </Overlays>
                                            <Parameters>
                                            </Parameters>
                                    </Video>
                                    <Audio>
                                            <Codec>AAC</Codec>
                                            <Bitrate>96000</Bitrate>
                                            <Parameters>
                                            </Parameters>
                                    </Audio>
                                    <Properties>
                                    </Properties>
                            </Encode>
                    </Encodes>
                    <Decode>
                            <Video>
                                    <Deinterlace>false</Deinterlace>
                                    <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>
                                                            <Align>left,top</Align>
                                                    </Location>
                                            </Overlay>
                                    </Overlays>
                                    <Parameters>
                                    </Parameters>
                            </Video>
                            <Properties>
                            </Properties>
                    </Decode>
                    <Properties>
                    </Properties>
            </Transcode>
    </Root>



    Application.xml

    :/usr/local/WowzaMediaServer/applications/bwcheck# cat /usr/local/WowzaMediaServer/conf/rtplive/Application.xml
    
    <Root>
            <Application>
                    <!-- Uncomment to set application level timeout values
                    <ApplicationTimeout>60000</ApplicationTimeout>
                    <PingTimeout>12000</PingTimeout>
                    <ValidationFrequency>8000</ValidationFrequency>
                    <MaximumPendingWriteBytes>0</MaximumPendingWriteBytes>
                    <MaximumSetBufferTime>60000</MaximumSetBufferTime>
                    <MaximumStorageDirDepth>25</MaximumStorageDirDepth>
                    -->
                    <Connections>
                            <AutoAccept>true</AutoAccept>
                            <AllowDomains></AllowDomains>
                    </Connections>
                    <!--
                            StorageDir path variables
    
                            ${com.wowza.wms.AppHome} - Application home directory
                            ${com.wowza.wms.ConfigHome} - Configuration home directory
                            ${com.wowza.wms.context.VHost} - Virtual host name
                            ${com.wowza.wms.context.VHostConfigHome} - Virtual host config directory
                            ${com.wowza.wms.context.Application} - Application name
                            ${com.wowza.wms.context.ApplicationInstance} - Application instance name
    
                    -->
                    <Streams>
                            <StreamType>rtp-live</StreamType>
                            <StorageDir>${com.wowza.wms.context.VHostConfigHome}/content</StorageDir>
                            <KeyDir>${com.wowza.wms.context.VHostConfigHome}/keys</KeyDir>
                            <!-- LiveStreamPacketizers (separate with commas): cupertinostreamingpacketizer, smoothstreamingpacketizer, sanjosestreamingpacketizer, cupertinostreamingrepeater, smoothstreamingrepeater, sanjosestreamingrepeater, dvrstreamingpacketizer, dvrstreamingrepeater -->
                            <LiveStreamPacketizers> cupertinostreamingpacketizer, smoothstreamingpacketizer, sanjosestreamingpacketizer</LiveStreamPacketizers>
                            <!-- Properties defined here will override any properties defined in conf/Streams.xml for any streams types loaded by this application -->
                            <Property>
                                    <Name>sortPackets</Name>
                                    <Value>true</Value>
                                    <Type>Boolean</Type>
                            </Property>
                            <Property>
                                    <Name>sortBufferSize</Name>
                                    <Value>500</Value>
                                    <Type>Integer</Type>
                            </Property>
                    </Streams>
                    <Transcoder>
                            <!-- To turn on transcoder set to: transcoder -->
                            <LiveStreamTranscoder>transcoder</LiveStreamTranscoder>
                            <!-- [templatename].xml or ${SourceStreamName}.xml -->
                            <Templates>${SourceStreamName}.xml,transcode.xml</Templates> <!--changed by vadim from transrate to transcode.xml-->
                            <ProfileDir>${com.wowza.wms.context.VHostConfigHome}/transcoder/profiles</ProfileDir>
                            <TemplateDir>${com.wowza.wms.context.VHostConfigHome}/transcoder/templates</TemplateDir>
                            <Properties>
                            </Properties>
                    </Transcoder>
    
                    <DVR>
                            <!-- As a single server or as an origin, use dvrstreamingpacketizer in LiveStreamPacketizers above -->
                            <!-- Or, in an origin-edge configuration, edges use dvrstreamingrepeater in LiveStreamPacketizers above -->
                            <!-- As an origin, also add dvrchunkstreaming to HTTPStreamers below -->
    
                            <!-- To turn on DVR recording set Recorders to dvrrecorder.  This works with dvrstreamingpacketizer  -->
                            <Recorders></Recorders>
    
                            <!-- As a single server or as an origin, set the Store to dvrfilestorage-->
                            <!-- edges should have this empty -->
                            <Store></Store>
    
                            <!--  Window Duration is length of live DVR window in seconds.  0 means the window is never trimmed. -->
                            <WindowDuration>0</WindowDuration>
    
                            <!-- Storage Directory is top level location where dvr is stored.  e.g. c:/temp/dvr -->
                            <StorageDir>${com.wowza.wms.context.VHostConfigHome}/dvr</StorageDir>
    
                            <!-- valid ArchiveStrategy values are append, version, delete -->
                            <ArchiveStrategy>append</ArchiveStrategy>
    
                            <!-- If this is a dvrstreamingrepeater, define ChunkOriginURL to point back to origin -->
                            <!-- And define Application/Repeater/OriginURL to point back to the origin -->
                            <Repeater>
                                    <ChunkOriginURL></ChunkOriginURL>
                            </Repeater>
    
                            <!-- Properties for DVR -->
                            <Properties>
                            </Properties>
                    </DVR>
    
                    <!-- HTTPStreamers (separate with commas): cupertinostreaming, smoothstreaming, sanjosestreaming, dvrchunkstreaming -->
                    <HTTPStreamers>cupertinostreaming,smoothstreaming,sanjosestreaming</HTTPStreamers>
                    <SharedObjects>
                            <StorageDir></StorageDir>
                    </SharedObjects>
                    <Client>
                            <IdleFrequency>-1</IdleFrequency>
                            <Access>
                                    <StreamReadAccess>*</StreamReadAccess>
                                    <StreamWriteAccess>*</StreamWriteAccess>
                                    <StreamAudioSampleAccess></StreamAudioSampleAccess>
                                    <StreamVideoSampleAccess></StreamVideoSampleAccess>
                                    <SharedObjectReadAccess>*</SharedObjectReadAccess>
                                    <SharedObjectWriteAccess>*</SharedObjectWriteAccess>
                            </Access>
                    </Client>
                    <RTP>
                            <!-- RTP/Authentication/[type]Methods defined in Authentication.xml. Default setup includes; none, basic, digest -->
                            <Authentication>
                                    <PublishMethod>digest</PublishMethod>
                                    <PlayMethod>none</PlayMethod>
                            </Authentication>
                            <!-- RTP/AVSyncMethod. Valid values are: senderreport, systemclock, rtptimecode -->
                            <!--AVSyncMethod>systemclock</AVSyncMethod-->
    
                            <AVSyncMethod>senderreport</AVSyncMethod>
                            <MaxRTCPWaitTime>12000</MaxRTCPWaitTime>
                            <IdleFrequency>75</IdleFrequency>
                            <RTSPSessionTimeout>90000</RTSPSessionTimeout>
                            <RTSPMaximumPendingWriteBytes>0</RTSPMaximumPendingWriteBytes>
                            <RTSPBindIpAddress>10.0.254.46</RTSPBindIpAddress>
                            <RTSPConnectionIpAddress>10.10.1.55</RTSPConnectionIpAddress>
                            <RTSPOriginIpAddress>10.10.1.55</RTSPOriginIpAddress>
                            <IncomingDatagramPortRanges>*</IncomingDatagramPortRanges>
                            <!-- Properties defined here will override any properties defined in conf/RTP.xml for any depacketizers loaded by this application -->
    
    <!-- Properties defined here will override any properties defined in conf/RTP.xml for any depacketizers loaded by this application -->
    <Properties>
                            <Property>
                                <Name>forceMPEGTSOut</Name>
                                <Value>true</Value>
                                <Type>Boolean</Type>
                            </Property>
                            <Property>
                                <Name>rtpWrapMPEGTS</Name>
                                <Value>true</Value>
                                <Type>Boolean</Type>
                            </Property>
                            <Property>
                            <Name>rtpDePacketizerWrapper</Name>
                            <Value>com.wowza.wms.rtp.depacketizer.RTPDePacketizerWrapperReChunkMPEGTS</Value>
                            </Property>
    
                            <Property>
                                    <Name>audioIsAligned</Name>
                                    <Value>true</Value>
                                    <Type>Boolean</Type>
                            </Property>
    
    
    <!--Problematic SDP-->
                            <Property>
                                    <Name>rtpIgnoreProfileLevelId</Name>
                                    <Value>true</Value>
                                    <Type>Boolean</Type>
                            </Property>
    <!-- END Problematic SDP-->
    </Properties>
                    </RTP>
                    <MediaCaster>
                            <RTP>
                                    <RTSP>
                                            <!-- udp, interleave -->
                                            <RTPTransportMode>interleave</RTPTransportMode>
                                    </RTSP>
                            </RTP>
                            <!-- Properties defined here will override any properties defined in conf/MediaCasters.xml for any MediaCasters loaded by this applications -->
                            <Property>
                                    <Name>forceInterleaved</Name>
                                    <Value>true</Value>
                                    <Type>Boolean</Type>
                            </Property>
    
                            <Property>
                                <Name>rtspValidationFrequency</Name>
                                <Value>0</Value>
                                <Type>Integer</Type>
                            </Property>
                            <Property>
                                <Name>rtspFilterUnknownTracks</Name>
                                <Value>true</Value>
                                <Type>Boolean</Type>
                            </Property>
    <!-- How to turn on/off audio and video tracks-->
                            <Property>
                                    <Name>rtspStreamAudioTrack</Name>
                                    <Value>true</Value>
                                    <Type>Boolean</Type>
                            </Property>
                            <Property>
                                    <Name>rtspStreamVideoTrack</Name>
                                    <Value>true</Value>
                                    <Type>Boolean</Type>
                            </Property>
    <!--END How to turn on/off audio and video tracks-->
    
    <!--How to add additional logging for RTSP debugging-->
                            <Property>
                                <Name>debugRTSPSession</Name>
                                <Value>true</Value>
                                <Type>Boolean</Type>
                            </Property>
    <!--END How to add additional logging for RTSP debugging-->
                    </MediaCaster>
                    <MediaReader>
                            <!-- Properties defined here will override any properties defined in conf/MediaReaders.xml for any MediaReaders loaded by this applications -->
                            <Properties>
                            </Properties>
                    </MediaReader>
                    <MediaWriter>
                            <!-- Properties defined here will override any properties defined in conf/MediaWriter.xml for any MediaWriter loaded by this applications -->
                            <Properties>
                            </Properties>
                    </MediaWriter>
                    <LiveStreamPacketizer>
                            <!-- Properties defined here will override any properties defined in conf/LiveStreamPacketizers.xml for any LiveStreamPacketizers loaded by this applications -->
                            <Properties>
                            </Properties>
                    </LiveStreamPacketizer>
                    <HTTPStreamer>
                            <!-- Properties defined here will override any properties defined in conf/HTTPStreamers.xml for any HTTPStreamer loaded by this applications -->
                            <Properties>
                            </Properties>
                    </HTTPStreamer>
                    <Repeater>
                            <OriginURL></OriginURL>
                            <QueryString><![CDATA[]]></QueryString>
                    </Repeater>
                    <Modules>
                            <Module>
                                    <Name>base</Name>
                                    <Description>Base</Description>
                                    <Class>com.wowza.wms.module.ModuleCore</Class>
                            </Module>
                            <Module>
                                    <Name>properties</Name>
                                    <Description>Properties</Description>
                                    <Class>com.wowza.wms.module.ModuleProperties</Class>
                            </Module>
                            <Module>
                                    <Name>logging</Name>
                                    <Description>Client Logging</Description>
                                    <Class>com.wowza.wms.module.ModuleClientLogging</Class>
                            </Module>
                            <Module>
                                    <Name>flvplayback</Name>
                                    <Description>FLVPlayback</Description>
                                    <Class>com.wowza.wms.module.ModuleFLVPlayback</Class>
                            </Module>
                    </Modules>
                    <!-- Properties defined here will be added to the IApplication.getProperties() and IApplicationInstance.getProperties() collections -->
                    <Properties>
                    </Properties>
            </Application>
    </Root>
    Thank you for your help.

  2. #2
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    What problem are you having?

    Is the source a MediaCaster stream, like IP camera or mpeg-ts encoder? If so, change the StreamType to "live", then start the stream in StreamManager or /conf/StartUpStreams.xml to start the Wowza Transcoder

    Richard

  3. #3

    Default

    the source is MP4 video signal and MPEG1 audio. The transcoding is working fine, but when i set some bitrate to the transcote.xml or trasrate.xml file, it doesn't apply (no changes at all ). I need to decrease the traffic consumption, because at the moment this is 2,5 Mb/s. That's why i need to setup a lower bit-rate.

    I think that I'm unable to do transcoding at all. Here is example of all my configured files.



    Application.xml
    <Root>
            <Application>
                    <!-- Uncomment to set application level timeout values
                    <ApplicationTimeout>60000</ApplicationTimeout>
                    <PingTimeout>12000</PingTimeout>
                    <ValidationFrequency>8000</ValidationFrequency>
                    <MaximumPendingWriteBytes>0</MaximumPendingWriteBytes>
                    <MaximumSetBufferTime>60000</MaximumSetBufferTime>
                    <MaximumStorageDirDepth>25</MaximumStorageDirDepth>
                    -->
                    <Connections>
                            <AutoAccept>true</AutoAccept>
                            <AllowDomains></AllowDomains>
                    </Connections>
                    <!--
                            StorageDir path variables
    
                            ${com.wowza.wms.AppHome} - Application home directory
                            ${com.wowza.wms.ConfigHome} - Configuration home directory
                            ${com.wowza.wms.context.VHost} - Virtual host name
                            ${com.wowza.wms.context.VHostConfigHome} - Virtual host config directory
                            ${com.wowza.wms.context.Application} - Application name
                            ${com.wowza.wms.context.ApplicationInstance} - Application instance name
    
                    -->
                    <Streams>
                            <StreamType>rtp-live</StreamType>
                            <StorageDir>${com.wowza.wms.context.VHostConfigHome}/content</StorageDir>
                            <KeyDir>${com.wowza.wms.context.VHostConfigHome}/keys</KeyDir>
                            <!-- LiveStreamPacketizers (separate with commas): cupertinostreamingpacketizer, smoothstreamingpacketizer, sanjosestreamingpacketizer, cupertinostreamingrepeater, smoothstreamingrepeater, sanjosestreamingrepeater, dvrstreamingpacketizer, dvrstreamingrepeater -->
                            <LiveStreamPacketizers> cupertinostreamingpacketizer, smoothstreamingpacketizer, sanjosestreamingpacketizer</LiveStreamPacketizers>
                            <!-- Properties defined here will override any properties defined in conf/Streams.xml for any streams types loaded by this application -->
                            <Property>
                                    <Name>sortPackets</Name>
                                    <Value>true</Value>
                                    <Type>Boolean</Type>
                            </Property>
                            <Property>
                                    <Name>sortBufferSize</Name>
                                    <Value>500</Value>
                                    <Type>Integer</Type>
                            </Property>
                    </Streams>
                    <Transcoder>
                            <!-- To turn on transcoder set to: transcoder -->
                            <LiveStreamTranscoder>transcoder</LiveStreamTranscoder>
                            <!-- [templatename].xml or ${SourceStreamName}.xml -->
                            <Templates>${SourceStreamName}.xml,transcode.xml</Templates> <!--changed by vadim from transrate to transcode.xml-->
                            <ProfileDir>${com.wowza.wms.context.VHostConfigHome}/transcoder/profiles</ProfileDir>
                            <TemplateDir>${com.wowza.wms.context.VHostConfigHome}/transcoder/templates</TemplateDir>
                            <Properties>
                            </Properties>
                    </Transcoder>
    
                    <DVR>
                            <!-- As a single server or as an origin, use dvrstreamingpacketizer in LiveStreamPacketizers above -->
                            <!-- Or, in an origin-edge configuration, edges use dvrstreamingrepeater in LiveStreamPacketizers above -->
                            <!-- As an origin, also add dvrchunkstreaming to HTTPStreamers below -->
    
                            <!-- To turn on DVR recording set Recorders to dvrrecorder.  This works with dvrstreamingpacketizer  -->
                            <Recorders></Recorders>
    
                            <!-- As a single server or as an origin, set the Store to dvrfilestorage-->
                            <!-- edges should have this empty -->
                            <Store></Store>
    
                            <!--  Window Duration is length of live DVR window in seconds.  0 means the window is never trimmed. -->
                            <WindowDuration>0</WindowDuration>
    
                            <!-- Storage Directory is top level location where dvr is stored.  e.g. c:/temp/dvr -->
                            <StorageDir>${com.wowza.wms.context.VHostConfigHome}/dvr</StorageDir>
    
                            <!-- valid ArchiveStrategy values are append, version, delete -->
                            <ArchiveStrategy>append</ArchiveStrategy>
    
                            <!-- If this is a dvrstreamingrepeater, define ChunkOriginURL to point back to origin -->
                            <!-- And define Application/Repeater/OriginURL to point back to the origin -->
                            <Repeater>
                                    <ChunkOriginURL></ChunkOriginURL>
                            </Repeater>
    
                            <!-- Properties for DVR -->
                            <Properties>
                            </Properties>
                    </DVR>
    
                    <!-- HTTPStreamers (separate with commas): cupertinostreaming, smoothstreaming, sanjosestreaming, dvrchunkstreaming -->
                    <HTTPStreamers>cupertinostreaming,smoothstreaming,sanjosestreaming</HTTPStreamers>
                    <SharedObjects>
                            <StorageDir></StorageDir>
                    </SharedObjects>
                    <Client>
                            <IdleFrequency>-1</IdleFrequency>
                            <Access>
                                    <StreamReadAccess>*</StreamReadAccess>
                                    <StreamWriteAccess>*</StreamWriteAccess>
                                    <StreamAudioSampleAccess></StreamAudioSampleAccess>
                                    <StreamVideoSampleAccess></StreamVideoSampleAccess>
                                    <SharedObjectReadAccess>*</SharedObjectReadAccess>
                                    <SharedObjectWriteAccess>*</SharedObjectWriteAccess>
                            </Access>
                    </Client>
                    <RTP>
                            <!-- RTP/Authentication/[type]Methods defined in Authentication.xml. Default setup includes; none, basic, digest -->
                            <Authentication>
                                    <PublishMethod>digest</PublishMethod>
                                    <PlayMethod>none</PlayMethod>
                            </Authentication>
                            <!-- RTP/AVSyncMethod. Valid values are: senderreport, systemclock, rtptimecode -->
                            <!--AVSyncMethod>systemclock</AVSyncMethod-->
    
                            <AVSyncMethod>senderreport</AVSyncMethod>
                            <MaxRTCPWaitTime>12000</MaxRTCPWaitTime>
                            <IdleFrequency>75</IdleFrequency>
                            <RTSPSessionTimeout>90000</RTSPSessionTimeout>
                            <RTSPMaximumPendingWriteBytes>0</RTSPMaximumPendingWriteBytes>
                            <RTSPBindIpAddress>10.0.254.46</RTSPBindIpAddress>
                            <RTSPConnectionIpAddress>10.10.1.55</RTSPConnectionIpAddress>
                            <RTSPOriginIpAddress>10.10.1.55</RTSPOriginIpAddress>
                            <IncomingDatagramPortRanges>*</IncomingDatagramPortRanges>
                            <!-- Properties defined here will override any properties defined in conf/RTP.xml for any depacketizers loaded by this application -->
    
    <!-- Properties defined here will override any properties defined in conf/RTP.xml for any depacketizers loaded by this application -->
    <Properties>
                            <Property>
                                <Name>forceMPEGTSOut</Name>
                                <Value>true</Value>
                                <Type>Boolean</Type>
                            </Property>
                            <Property>
                                <Name>rtpWrapMPEGTS</Name>
                                <Value>true</Value>
                                <Type>Boolean</Type>
                            </Property>
                            <Property>
                            <Name>rtpDePacketizerWrapper</Name>
                            <Value>com.wowza.wms.rtp.depacketizer.RTPDePacketizerWrapperReChunkMPEGTS</Value>
                            </Property>
    
                            <Property>
                                    <Name>audioIsAligned</Name>
                                    <Value>true</Value>
                                    <Type>Boolean</Type>
                            </Property>
    
    
    <!--Problematic SDP-->
                            <Property>
                                    <Name>rtpIgnoreProfileLevelId</Name>
                                    <Value>true</Value>
                                    <Type>Boolean</Type>
                            </Property>
    <!-- END Problematic SDP-->
    </Properties>
                    </RTP>
                    <MediaCaster>
                            <RTP>
                                    <RTSP>
                                            <!-- udp, interleave -->
                                            <RTPTransportMode>interleave</RTPTransportMode>
                                    </RTSP>
                            </RTP>
                            <!-- Properties defined here will override any properties defined in conf/MediaCasters.xml for any MediaCasters loaded by this applications -->
                            <Property>
                                    <Name>forceInterleaved</Name>
                                    <Value>true</Value>
                                    <Type>Boolean</Type>
                            </Property>
    
                            <Property>
                                <Name>rtspValidationFrequency</Name>
                                <Value>0</Value>
                                <Type>Integer</Type>
                            </Property>
                            <Property>
                                <Name>rtspFilterUnknownTracks</Name>
                                <Value>true</Value>
                                <Type>Boolean</Type>
                            </Property>
    <!-- How to turn on/off audio and video tracks-->
                            <Property>
                                    <Name>rtspStreamAudioTrack</Name>
                                    <Value>true</Value>
                                    <Type>Boolean</Type>
                            </Property>
                            <Property>
                                    <Name>rtspStreamVideoTrack</Name>
                                    <Value>true</Value>
                                    <Type>Boolean</Type>
                            </Property>
    <!--END How to turn on/off audio and video tracks-->
    
    <!--How to add additional logging for RTSP debugging-->
                            <Property>
                                <Name>debugRTSPSession</Name>
                                <Value>true</Value>
                                <Type>Boolean</Type>
                            </Property>
    <!--END How to add additional logging for RTSP debugging-->
                    </MediaCaster>
                    <MediaReader>
                            <!-- Properties defined here will override any properties defined in conf/MediaReaders.xml for any MediaReaders loaded by this applications -->
                            <Properties>
                            </Properties>
                    </MediaReader>
                    <MediaWriter>
                            <!-- Properties defined here will override any properties defined in conf/MediaWriter.xml for any MediaWriter loaded by this applications -->
                            <Properties>
                            </Properties>
                    </MediaWriter>
                    <LiveStreamPacketizer>
                            <!-- Properties defined here will override any properties defined in conf/LiveStreamPacketizers.xml for any LiveStreamPacketizers loaded by this applications -->
                            <Properties>
                            </Properties>
                    </LiveStreamPacketizer>
                    <HTTPStreamer>
                            <!-- Properties defined here will override any properties defined in conf/HTTPStreamers.xml for any HTTPStreamer loaded by this applications -->
                            <Properties>
                            </Properties>
                    </HTTPStreamer>
                    <Repeater>
                            <OriginURL></OriginURL>
                            <QueryString><![CDATA[]]></QueryString>
                    </Repeater>
                    <Modules>
                            <Module>
                                    <Name>base</Name>
                                    <Description>Base</Description>
                                    <Class>com.wowza.wms.module.ModuleCore</Class>
                            </Module>
                            <Module>
                                    <Name>properties</Name>
                                    <Description>Properties</Description>
                                    <Class>com.wowza.wms.module.ModuleProperties</Class>
                            </Module>
                            <Module>
                                    <Name>logging</Name>
                                    <Description>Client Logging</Description>
                                    <Class>com.wowza.wms.module.ModuleClientLogging</Class>
                            </Module>
                            <Module>
                                    <Name>flvplayback</Name>
                                    <Description>FLVPlayback</Description>
                                    <Class>com.wowza.wms.module.ModuleFLVPlayback</Class>
                            </Module>
                    </Modules>
                    <!-- Properties defined here will be added to the IApplication.getProperties() and IApplicationInstance.getProperties() collections -->
                    <Properties>
                    </Properties>
            </Application>
    </Root>


    transcode.xml
    <Root>
            <Transcode>
                    <Encodes>
                            <Encode>
                                    <Enable>false</Enable>
                                    <Name>720p</Name>
                                    <StreamName>mp4:${SourceStreamName}_720p</StreamName>
                                    <Video>
                                            <Codec>H.264</Codec>
                                            <Transcoder>default</Transcoder>
                                            <GPUID>-1</GPUID>
                                            <FrameSize>
                                                    <FitMode>fit-height</FitMode>
                                                    <Width>1280</Width>
                                                    <Height>720</Height>
                                            </FrameSize>
                                            <Profile>main</Profile>
                                            <Bitrate>1300000</Bitrate>
                                            <KeyFrameInterval>
                                                    <FollowSource>false</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>
                                                                    <Align>left,top</Align>
                                                            </Location>
                                                    </Overlay>
                                            </Overlays>
                                            <Parameters>
                                            </Parameters>
                                    </Video>
                                    <Audio>
                                            <Codec>AAC</Codec>
                                            <Bitrate>96000</Bitrate>
                                            <Parameters>
                                            </Parameters>
                                    </Audio>
                                    <Properties>
                                    </Properties>
                            </Encode>
                            <Encode>
                                    <Enable>true</Enable>
                                    <Name>360p</Name>
                                    <StreamName>mp4:${SourceStreamName}_360p</StreamName>
                                    <Video>
                                            <Codec>H.264</Codec>
                                            <Transcoder>default</Transcoder>
                                            <GPUID>-1</GPUID>
                                            <FrameSize>
                                                    <FitMode>fit-height</FitMode>
                                                    <Width>640</Width>
                                                    <Height>360</Height>
                                            </FrameSize>
                                            <Profile>main</Profile>
                                            <Bitrate>850000</Bitrate>
                                            <KeyFrameInterval>
                                                    <FollowSource>false</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>
                                                                    <Align>left,top</Align>
                                                            </Location>
                                                    </Overlay>
                                            </Overlays>
                                            <Parameters>
                                            </Parameters>
                                    </Video>
                                    <Audio>
                                            <Codec>AAC</Codec>
                                            <Bitrate>96000</Bitrate>
                                            <Parameters>
                                            </Parameters>
                                    </Audio>
                                    <Properties>
                                    </Properties>
                            </Encode>
                            <Encode>
                                    <Enable>false</Enable>
                                    <Name>240p</Name>
                                    <StreamName>mp4:${SourceStreamName}_240p</StreamName>
                                    <Video>
                                            <Codec>H.264</Codec>
                                            <Transcoder>default</Transcoder>
                                            <GPUID>-1</GPUID>
                                            <FrameSize>
                                                    <FitMode>fit-height</FitMode>
                                                    <Width>360</Width>
                                                    <Height>240</Height>
                                            </FrameSize>
                                            <Profile>baseline</Profile>
                                            <Bitrate>350000</Bitrate>
                                            <KeyFrameInterval>
                                                    <FollowSource>false</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>
                                                                    <Align>left,top</Align>
                                                            </Location>
                                                    </Overlay>
                                            </Overlays>
                                            <Parameters>
                                            </Parameters>
                                    </Video>
                                    <Audio>
                                            <Codec>AAC</Codec>
                                            <Bitrate>96000</Bitrate>
                                            <Parameters>
                                            </Parameters>
                                    </Audio>
                                    <Properties>
                                    </Properties>
                            </Encode>
                            <Encode>
                                    <Enable>true</Enable>
                                    <Name>160p</Name>
                                    <StreamName>mp4:${SourceStreamName}_160p</StreamName>
                                    <Video>
                                            <Codec>H.264</Codec>
                                            <Transcoder>default</Transcoder>
                                            <GPUID>-1</GPUID>
                                            <FrameSize>
                                                    <FitMode>fit-height</FitMode>
                                                    <Width>284</Width>
                                                    <Height>160</Height>
                                            </FrameSize>
                                            <Profile>baseline</Profile>
                                            <Bitrate>200000</Bitrate>
                                            <KeyFrameInterval>
                                                    <FollowSource>false</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>
                                                                    <Align>left,top</Align>
                                                            </Location>
                                                    </Overlay>
                                            </Overlays>
                                            <Parameters>
                                            </Parameters>
                                    </Video>
                                    <Audio>
                                            <Codec>AAC</Codec>
                                            <Bitrate>96000</Bitrate>
                                            <Parameters>
                                            </Parameters>
                                    </Audio>
                                    <Properties>
                                    </Properties>
                            </Encode>
                    </Encodes>
                    <Decode>
                            <Video>
                                    <Deinterlace>false</Deinterlace>
                                    <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>
                                                            <Align>left,top</Align>
                                                    </Location>
                                            </Overlay>
                                    </Overlays>
                                    <Parameters>
                                    </Parameters>
                            </Video>
                            <Properties>
                            </Properties>
                    </Decode>
                    <Properties>
                    </Properties>
            </Transcode>
    </Root>


    StartupStreams.xml

    <Root>
            <StartupStreams>
    
                    <!-- Add a StartupStream entry for each stream that is to be started at virtual host startup -->
                    <!--   valid MediaCasterTypes are: rtp, rtp-record, shoutcast, shoutcast-record, liverepeater -->
    
                    <!-- Here are several examples -->
    
                    <!-- RTSP/RTP example (RTSP URL is rtsp://192.168.1.7:554/mycoolstream.sdp) -->
                    <!--
                    <StartupStream>
                            <Application>live/_definst_</Application>
                            <MediaCasterType>rtp</MediaCasterType>
                            <StreamName>rtsp://192.168.1.7:554/mycoolstream.sdp</StreamName>
                    </StartupStream>
                    -->
    
                    <!-- Native RTP example (SDP file is myStream.sdp) -->
                    <!--
                    <StartupStream>
                            <Application>live/_definst_</Application>
                            <MediaCasterType>rtp</MediaCasterType>
                            <StreamName>myStream.sdp</StreamName>
                    </StartupStream>
                    -->
    
                    <!-- SHOUTcast example (SHOUTcast URL is http://mycompany.com/station1) -->
                    <!--
                    <StartupStream>
                            <Application>live/_definst_</Application>
                            <MediaCasterType>shoutcast</MediaCasterType>
                            <StreamName>http://mycompany.com/station1</StreamName>
                    </StartupStream>
                    -->
    
                    <!-- Using a .stream file to simplify MPEG-TS stream (myStream.stream is text file with contents udp://0.0.0.0:10000) -->
                    <!--
                    <StartupStream>
                            <Application>live/_definst_</Application>
                            <MediaCasterType>rtp</MediaCasterType>
                            <StreamName>myStream.stream</StreamName>
                    </StartupStream>
                    -->
    
                                            <StartupStream>
                           <Application>rtplive/_definst_</Application>
                           <MediaCasterType>rtp</MediaCasterType>
                           <StreamName>program1.stream</StreamName>
                    </StartupStream>
                    <StartupStream>
                            <Application>rtplive/_definst_</Application>
                            <MediaCasterType>rtp</MediaCasterType>
                            <StreamName>program4.stream</StreamName>
                    </StartupStream>
    
    
            </StartupStreams>
    </Root>
    I am appreciating your help, thank you.
    Last edited by radiocom; 07-15-2012 at 11:40 PM.

  4. #4
    Join Date
    Sep 2011
    Posts
    1,934

    Default

    Hi
    You said
    Quote Originally Posted by radiocom View Post
    The transcoding is working fine
    But then you said
    Quote Originally Posted by radiocom View Post
    I think that I'm unable to do transcoding at all.
    Which one is it?

    Do you know the bitrate of the source stream?
    You have the first transcoder block set to false which means it wont be active and the second block "_360p" is set to transcode the stream to 850(kbps), I'd say this is quite high but that would depend on the bitrate of the source.

    Can you post what it says in the Wowza logs when you're transcoding?

    Jason

  5. #5

    Default

    hello thank you for your reply ,

    My source stream has 2,5 Mbps. At the moment when i stop streaming in the stream manager , anyway I can obtain the stream. So i think that I'm obtaining source stream (that's way i was confused that transcoding is working). Here is the output of the error messages.:

    tail -f /usr/local/WowzaMediaServer/logs/wowzamediaserver_error.log
    WARN    server  comment 2012-07-17      08:28:10        -       -       -       -       -       4.683   -       -       -       -       -       -       -       -       LiveStreamPacketizerCupertino.handlePacket[rtplive/_definst_/program3.stream_160p][mp4a.40.33]: MP3 Audio: Audio is not MPEG1 Layer 3. May not be playable on iOS devices.
    WARN    server  comment 2012-07-17      08:28:10        -       -       -       -       -       4.66    -       -       -       -       -       -       -       -       LiveStreamPacketizerSanJose.handlePacket[rtplive/_definst_/program1.stream_360p][mp4a.40.33]: MP3 Audio: Audio is not MPEG1 Layer 3. May not be playable by Flash player.
    WARN    server  comment 2012-07-17      08:28:10        -       -       -       -       -       4.642   -       -       -       -       -       -       -       -       LiveStreamPacketizerSmoothStreaming.handlePacket[rtplive/_definst_/program3.stream_source][mp4a.40.33]: MP3 Audio: Audio is not MPEG1 Layer 3. May not be playable by Silverlight player.
    WARN    server  comment 2012-07-17      08:28:10        -       -       -       -       -       4.642   -       -       -       -       -       -       -       -       LiveStreamPacketizerSanJose.handlePacket[rtplive/_definst_/program3.stream_source][mp4a.40.33]: MP3 Audio: Audio is not MPEG1 Layer 3. May not be playable by Flash player.
    WARN    server  comment 2012-07-17      08:28:10        -       -       -       -       -       4.695   -       -       -       -       -       -       -       -       LiveStreamPacketizerSmoothStreaming.handlePacket[rtplive/_definst_/program1.stream_360p][mp4a.40.33]: MP3 Audio: Audio is not MPEG1 Layer 3. May not be playable by Silverlight player.
    WARN    server  comment 2012-07-17      08:28:10        -       -       -       -       -       4.697   -       -       -       -       -       -       -       -       LiveStreamPacketizerSanJose.handlePacket[rtplive/_definst_/program3.stream_360p][mp4a.40.33]: MP3 Audio: Audio is not MPEG1 Layer 3. May not be playable by Flash player.
    WARN    server  comment 2012-07-17      08:28:10        -       -       -       -       -       4.719   -       -       -       -       -       -       -       -       LiveStreamPacketizerCupertino.handlePacket[rtplive/_definst_/program1.stream_160p][mp4a.40.33]: MP3 Audio: Audio is not MPEG1 Layer 3. May not be playable on iOS devices.
    WARN    server  comment 2012-07-17      08:28:10        -       -       -       -       -       4.72    -       -       -       -       -       -       -       -       LiveStreamPacketizerSmoothStreaming.handlePacket[rtplive/_definst_/program3.stream_360p][mp4a.40.33]: MP3 Audio: Audio is not MPEG1 Layer 3. May not be playable by Silverlight player.
    WARN    server  comment 2012-07-17      08:28:10        -       -       -       -       -       4.721   -       -       -       -       -       -       -       -       LiveStreamPacketizerCupertino.handlePacket[rtplive/_definst_/program3.stream_360p][mp4a.40.33]: MP3 Audio: Audio is not MPEG1 Layer 3. May not be playable on iOS devices.
    WARN    server  comment 2012-07-17      08:28:10        -       -       -       -       -       4.72    -       -       -       -       -       -       -       -       LiveStreamPacketizerCupertino.handlePacket[rtplive/_definst_/program1.stream_360p][mp4a.40.33]: MP3 Audio: Audio is not MPEG1 Layer 3. May not be playable on iOS devices.
    WARN    server  comment 2012-07-17      08:28:12        -       -       -       -       -       6.764   -       -       -       -       -       -       -       -       TranscoderStreamNameGroup.validateMembers[_defaultVHost_:rtplive/_definst_/program1.stream]: StreamNameGroup[source] audio codec is not valid for name group: MP3 (mp4a.40.33)
    WARN    server  comment 2012-07-17      08:28:12        -       -       -       -       -       6.765   -       -       -       -       -       -       -       -       TranscoderStreamNameGroup.validateMembers[_defaultVHost_:rtplive/_definst_/program1.stream]: StreamNameGroup[360p] audio codec is not valid for name group: MP3 (mp4a.40.33)
    WARN    server  comment 2012-07-17      08:28:12        -       -       -       -       -       6.765   -       -       -       -       -       -       -       -       TranscoderStreamNameGroup.validateMembers[_defaultVHost_:rtplive/_definst_/program1.stream]: StreamNameGroup[160p] audio codec is not valid for name group: MP3 (mp4a.40.33)
    WARN    server  comment 2012-07-17      08:28:12        -       -       -       -       -       6.765   -       -       -       -       -       -       -       -       TranscoderStreamNameGroup.addInternal[_defaultVHost_:rtplive/_definst_/program1.stream]: Name group was not added, it is empty: program1.stream_all
    WARN    server  comment 2012-07-17      08:28:12        -       -       -       -       -       6.769   -       -       -       -       -       -       -       -       TranscoderStreamNameGroup.validateMembers[_defaultVHost_:rtplive/_definst_/program1.stream]: StreamNameGroup[160p] audio codec is not valid for name group: MP3 (mp4a.40.33)
    WARN    server  comment 2012-07-17      08:28:12        -       -       -       -       -       6.77    -       -       -       -       -       -       -       -       TranscoderStreamNameGroup.addInternal[_defaultVHost_:rtplive/_definst_/program1.stream]: Name group was not added, it is empty: program1.stream_mobile
    WARN    server  comment 2012-07-17      08:28:12        -       -       -       -       -       6.773   -       -       -       -       -       -       -       -       TranscoderStreamNameGroup.validateMembers[_defaultVHost_:live/_definst_/program2.stream]: StreamNameGroup[source] audio codec is not valid for name group: MP3 (mp4a.40.33)
    WARN    server  comment 2012-07-17      08:28:12        -       -       -       -       -       6.774   -       -       -       -       -       -       -       -       TranscoderStreamNameGroup.validateMembers[_defaultVHost_:live/_definst_/program2.stream]: StreamNameGroup[360p] audio codec is not valid for name group: MP3 (mp4a.40.33)
    WARN    server  comment 2012-07-17      08:28:12        -       -       -       -       -       6.774   -       -       -       -       -       -       -       -       TranscoderStreamNameGroup.validateMembers[_defaultVHost_:live/_definst_/program2.stream]: StreamNameGroup[160p] audio codec is not valid for name group: MP3 (mp4a.40.33)
    WARN    server  comment 2012-07-17      08:28:12        -       -       -       -       -       6.774   -       -       -       -       -       -       -       -       TranscoderStreamNameGroup.addInternal[_defaultVHost_:live/_definst_/program2.stream]: Name group was not added, it is empty: program2.stream_all
    WARN    server  comment 2012-07-17      08:28:12        -       -       -       -       -       6.774   -       -       -       -       -       -       -       -       TranscoderStreamNameGroup.validateMembers[_defaultVHost_:live/_definst_/program2.stream]: StreamNameGroup[160p] audio codec is not valid for name group: MP3 (mp4a.40.33)
    WARN    server  comment 2012-07-17      08:28:12        -       -       -       -       -       6.775   -       -       -       -       -       -       -       -       TranscoderStreamNameGroup.addInternal[_defaultVHost_:live/_definst_/program2.stream]: Name group was not added, it is empty: program2.stream_mobile
    WARN    server  comment 2012-07-17      08:28:12        -       -       -       -       -       6.851   -       -       -       -       -       -       -       -       TranscoderStreamNameGroup.validateMembers[_defaultVHost_:rtplive/_definst_/program3.stream]: StreamNameGroup[source] audio codec is not valid for name group: MP3 (mp4a.40.33)
    WARN    server  comment 2012-07-17      08:28:12        -       -       -       -       -       6.851   -       -       -       -       -       -       -       -       TranscoderStreamNameGroup.validateMembers[_defaultVHost_:rtplive/_definst_/program3.stream]: StreamNameGroup[360p] audio codec is not valid for name group: MP3 (mp4a.40.33)
    WARN    server  comment 2012-07-17      08:28:12        -       -       -       -       -       6.851   -       -       -       -       -       -       -       -       TranscoderStreamNameGroup.validateMembers[_defaultVHost_:rtplive/_definst_/program3.stream]: StreamNameGroup[160p] audio codec is not valid for name group: MP3 (mp4a.40.33)
    WARN    server  comment 2012-07-17      08:28:12        -       -       -       -       -       6.852   -       -       -       -       -       -       -       -       TranscoderStreamNameGroup.addInternal[_defaultVHost_:rtplive/_definst_/program3.stream]: Name group was not added, it is empty: program3.stream_all
    WARN    server  comment 2012-07-17      08:28:12        -       -       -       -       -       6.852   -       -       -       -       -       -       -       -       TranscoderStreamNameGroup.validateMembers[_defaultVHost_:rtplive/_definst_/program3.stream]: StreamNameGroup[160p] audio codec is not valid for name group: MP3 (mp4a.40.33)
    WARN    server  comment 2012-07-17      08:28:12        -       -       -       -       -       6.852   -       -       -       -       -       -       -       -       TranscoderStreamNameGroup.addInternal[_defaultVHost_:rtplive/_definst_/program3.stream]: Name group was not added, it is empty: program3.stream_mobile
    WARN    server  comment 2012-07-17      08:28:24        -       -       -       -       -       18.709  -       -       -       -       -       -       -       -       CupertinoPacketHandler.handlePacket[rtplive/_definst_/program1.stream_360p]: Timecode out of order [video]: 61182383:61182503
    WARN    server  comment 2012-07-17      08:28:24        -       -       -       -       -       18.71   -       -       -       -       -       -       -       -       LiveStreamPacketizerSmoothStreaming.handlePacket[rtplive/_definst_/program1.stream_360p]: Timecode out of order [video]: 611823830000:611825030000
    WARN    server  comment 2012-07-17      08:28:24        -       -       -       -       -       18.71   -       -       -       -       -       -       -       -       SanJosePacketHandler.handlePacket[rtplive/_definst_/program1.stream_160p]: Timecode out of order [video]: 61182383:61182503
    WARN    server  comment 2012-07-17      08:28:24        -       -       -       -       -       18.71   -       -       -       -       -       -       -       -       CupertinoPacketHandler.handlePacket[rtplive/_definst_/program1.stream_160p]: Timecode out of order [video]: 61182383:61182503
    WARN    server  comment 2012-07-17      08:28:24        -       -       -       -       -       18.711  -       -       -       -       -       -       -       -       LiveStreamPacketizerSmoothStreaming.handlePacket[rtplive/_definst_/program1.stream_160p]: Timecode out of order [video]: 611823830000:611825030000
    WARN    server  comment 2012-07-17      08:28:24        -       -       -       -       -       18.714  -       -       -       -       -       -       -       -       SanJosePacketHandler.handlePacket[rtplive/_definst_/program1.stream_360p]: Timecode out of order [video]: 61182383:61182503
    WARN    server  comment 2012-07-17      08:28:42        -       -       -       -       -       37.343  -       -       -       -       -       -       -       -       SanJosePacketHandler.handlePacket[live/_definst_/program2.stream_360p]: Timecode out of order [video]: 61201652:61201772
    WARN    server  comment 2012-07-17      08:28:42        -       -       -       -       -       37.343  -       -       -       -       -       -       -       -       CupertinoPacketHandler.handlePacket[live/_definst_/program2.stream_360p]: Timecode out of order [video]: 61201652:61201772
    WARN    server  comment 2012-07-17      08:28:42        -       -       -       -       -       37.343  -       -       -       -       -       -       -       -       LiveStreamPacketizerSmoothStreaming.handlePacket[live/_definst_/program2.stream_360p]: Timecode out of order [video]: 612016520000:612017720000
    WARN    server  comment 2012-07-17      08:28:42        -       -       -       -       -       37.344  -       -       -       -       -       -       -       -       SanJosePacketHandler.handlePacket[live/_definst_/program2.stream_160p]: Timecode out of order [video]: 61201652:61201772
    WARN    server  comment 2012-07-17      08:28:42        -       -       -       -       -       37.345  -       -       -       -       -       -       -       -       CupertinoPacketHandler.handlePacket[live/_definst_/program2.stream_160p]: Timecode out of order [video]: 61201652:61201772
    WARN    server  comment 2012-07-17      08:28:42        -       -       -       -       -       37.346  -       -       -       -       -       -       -       -       LiveStreamPacketizerSmoothStreaming.handlePacket[live/_definst_/program2.stream_160p]: Timecode out of order [video]: 612016520000:612017720000
    WARN    server  comment 2012-07-17      08:28:45        -       -       -       -       -       40.283  -       -       -       -       -       -       -       -       SanJosePacketHandler.handlePacket[rtplive/_definst_/program3.stream_360p]: Timecode out of order [video]: 61204343:61204463
    WARN    server  comment 2012-07-17      08:28:45        -       -       -       -       -       40.283  -       -       -       -       -       -       -       -       SanJosePacketHandler.handlePacket[rtplive/_definst_/program3.stream_160p]: Timecode out of order [video]: 61204343:61204463
    WARN    server  comment 2012-07-17      08:28:45        -       -       -       -       -       40.284  -       -       -       -       -       -       -       -       CupertinoPacketHandler.handlePacket[rtplive/_definst_/program3.stream_160p]: Timecode out of order [video]: 61204343:61204463
    WARN    server  comment 2012-07-17      08:28:45        -       -       -       -       -       40.284  -       -       -       -       -       -       -       -       CupertinoPacketHandler.handlePacket[rtplive/_definst_/program3.stream_360p]: Timecode out of order [video]: 61204343:61204463
    WARN    server  comment 2012-07-17      08:28:45        -       -       -       -       -       40.284  -       -       -       -       -       -       -       -       LiveStreamPacketizerSmoothStreaming.handlePacket[rtplive/_definst_/program3.stream_360p]: Timecode out of order [video]: 612043430000:612044630000
    WARN    server  comment 2012-07-17      08:28:45        -       -       -       -       -       40.284  -       -       -       -       -       -       -       -       LiveStreamPacketizerSmoothStreaming.handlePacket[rtplive/_definst_/program3.stream_160p]: Timecode out of order [video]: 612043430000:612044630000


    the access log look as follows:

    ketizerSanJose.endChunkTS[rtplive/_definst_/program1.stream_160p]: Add chunk: id:10 a/v/k:246/153/5 duration:10240    -       -       -       96.996  -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       - --       -       -
    2012-07-17      08:29:42        EEST    comment server  INFO    200     -       LiveStreamPacketizerCupertino.endChunkTS[rtplive/_definst_/program1.stream_160p]: Add chunk: id:10 mode:TS a/v/k:82/152/5 duration:10240   -       -       -       97.146  -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       - --       -       -       -
    2012-07-17      08:29:42        EEST    comment server  INFO    200     -       LiveStreamPacketizerCupertino.endChunkTS[rtplive/_definst_/program1.stream_360p]: Add chunk: id:10 mode:TS a/v/k:82/152/5 duration:10240   -       -       -       97.147  -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       - --       -       -       -
    2012-07-17      08:29:42        EEST    comment server  INFO    200     -       TranscodingSession.updateBehindFilter[rtplive/_definst_/program1.stream]: Video behind filter state change. New state: ALLFRAMESON -       -       -       97.196  -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       - --       -       -
    2012-07-17      08:29:42        EEST    comment server  INFO    200     -       LiveStreamPacketizerCupertino.endChunkTS[live/_definst_/program2.stream_160p]: Add chunk: id:10 mode:TS a/v/k:90/152/5 duration:10240      -       -       -       97.222  -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       - --       -       -       -
    2012-07-17      08:29:42        EEST    comment server  INFO    200     -       LiveStreamPacketizerSanJose.endChunkTS[live/_definst_/program2.stream_160p]: Add chunk: id:10 a/v/k:270/153/5 duration:10240       -       -       -       97.222  -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       - --       -       -
    2012-07-17      08:29:42        EEST    comment server  INFO    200     -       LiveStreamPacketizerCupertino.endChunkTS[live/_definst_/program2.stream_360p]: Add chunk: id:10 mode:TS a/v/k:90/152/5 duration:10240      -       -       -       97.22   -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       - --       -       -       -
    2012-07-17      08:29:42        EEST    comment server  INFO    200     -       LiveStreamPacketizerSanJose.endChunkTS[live/_definst_/program2.stream_360p]: Add chunk: id:10 a/v/k:270/153/5 duration:10240       -       -       -       97.289  -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       - --       -       -
    2012-07-17      08:29:44        EEST    comment server  INFO    200     -       TranscodingSession.updateBehindFilter[rtplive/_definst_/program3.stream]: Video behind filter state change. New state: ALLFRAMESON -       -       -       99.238  -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       - --       -       -
    2012-07-17      08:29:45        EEST    comment server  INFO    200     -       TranscodingSession.updateBehindFilter[live/_definst_/program2.stream]: Video behind filter state change. New state: ALLFRAMESON    -       -       -       99.914  -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       - --       -       -
    2012-07-17      08:32:10        EEST    comment server  INFO    200     -       MediaStreamMap.removeLiveStreamPacketizer[rtplive/_definst_/program1.stream]: Destroy live stream packetizer: sanjosestreamingpacketizer   -       -       -       244.759 -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       - --       -       -       -
    2012-07-17      08:32:10        EEST    comment server  INFO    200     -       MediaStreamMap.removeLiveStreamPacketizer[rtplive/_definst_/program3.stream]: Destroy live stream packetizer: sanjosestreamingpacketizer   -       -       -       245.434 -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       - --       -       -       -
    2012-07-17      08:32:10        EEST    comment server  INFO    200     -       MediaStreamMap.removeLiveStreamPacketizer[live/_definst_/program2.stream]: Destroy live stream packetizer: sanjosestreamingpacketizer      -       -       -       244.994 -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       - --       -       -       -
    2012-07-17      08:32:10        EEST    comment server  INFO    200     -       MediaStreamMap.removeLiveStreamPacketizer[live/_definst_/program2.stream]: Destroy live stream packetizer: cupertinostreamingpacketizer    -       -       -       244.994 -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       - --       -       -       -
    2012-07-17      08:32:13        EEST    comment server  INFO    200     -       TranscodingSession.updateBehindFilter[rtplive/_definst_/program3.stream]: Video behind filter state change. New state: ALLFRAMESOFF        -       -       -       247.581 -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       - --       -       -       -
    2012-07-17      08:32:13        EEST    comment server  INFO    200     -       LiveStreamPacketizerSanJose.init[rtplive/_definst_/program3.stream]: chunkDurationTarget: 10000 -       -       -       247.533    -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
    2012-07-17      08:32:13        EEST    comment server  INFO    200     -       MediaStreamMap.removeLiveStreamPacketizer[rtplive/_definst_/program3.stream]: Destroy live stream packetizer: cupertinostreamingpacketizer -       -       -       247.511 -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       - --       -       -       -
    2012-07-17      08:32:13        EEST    comment server  INFO    200     -       LiveStreamPacketizerSanJose.init[rtplive/_definst_/program1.stream]: chunkDurationTarget: 10000 -       -       -       247.402    -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
    2012-07-17      08:32:12        EEST    comment server  INFO    200     -       MediaStreamMap.removeLiveStreamPacketizer[rtplive/_definst_/program1.stream]: Destroy live stream packetizer: cupertinostreamingpacketizer -       -       -       247.311 -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       - --       -       -       -
    2012-07-17      08:32:13        EEST    comment server  INFO    200     -       MediaStreamMap.removeLiveStreamPacketizer[rtplive/_definst_/program1.stream]: Destroy live stream packetizer: smoothstreamingpacketizer    -       -       -       248.283 -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       - --       -       -       -
    2012-07-17      08:32:12        EEST    comment server  INFO    200     -       TranscodingSession.updateBehindFilter[live/_definst_/program2.stream]: Video behind filter state change. New state: ALLFRAMESOFF   -       -       -       247.092 -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       - --       -       -
    2012-07-17      08:32:12        EEST    comment server  INFO    200     -       LiveStreamPacketizerSanJose.init[live/_definst_/program2.stream]: chunkDurationTarget: 10000    -       -       -       246.899    -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
    2012-07-17      08:32:15        EEST    comment server  INFO    200     -       LiveStreamPacketizerSanJose.init[live/_definst_/program2.stream]: chunkDurationTolerance: 500   -       -       -       249.756    -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
    2012-07-17      08:32:15        EEST    comment server  INFO    200     -       LiveStreamPacketizerSanJose.init[live/_definst_/program2.stream]: playlistChunkCount:4  -       -       -       249.757 - --       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
    2012-07-17      08:32:11        EEST    comment server  INFO    200     -       MediaStreamMap.removeLiveStreamPacketizer[live/_definst_/program2.stream]: Destroy live stream packetizer: smoothstreamingpacketizer       -       -       -       245.734 -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       - --       -       -       -
    2012-07-17      08:32:15        EEST    comment server  INFO    200     -       TranscodingSession.updateBehindFilter[live/_definst_/program2.stream]: Audio behind filter state change. New state: ALLFRAMESOFF   -       -       -       249.377 -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       - --       -       -
    2012-07-17      08:32:13        EEST    comment server  INFO    200     -       LiveStreamPacketizerSanJose.init[rtplive/_definst_/program1.stream]: chunkDurationTolerance: 500        -       -       - 248.279  -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
    2012-07-17      08:32:13        EEST    comment server  INFO    200     -       LiveStreamPacketizerSanJose.init[rtplive/_definst_/program3.stream]: chunkDurationTolerance: 500        -       -       - 248.229  -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
    2012-07-17      08:32:15        EEST    comment server  INFO    200     -       LiveStreamPacketizerSanJose.init[rtplive/_definst_/program3.stream]: playlistChunkCount:4       -       -       -       249.76     -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
    2012-07-17      08:32:13        EEST    comment server  INFO    200     -       TranscodingSession.updateBehindFilter[rtplive/_definst_/program3.stream]: Audio behind filter state change. New state: ALLFRAMESOFF        -       -       -       248.181 -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       - --       -       -       -
    2012-07-17      08:32:13        EEST    comment server  INFO    200     -       MediaStreamMap.removeLiveStreamPacketizer[rtplive/_definst_/program3.stream]: Destroy live stream packetizer: smoothstreamingpacketizer    -       -       -       248.104 -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       - --       -       -       -
    2012-07-17      08:32:15        EEST    comment server  INFO    200     -       MediaStreamMap.getLiveStreamPacketizer: Create live stream packetizer: sanjosestreamingpacketizer:program3.stream       - --       249.892 -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       - -
    2012-07-17      08:32:15        EEST    comment server  INFO    200     -       MediaStreamMap.getLiveStreamPacketizer: Create live stream packetizer: sanjosestreamingpacketizer:program2.stream       - --       249.793 -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       - -
    2012-07-17      08:32:15        EEST    comment server  INFO    200     -       LiveStreamPacketizerSanJose.init[rtplive/_definst_/program1.stream]: playlistChunkCount:4       -       -       -       249.759    -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
    2012-07-17      08:32:16        EEST    comment server  INFO    200     -       LiveStreamPacketizerCupertino.init[live/_definst_/program2.stream]: chunkDurationTarget: 10000  -       -       -       250.633    -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
    2012-07-17      08:32:15        EEST    comment server  INFO    200     -       SanJosePacketHandler.startStream[live/_definst_/program2.stream]        -       -       -       250.553 -       -       - --       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
    2012-07-17      08:32:15        EEST    comment server  INFO    200     -       SanJosePacketHandler.startStream[rtplive/_definst_/program3.stream]     -       -       -       250.212 -       -       - --       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
    2012-07-17      08:32:16        EEST    comment server  INFO    200     -       LiveStreamPacketizerCupertino.init[rtplive/_definst_/program3.stream]: chunkDurationTarget: 10000       -       -       - 251.02   -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
    2012-07-17      08:32:17        EEST    comment server  INFO    200     -       LiveStreamPacketizerCupertino.init[rtplive/_definst_/program3.stream]: chunkDurationTolerance: 500      -       -       - 251.463  -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
    2012-07-17      08:32:16        EEST    comment server  INFO    200     -       LiveStreamPacketizerCupertino.init[live/_definst_/program2.stream]: chunkDurationTolerance: 500 -       -       -       250.666    -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
    2012-07-17      08:32:16        EEST    comment server  INFO    200     -       MediaStreamMap.getLiveStreamPacketizer: Create live stream packetizer: sanjosestreamingpacketizer:program1.stream       - --       250.666 -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       - -
    2012-07-17      08:32:17        EEST    comment server  INFO    200     -       LiveStreamPacketizerCupertino.init[live/_definst_/program2.stream]: audioGroupCount: 3  -       -       -       251.506 - --       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
    2012-07-17      08:32:17        EEST    comment server  INFO    200     -       LiveStreamPacketizerCupertino.init[rtplive/_definst_/program3.stream]: audioGroupCount: 3       -       -       -       251.505    -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
    2012-07-17      08:32:17        EEST    comment server  INFO    200     -       LiveStreamPacketizerSanJose.handlePacket[live/_definst_/program2.stream]: Video codec: H264     -       -       -       251.501    -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
    2012-07-17      08:32:17        EEST    comment server  INFO    200     -       LiveStreamPacketizerSanJose.handlePacket[rtplive/_definst_/program3.stream]: Video codec: H264  -       -       -       251.479    -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
    2012-07-17      08:32:17        EEST    comment server  INFO    200     -       LiveStreamPacketizerCupertino.init[live/_definst_/program2.stream]: playlistChunkCount:3        -       -       -       252.04     -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
    2012-07-17      08:32:17        EEST    comment server  INFO    200     -       LiveStreamPacketizerCupertino.init[rtplive/_definst_/program3.stream]: playlistChunkCount:3     -       -       -       252.04     -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
    2012-07-17      08:32:17        EEST    comment server  INFO    200     -       LiveStreamPacketizerCupertino.init[rtplive/_definst_/program1.stream]: chunkDurationTarget: 10000       -       -       - 251.985  -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
    2012-07-17      08:32:17        EEST    comment server  INFO    200     -       LiveStreamPacketizerCupertino.init[rtplive/_definst_/program1.stream]: chunkDurationTolerance: 500      -       -       - 252.285  -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -       -
    2012-07-17      08:32:18        EEST    comment server  INFO    200     -       LiveStreamPacketizerCupertino.init[rtplive/_definst_/program1.stream]: audioGroupCount: 3
    Last edited by radiocom; 07-16-2012 at 10:34 PM.

  6. #6
    Join Date
    Sep 2011
    Posts
    1,934

    Default

    Hi
    Looking at the source stream coming into the transcoder it appears that the source audio isn't accepted.

    Supported Video and Audio Codecs for Ingest
    Wowza Transcoder supports the following video and audio codecs:

    Video decoding: H.264, MPEG2, MPEG4 Part 2
    Video encoding: H.264
    Audio decoding: AAC, MP3, MPEG 1 Part 1/2, Speex, G.711 (a-law and mu-law)
    Audio encoding: AAC

    Your error in the Error log:
    MP3 Audio: Audio is not MPEG1 Layer 3

    If the audio is mp3 the frequency must be one of these values:

    32000 32000 Hz
    44100 44100 Hz
    48000 48000 Hz

    and the bitrate must be one of these values:

    32000 32 kbps
    40000 40 kbps
    48000 48 kbps
    56000 56 kbps
    64000 64 kbps
    80000 80 kbps
    96000 96 kbps
    112000 112 kbps
    128000 128 kbps
    160000 160 kbps
    192000 192 kbps
    224000 224 kbps
    256000 256 kbps
    320000 320 kbps

    The error "Video behind filter state change. New state: ALLFRAMESOFF" means that you have run out of CPU on the server doing the transcoding.
    It appears that you are trying to transcode 6+ streams on this server according to the logs.

    Jason

  7. #7

    Default

    Thank you very much, it really helped. It look like running, at the moment. But still the image at the certain interval of time (like 10-15s ) is getting some strange pixels on it , then it become ok, and so on.
    And with audio , aac give some white sound, 4 bits (How I understood it is that I'm using trial version ).
    Is trial version also the reason that video also get this strange pixel on it , and become partial unclear. Or the problem remain on the transcoding process ?

    Once more thank you for your patience.

  8. #8
    Join Date
    Sep 2011
    Posts
    1,934

    Default

    Hi
    Take a look in the logs again and see if you get some kind of SKIPPED message where a frame was missed. It should look similar to "Video behind filter state change. New state: ALLFRAMESOFF".
    I assume you have taken some of the transcoding off in order to get this far?

    This is probably the reason for white noise and possibly a keyframe was being skipped as well.
    It's not because its a trial license this only makes the overly compulsory.

    What are the server hardware specs?
    RAM, CPU, Network speed, etc.

    Jason

  9. #9

    Default

    my hardware info:

     cat /proc/cpuinfo
    processor       : 0
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 15
    model name      : Intel(R) Xeon(R) CPU            5160  @ 3.00GHz
    stepping        : 6
    cpu MHz         : 2992.501
    cache size      : 4096 KB
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 10
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss syscall nx lm constant_tsc arch_perfmon pebs bts rep_good tsc_reliable nonstop_tsc aperfmperf pni ssse3 cx16 hypervisor lahf_lm
    bogomips        : 5985.00
    clflush size    : 64
    cache_alignment : 64
    address sizes   : 40 bits physical, 48 bits virtual
    power management:
    
    processor       : 1
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 15
    model name      : Intel(R) Xeon(R) CPU            5160  @ 3.00GHz
    stepping        : 6
    cpu MHz         : 2992.501
    cache size      : 4096 KB
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 10
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss syscall nx lm constant_tsc arch_perfmon pebs bts rep_good tsc_reliable nonstop_tsc aperfmperf pni ssse3 cx16 hypervisor lahf_lm
    bogomips        : 5985.00
    clflush size    : 64
    cache_alignment : 64
    address sizes   : 40 bits physical, 48 bits virtual
    power management:
    
    processor       : 2
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 15
    model name      : Intel(R) Xeon(R) CPU            5160  @ 3.00GHz
    stepping        : 6
    cpu MHz         : 2992.501
    cache size      : 4096 KB
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 10
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss syscall nx lm constant_tsc arch_perfmon pebs bts rep_good tsc_reliable nonstop_tsc aperfmperf pni ssse3 cx16 hypervisor lahf_lm
    bogomips        : 5985.00
    clflush size    : 64
    cache_alignment : 64
    address sizes   : 40 bits physical, 48 bits virtual
    power management:
    
    processor       : 3
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 15
    model name      : Intel(R) Xeon(R) CPU            5160  @ 3.00GHz
    stepping        : 6
    cpu MHz         : 2992.501
    cache size      : 4096 KB
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 10
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss syscall nx lm constant_tsc arch_perfmon pebs bts rep_good tsc_reliable nonstop_tsc aperfmperf pni ssse3 cx16 hypervisor lahf_lm
    bogomips        : 5985.00
    clflush size    : 64
    cache_alignment : 64
    address sizes   : 40 bits physical, 48 bits virtual
    power management:



    cat /proc/meminfo
    MemTotal:       16473960 kB
    MemFree:        15825404 kB
    Buffers:           17640 kB
    Cached:            58236 kB
    SwapCached:            0 kB
    Active:           535280 kB
    Inactive:          48564 kB
    Active(anon):     507976 kB
    Inactive(anon):      108 kB
    Active(file):      27304 kB
    Inactive(file):    48456 kB
    Unevictable:           0 kB
    Mlocked:               0 kB
    SwapTotal:       1951728 kB
    SwapFree:        1951728 kB
    Dirty:                56 kB
    Writeback:             0 kB
    AnonPages:        508024 kB
    Mapped:            16424 kB
    Shmem:               116 kB
    Slab:              14040 kB
    SReclaimable:       5124 kB
    SUnreclaim:         8916 kB
    KernelStack:        2720 kB
    PageTables:         2912 kB
    NFS_Unstable:          0 kB
    Bounce:                0 kB
    WritebackTmp:          0 kB
    CommitLimit:    10188708 kB
    Committed_AS:     883124 kB
    VmallocTotal:   34359738367 kB
    VmallocUsed:      303800 kB
    VmallocChunk:   34359431084 kB
    HardwareCorrupted:     0 kB
    HugePages_Total:       0
    HugePages_Free:        0
    HugePages_Rsvd:        0
    HugePages_Surp:        0
    Hugepagesize:       2048 kB
    DirectMap4k:       10240 kB
    DirectMap2M:    16766976 kB


    Network is 1GB



    error log
    tail -f /usr/local/WowzaMediaServer/logs/wowzamediaserver_error.log
    #Fields: x-severity     x-category      x-event date    time    c-client-id     c-ip    c-port  cs-bytes        sc-bytes        x-duration      x-sname       x-stream-id     x-spos  sc-stream-bytes cs-stream-bytes x-file-size     x-file-length   x-ctx   x-comment
    WARN    server  comment 2012-07-17      16:36:14        -       -       -       -       -       43.223  -       -       -       -       -       -    --       RTPSessionDescriptionDataProviderBasic.getStreamIn  fo: SDP file missing: /usr/local/WowzaMediaServer/content/program1.stream_360p
    WARN    server  comment 2012-07-17      16:36:15        -       -       -       -       -       44.053  -       -       -       -       -       -    --       LiveStreamPacketizerCupertino.handlePacket[rtplive/_definst_/program1.stream][mp4a.40.33]: MP3 Audio: Audio is not MPEG1 Layer 3. May not be playable on iOS devices.
    WARN    server  comment 2012-07-17      16:36:15        -       -       -       -       -       44.053  -       -       -       -       -       -    --       LiveStreamPacketizerSanJose.handlePacket[rtplive/_definst_/program1.stream][mp4a.40.33]: MP3 Audio: Audio is not MPEG1 Layer 3. May not be playable by Flash player.
    WARN    server  comment 2012-07-17      16:36:15        -       -       -       -       -       44.055  -       -       -       -       -       -    --       LiveStreamPacketizerSmoothStreaming.handlePacket[rtplive/_definst_/program1.stream][mp4a.40.33]: MP3 Audio: Audio is not MPEG1 Layer 3. May not be playable by Silverlight player.
    WARN    server  comment 2012-07-17      16:36:15        -       -       -       -       -       44.419  -       -       -       -       -       -    --       JNI:VideoEncoderH264::setDefaults: CPUID vendor:GenuineIntel isMMX:1 isSSE:1 isSSE2:1 isSSE3:1 cpu_opt:6
    WARN    server  comment 2012-07-17      16:36:46        -       -       -       -       -       74.887  -       -       -       -       -       -    --       CupertinoPacketHandler.handlePacket[rtplive/_definst_/program1.stream_360p]: Timecode out of order [video]: 90486383:90486503
    WARN    server  comment 2012-07-17      16:36:46        -       -       -       -       -       74.887  -       -       -       -       -       -    --       SanJosePacketHandler.handlePacket[rtplive/_definst_/program1.stream_360p]: Timecode out of order [video]: 90486383:90486503
    WARN    server  comment 2012-07-17      16:36:46        -       -       -       -       -       74.887  -       -       -       -       -       -    --       LiveStreamPacketizerSmoothStreaming.handlePacket[rtplive/_definst_/program1.stream_360p]: Timecode out of order [video]: 904863830000:904865030000
    WARN    server  comment 2012-07-17      16:36:55        -       -       -       -       -       84.395  -       -       -       -       -       -    --       RTPSessionDescriptionDataProviderBasic.getStreamIn  fo: SDP file missing: /usr/local/WowzaMediaServer/content/program1.stream_360p
    Can this be the reason of troubles:
    WARN server comment 2012-07-17 16:36:55 - - - - - 84.395 - - - - - - -- RTPSessionDescriptionDataProviderBasic.getStreamIn fo: SDP file missing: /usr/local/WowzaMediaServer/content/program1.stream_360p ?
    Last edited by radiocom; 07-17-2012 at 06:42 AM.

  10. #10
    Join Date
    Sep 2011
    Posts
    1,934

    Default

    Hi
    So as you can see you have had a big improvement when lowering the number of transcodes, as this is only a single quad-core CPU and you are still experiencing problems (possibly skipping frames), I would lower the transcodes further to test whether lowering the number of transcodes resolves this issue.

    Did you see anything else in the Access logs about skipping frames?

    Jason
    Last edited by JasonH; 07-17-2012 at 06:54 AM.

Page 1 of 4 123 ... LastLast

Similar Threads

  1. 320x240 frame size max
    By newtriks in forum General Forum
    Replies: 8
    Last Post: 08-04-2014, 09:46 AM
  2. Access frame data as they are transcoded
    By SoftForge in forum AddOn: Transcoder
    Replies: 16
    Last Post: 02-06-2014, 03:21 PM
  3. changing aspect ratio, GOP size and frame rate
    By manojprasath in forum AddOn: Transcoder
    Replies: 3
    Last Post: 07-08-2013, 06:35 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •