- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It was my problem. I set framerate 50/1 instead of 1/50, but it is very interesting why this affect on the bitrate.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Zurab,
Apologies for late response. Were you using sample - sample_encode to do so? Generally when bitrate(in Kbps) is less than 0 or not mentioned then it is passed through the function of Calculatedefaultbitrate() which consider height width and framerate to calculate frame rate. Check sample_utils.cpp in sample_encode for more details.
mfxF64 at = nWidth * nHeight * dFrameRate / 30.0;
if (!at)
return 0;
switch (nTargetUsage)
{
case MFX_TARGETUSAGE_BEST_QUALITY :
{
bitrate = (&fnc)->at(at);
break;
}
case MFX_TARGETUSAGE_BEST_SPEED :
{
bitrate = (&fnc)->at(at) * 0.5;
break;
}
case MFX_TARGETUSAGE_BALANCED :
default:
{
bitrate = (&fnc)->at(at) * 0.75;
break;
}
}
return (mfxU16)bitrate;
}
If I didn't get your question right, can you please provide us the reproduces and input in which you are seeing the issue, will be happy to debug.
Thanks,
Surbhi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I already solved the problem..
It was my mistake, but I will try describe the situation more detailed.
I was set targetkbps to 8000, targetusage to speed also I set ratecontrol to vbr, but the framerate I set not correctyl, except 1/50 it was 50/1.
and the resulting bitstream was very bad quality and the bitrate was up to 200mbps. by changing framerate to correct value it was fixed.
Thanx for the answer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am glad you got it resolved! thanks for updating the post :)
-Surbhi
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page