Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
27 Views

decoder using libva and inter driver giving blocky output.

HI,

I am working with libVA and opensource vaapi driver  to create Mpeg2 decoder.

But, when i am using open source i965_drv_video.so driver my output has some blocky look. While if i use media SDK iHD_drv_video.so  there is no such block look in output.

I have attached images. Plz suggest what could be the wrong.

Image

hst_input_frame238.png  ->> input image 

hst_decoded_NUC_Ubuntu_iHD--> decoded by IHD driver --> no blocky look.

{

vainfo-for this setup

libva info: VA-API version 0.35.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'iHD'
libva info: Trying to open /opt/intel/mediasdk/lib64/iHD_drv_video.so
libva info: Found init function __vaDriverInit_0_32
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.35 (libva 1.3.1)
vainfo: Driver version: 16.4.2.1.39163-ubit

}

 

hst_decoded_NUC_Ubuntu_15.04--> decoded by i965 driver opensource on NUC machine--> blocky look.

vainfo-for this setup

libva info: VA-API version 0.35.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_35
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.35 (libva 1.3.0)
vainfo: Driver version: Intel i965 driver - 1.3.0

hst_decoded_Desktop_Ubuntu_12.04--> decoded by i965 drive on desktop machine--> blocky look but relative less compared to i965 on NUC.

{ vainfo-for this setup

   

    libva: VA-API version 0.32.0
    libva: va_getDriverName() returns 0
    libva: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
    libva: va_openDriver() returns 0
    vainfo: VA-API version: 0.32 (libva 1.0.15)
    vainfo: Driver version: Intel i965 driver - 1.0.15

}

 

 

Regards,

Sumit Jha

 

 

0 Kudos
4 Replies
Highlighted
Employee
27 Views

Hi Sumit, 

I moved your post to the Media forums.  I think your question will be best answered by them.  If you have any specific GPA questions I can help you with, let me know. 

Best,

Seth

0 Kudos
Highlighted
Employee
27 Views

Hi Summit, 

Can you please provide answer to few questions to understand this issue better -
Is this issue seen in general or with only few specific inputs?
Is your application based on ffmpeg or gstreamer to access quick sync? 
The performance via iHD and i965 is different, but I haven't seen this result before so I will check with experts on this and get back to you. 

Thanks,
Surbhi

0 Kudos
Highlighted
Beginner
27 Views

Hi Surbhi,

Inline answer to your queries-

is this issue seen in general or with only few specific inputs?

>>This is behaviour  is coming with all the MPEG2 streams not restricted to any particular

Is your application based on ffmpeg or gstreamer to access quick sync? 

>> No my application is standalone. Not using  ffmpeg/gstreamer.

 

I took sample code for I-frame decode using Vaapi from.https://github.com/gbeauchesne/hwdecode-demos

And modified  Vaapi code to extend it for all frames -P,B. 

Surprising thing is  on same NUC iHD_drv_video.so giver proper output but  i965_drv_video.so gives blocky output.

Regards,

Sumit Jha

 

 

 

 

 

 

 

0 Kudos
Highlighted
Employee
27 Views

Hi Sumit, 

I did speak to MSS engineering team and we believe this issue is with openstack i965 driver which OTC team support and is out of our team scope. To contact Intel OTC team, go to their website https://01.org/linuxgraphic, they have community/mailing list where you can post this question to get experts advice on this. 

Thanks,
Surbhi

0 Kudos