- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
cmd: C:\\Program Files\\Intel\\Media SDK\\3.0.442.32245 Beta3\\bin\\win32>sample_encode.exe mvc -i d:/left.yuv -i d:/right.yuv -o d:/ims.mvc -w 1920 -h 1080
i found that mvc file has only one i slice, others are all b and p slices.
how can i modify gop size?
i found that mvc file has only one i slice, others are all b and p slices.
how can i modify gop size?
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Length of GOP is controlled by GopPicSize field in mfxInfoMFX structure which is passed to encoder Init function. Sample is a simple application which doesn't allow setting it from the command line, so it specifies GopPicSize=0 which makes GOP size to be default (some very big number usually).
You can modify sample_encode application to accept a newoption from command line to control GOP length or in simple case you can hardcode it inside of CEncodingPipeline::InitMfxEncParams function which initializes encoder parameters.
You can modify sample_encode application to accept a newoption from command line to control GOP length or in simple case you can hardcode it inside of CEncodingPipeline::InitMfxEncParams function which initializes encoder parameters.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, it's working.
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