Media (Intel® Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools like Intel® oneAPI Video Processing Library and Intel® Media SDK
공지
The Intel Media SDK project is no longer active. For continued support and access to new features, Intel Media SDK users are encouraged to read the transition guide on upgrading from Intel® Media SDK to Intel® Video Processing Library (VPL), and to move to VPL as soon as possible.
For more information, see the VPL website.

Media Accelerator problem decode - filter - encode

User4221
초급자
2,161 조회수

Hi everyone

asking for help with the Media Accelerator

i am trying to run an image thru the accelerator how ever the image is loosing color in the output

with out using the filters, can any one please help me understand why?

thank you in advanced!

commands in order: 

sample_decode.exe jpeg -i 3.jpg -o out.yuv
sample_vpp.exe -sw 1706 -sh 1280 -scc nv12 -dw 1706 -dh 1280 -iopattern d3d_to_d3d -i out.yuv -o out_modifed.yuv
sample_encode.exe jpeg -i out_modifed.yuv -o outputfile.jpg -w 1706 -h 1280 -sw -q 100  

 

0 포인트
1 솔루션
Mark_L_Intel1
중재자
2,058 조회수

Hi Tal,

Sorry for the late response since I was busy on other project.

My colleagues and I did some research and we found only the final output file has the black/white problem you mentioned, so I checked the readme of sample_encode.exe:

In the optional argument, it says the default input format is YUV420, since the output of sample_vpp.exe is NV12, this is the issue. You should add "-nv12" in the middle of the command so it becomes

 

sample_encode.exe jpeg -i out_modifed.yuv -nv12 -o outputfile.jpg -w 1706 -h 1280 -sw -q 100

 

I have checked outputfile.jpg and it has the correct color.

Mark

 

원본 게시물의 솔루션 보기

0 포인트
5 응답
RaeesaM_Intel
중재자
2,137 조회수

Hi,


Thank you for reaching out to us.

We are trying to figure out your issue internally. We will get back to you on the updates.


Regards,

Raeesa



0 포인트
User4221
초급자
2,134 조회수
0 포인트
RaeesaM_Intel
중재자
2,094 조회수

Hi,


We were able to reproduce your issue from our end. We are forwarding this case to subject matter experts.


Thank you ,

Raeesa


0 포인트
Mark_L_Intel1
중재자
2,059 조회수

Hi Tal,

Sorry for the late response since I was busy on other project.

My colleagues and I did some research and we found only the final output file has the black/white problem you mentioned, so I checked the readme of sample_encode.exe:

In the optional argument, it says the default input format is YUV420, since the output of sample_vpp.exe is NV12, this is the issue. You should add "-nv12" in the middle of the command so it becomes

 

sample_encode.exe jpeg -i out_modifed.yuv -nv12 -o outputfile.jpg -w 1706 -h 1280 -sw -q 100

 

I have checked outputfile.jpg and it has the correct color.

Mark

 

0 포인트
User4221
초급자
2,027 조회수
0 포인트
응답