Community
cancel
Showing results for 
Search instead for 
Did you mean: 
9ine
Beginner
31 Views

What is the purpouse of SkipVideoFrame() skip frame counter?

How can it be used? Does it allow to skip N frames while decopmressing video stream and extract e.g. every 10th frame?
There is no sufficient information in umc-manual.pdf.
0 Kudos
1 Reply
Alexander_Modenov__I
New Contributor I
31 Views

Hi. The SkipVideoFrame() method with corresponding GetNumOfSkippedFrames() and ResetSkipCount() methods introduced for statistic needs and are not currently used. Moreover most of video decoders will returnUMC_ERR_NOT_IMPLEMENTED. The statistics may be used for example to change video decoding speed usingChangeVideoDecodingSpeed(Ipp32s &num);
TheChangeVideoDecodingSpeed method may be used skip the frames or change the decoder behaviour according to manual.
ChangeVideoDecodingSpeed
Changes video decoding speed.
Syntax
virtual UMC::Status ChangeVideoDecodingSpeed(Ipp32s &num);
Parameters
num Input/Output parameter. Reference to integer value indicating
changes to video decoding speed.
Description
The method relatively adjusts the decoding speed and the skipping algorithm.
The decoder supports different speeds of decoding. The slowest speed is 0, when the
decoder decodes everything, skipping nothing. The fastest speed is 7, when the decoder
processes key frames mostly, without any post processing. The owning application may
change decoding speed from 0 to 7 smoothly, choosing the most suitable speed.
ChangeVideoDecodingSpeedChanges video decoding speed.Syntaxvirtual UMC::Status ChangeVideoDecodingSpeed(Ipp32s &num);Parametersnum Input/Output parameter. Reference to integer value indicatingchanges to video decoding speed.DescriptionThe method relatively adjusts the decoding speed and the skipping algorithm.The decoder supports different speeds of decoding. The slowest speed is 0, when thedecoder decodes everything, skipping nothing. The fastest speed is 7, when the decoderprocesses key frames mostly, without any post processing. The owning application maychange decoding speed from 0 to 7 smoothly, choosing the most suitable speed.
Regards,
Alexander