Closed feiwan1 closed 5 years ago
@feiwan1 I tried your command with #615 but no this issue on KBL. What platform do you run it on? My tried commit is 54a198dc79. Thanks.
I am using SKL. @wangyan-intel
I tried the command with #615 in EHL Simics, can see this issue. it fails with UYVY, but looks good when tried with YUY2.
@feiwan1 Could you please try #648 ? Thanks.
@wangyan-intel , with #615 and this patch, the issue is gone on SKL. Thanks.
For ICL platform, also need #658.
When using UYVY format as the input for jpeg encode, the output file show noise. (This need the patch #615 )
cmdline: $ gst-launch-1.0 videotestsrc num-buffers=1 ! video/x-raw,format=UYVY ! vaapijpegenc ! jpegparse ! filesink location=out.uyvy.jpeg
And I used jpegenc from libva-utils got the same result: $ jpegenc 320 240 in.uyvy out.jpeg 2 50
Ps, when using YUY2, the output looks good.
Noise picture:
Expected picture: