Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Mwang43
Beginner
1,325 Views

In Joule 570x, how to improve the picture quality of H.264/AVC with VAAPI

In Joule 570x, using VAAPI 1.8 and VALIB(i965) 1.8, video becomes always blurred , how to improve picture quality?

0 Kudos
3 Replies
idata
Community Manager
92 Views

Hi Mark,

 

 

Thank you for your interest in Intel products.

 

In order to obtain a higher image quality with the Joule 570x cameras, the parameters on the image resolution can be changed to obtain the desired quality. The link below provides detailed information on how to change the parameters for the 5MP and 13MP MIPI cameras.

GStreamer examples: https://software.intel.com/en-us/node/721504 https://software.intel.com/en-us/node/721504

For more information on GStreamer, you can look into the following link: https://software.intel.com/en-us/node/721495 https://software.intel.com/en-us/node/721495

 

 

Regards,

 

Alexandra
Mwang43
Beginner
92 Views

Thanks for your reply.

I don't use Gstreamer, Gstreamer is too big. I use ffmpeg3.4 and libva-utils, you know, libva-utils is also from intel linkhttps://github.com/01org/libva-utils https://github.com/01org/libva-utils/releases/tag/1.8.3 Release libva-utils 1.8.3 · 01org/libva-utils · GitHub

the video source is 1080i , the bit rate is 2M , side by side, comparing to other produces in the same parameters, the Joule 570x picture quality is bad.

ffmpeg vaapi quality is assigned to 0, which is already the most quality level.

the libva-utils parameters is as below:

Source frame is 1920x1080 and will code clip to 1920x1088 with crop

INPUT:Try to encode H264...

INPUT: RateControl : VBR

INPUT: Resolution : 1920x1080

INPUT: FrameRate : 25

INPUT: Bitrate : 2000000

INPUT: Slieces : 1

INPUT: IntraPeriod : 30

INPUT: IDRPeriod : 60

INPUT: IpPeriod : 1

INPUT: Initial QP : 26

INPUT: Min QP : 0

libva info: VA-API version 0.40.0

libva info: va_getDriverName() returns 0

libva info: User requested driver 'i965'

libva info: Trying to open /usr/lib/dri//i965_drv_video.so

libva info: Found init function __vaDriverInit_0_40

libva info: va_openDriver() returns 0

Use profile VAProfileH264High

Support rate control mode (0x96):CBR VBR CQP

RateControl mode: VBR

Support VAConfigAttribEncPackedHeaders

Support packed sequence headers

Support packed picture headers

Support packed slice headers

Support packed misc headers

Support 1 RefPicList0 and 1 RefPicList1

Support 32 slices

Support VAConfigAttribEncSliceStructure

Support VA_ENC_SLICE_STRUCTURE_ARBITRARY_MACROBLOCKS

BTW, i also tried the latest version 2.0, unfortunately , the result is as same as v1.8

idata
Community Manager
92 Views

Hi, Mark

 

 

Unfortunately, GStreamer is the only software validated with the MIPI cameras for the Intel Joule. Due to the product discontinuation notice (/docs/DOC-112092 https://communities.intel.com/docs/DOC-112092), we are unable to test the ffmpeg3.4 and libva with the cameras. For support on libva-utils, I would suggest to contact the developers via their mailing list. The mailing list link for libva-utils can be found below: https://lists.01.org/mailman/listinfo/intel-vaapi-media https://lists.01.org/mailman/listinfo/intel-vaapi-media

 

 

 

Regards,

 

Alexandra
Reply