Wowza Community

SkipFrameCount usage

Good day!

I have live streams from AXIS ip cameras with setting “unlimited fps” and I want to show original streams at web site but reduce fps of streams to 3-5fps before record to storage. I have found this article

So I set up transcoder:

            <Encode>
                <Name>SkipFrame</Name>
                <Enable>true</Enable>
                <Description></Description>
                <StreamName>mp4:${SourceStreamName}_trans</StreamName>
                <Video>
                    <Codec>H.264</Codec>
                    <Implementation>default</Implementation>
                    <GPUID>-1</GPUID>
                    <Profile>baseline</Profile>
                    <Bitrate>1000000</Bitrate>
                    <KeyFrameInterval>
                        <FollowSource>false</FollowSource>
                        <Interval>62</Interval>
                    </KeyFrameInterval>
                    <SkipFrameCount>4</SkipFrameCount>
                    <FrameSize>
                        <FitMode>match-source</FitMode>
                        <Width>0</Width>
                        <Height>0</Height>
                        <Crop>0,0,0,0</Crop>
                        <SourceRectangle></SourceRectangle>
                    </FrameSize>
                </Video>
                <Audio>
                    <Codec>PassThru</Codec>
                    <Bitrate>${SourceAudioBitrate}</Bitrate>
                </Audio>
            </Encode>

62 = GOV length from cameras’ settings

Is it really required to transrate and so input bitrate, KeyFrameInterval explicitly? I just need to reduce fps with less CPU load. No strict requirements to fps of transrated stream.

Hi,

Yes you should specify the various parameters for the H.264 codec definition in your encode. The Transcoder processes each frame and then apply the skip frame calculation to it.

Regards,

Paul