framerate is always 25fps
I am trying to change fps but it always set to 25.
Below shows what I did on code is, but output video is always 30 fps
SEncParamExt config; encoder->GetDefaultParams(&config); config. fMaxFrameRate = 60.0f; // tried with other fps, but output video is always 30 fps config.sSpatialLayers[layer].fFrameRate = config. fMaxFrameRate;
encoder_->SetOption(ENCODER_OPTION_SVC_ENCODE_PARAM_EXT, &config);
Is there any other places to change fps?
your setting should be correct. How do you get to see the fps is 25? There should be no place to get the value in the encoded bitstream.
Can the input and output frame rates be set through the command line to be other than 25fps, such as 15fps?