- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
in ffmpeg have number:
/**
* the number of pictures in a group of pictures, or 0 for intra_only
* - encoding: Set by user.
* - decoding: unused
*/
int gop_size;
how set gop size in intel sdk for linux,and similar number about encoder h264 stream. thanks
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Andya,
You access the GOP size from the mfxVideoParam class. In the sample_encoder function, you can set this parameter in the InitMfxEncParams() function. You can find more information on p125 and p129 of mediasdk-man.pdf in the <MEDIASDK>/docs.
Please let me know if I am misunderstanding your question.
Thanks.
Sravanthi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i see :
Number of pictures within the current GOP (Group of Pictures); if
GopPicSize=0, then the GOP size is unspecified. If GopPicSize=1,
only I-frames are used. See Example 14 for pseudo-code that
demonstrates how SDK uses this parameter
but i don‘t know Example 14,where ‘s it,i not found in <MEDIASDK>/samples,can u provides detailed information?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Andya,
You can find Example 14 on p123 of the same document (mediasdk-man.pdf in the <MEDIASDK>/docs).
Let me know if you have more questions.
![](/skins/images/9DC05BB6E5999F99F35389BFB16D84DF/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page