- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Does the encoder need progressive as input ?
For example, with the encode demo, if we use interlaced, does it mean that the encode demo first use vpp to change from interlaced to progressive ?
Thank you,
Ran
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ran,
I am hoping you are referring to h264 codec, we don't support YUV422 and 444 format, you can set color/format conversion filters to do so. MSDK encode/decode operation uses NV12 format because of better performance, but VPP filter can be set to do color conversion, supported color format is mentioned in Table 2 of the MSDK Manual. The supported surface types and formats are explained in the manual, check Table 6,7 or 8 depending upon the hw acceleration path you are choosing.
You have to set VPP filter in the InitMfxVppParams() for the input to deinterlace and return it as a progressive content to the encoder. Check sample_vpp from the samples package or simple_vpp from tutorial package on how to set VPP filter. If you have any questions on this, let us know.
Thanks,
Surbhi
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ran,
Are you referring to do sample_encode as encode demo. I don't think it is set up to do interlacing but can be added to InitMfxVppParams() where you can put an if statement that if the input is interlaced(provided by the user through input argument) and set the VPP extended buffer for deinterlacing.
Thanks,
Surbhi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I see that it just set the PicStruct to tff/bff/progressive and that's it.
Is it possible to encode any format yuv422/yuv444
I could not find any statement about the required formats in documents. I've search both user guide and manual reference.
Thanks you,
Ran
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Ran,
I am hoping you are referring to h264 codec, we don't support YUV422 and 444 format, you can set color/format conversion filters to do so. MSDK encode/decode operation uses NV12 format because of better performance, but VPP filter can be set to do color conversion, supported color format is mentioned in Table 2 of the MSDK Manual. The supported surface types and formats are explained in the manual, check Table 6,7 or 8 depending upon the hw acceleration path you are choosing.
You have to set VPP filter in the InitMfxVppParams() for the input to deinterlace and return it as a progressive content to the encoder. Check sample_vpp from the samples package or simple_vpp from tutorial package on how to set VPP filter. If you have any questions on this, let us know.
Thanks,
Surbhi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you very much,
I now see that all the information is there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Great, closing this issue then. Feel free to start a new thread.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page