- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I failed to use MFXVideoENCODE.reset to change the bitrate dynamically. I flushed the frames in buffer and used GetVideoParam to retrieve the parameter. After change the TargetKbps and reset, it returned code 5 with leaving bitrate unchanged. I used CBR ratecontrol. Any suggestion?
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have turned off hrd compliance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
If Reset returned 5 (MFX_WRN_INCOMPATIBLE_VIDEO_PARAM), then you can call GetVideoParam after the Reset call to see what parameter had to be changed. If nothing at all changed, than the new TargetKbps is not a usable value for the other parameters set (maybe too high for the profile/level?)
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page