- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HI:
I want to get frames encoded without B frames, any ways to do that?
Thanks a lot!
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Johnson,
You can do that by setting the GotRefDist=1 in mfxInfoMFX structure. You can find more information in the mediasdk-man.pdf (p120) in <MEDIASDK>/doc folder. To quote from the manual (you can find an example code on p123 in the same manual).
GopRefDist
Distance between I- or P- key frames; if it is zero, the GOP structure is unspecified. Note: If GopRefDist = 1, there are no B-frames used. See Example 14 for pseudo-code that demonstrates how SDK uses this parameter.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there any sample code somewhere?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When setting the mfx structure, you can set this flag as well. You can find an example in the simple_6_encode_vmem_lowlatency tutorial.
You can find the tutorials in the "TUTORIALS" tab in this page: https://software.intel.com/en-us/media-solutions-portal
Here is the direct link to download the tutorials zip file: http://software.intel.com/sites/default/files/mediasdk-tutorials-0.0.3.zip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
got it. THX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
nice
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page