<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic It couldn't work correctly if in Media (Intel® Video Processing Library, Intel Media SDK)</title>
    <link>https://community.intel.com/t5/Media-Intel-Video-Processing/HW-decoder-always-return-green-frames-on-Linux-kernel-4-X/m-p/1070152#M8607</link>
    <description>&lt;P&gt;It couldn't work correctly if you carefully check the source code of the ffmpeg that QSV decoding, such as 'qsvdec_mpeg2.c' in ffmpeg:&lt;/P&gt;

&lt;P&gt;static av_cold int qsv_decode_close(AVCodecContext *avctx)&lt;BR /&gt;
	{&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; QSVMPEG2Context *s = avctx-&amp;gt;priv_data;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ff_qsv_decode_close(&amp;amp;s-&amp;gt;qsv);&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return 0;&lt;BR /&gt;
	}&lt;/P&gt;

&lt;P&gt;static av_cold int qsv_decode_init(AVCodecContext *avctx)&lt;BR /&gt;
	{&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; return 0;&lt;BR /&gt;
	}&lt;/P&gt;

&lt;P&gt;&lt;BR /&gt;
	You can find the function return 0 directly.&lt;/P&gt;</description>
    <pubDate>Mon, 01 Aug 2016 02:26:39 GMT</pubDate>
    <dc:creator>bordon_l_</dc:creator>
    <dc:date>2016-08-01T02:26:39Z</dc:date>
    <item>
      <title>HW decoder always return green frames on Linux kernel 4.X</title>
      <link>https://community.intel.com/t5/Media-Intel-Video-Processing/HW-decoder-always-return-green-frames-on-Linux-kernel-4-X/m-p/1070142#M8597</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I am trying to use QSV with ffmpeg on Linux to decode videos. The media SDK I use is from MediaServerStudio2016.&lt;/P&gt;

&lt;P&gt;First I got it working on the golden system, CentOS 7.1. It works pretty well. The performance improvement compared to software is quite amazing. I am pretty happy with that.&lt;/P&gt;

&lt;P&gt;Then I tried it on Ubuntu 16.04 (kernel is 4.4.0). Everything works well, except it always returns pure green frames..&lt;/P&gt;

&lt;P&gt;I upgraded the kernel to&amp;nbsp;4.4.15, with the same problem. Same for kernel&amp;nbsp;4.1.28.&lt;/P&gt;

&lt;P&gt;Eventually, it works on kernel&amp;nbsp;3.18.37. NOTE: this problem is only for hardware decoding. It works on all kernels if I remove&amp;nbsp;libmfxhw64-p.so.1.17.&lt;/P&gt;

&lt;P&gt;I wonder was there any bug introduced in the i915 driver on Linux 4?&lt;/P&gt;</description>
      <pubDate>Sat, 23 Jul 2016 00:26:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Media-Intel-Video-Processing/HW-decoder-always-return-green-frames-on-Linux-kernel-4-X/m-p/1070142#M8597</guid>
      <dc:creator>Liu__Chao</dc:creator>
      <dc:date>2016-07-23T00:26:49Z</dc:date>
    </item>
    <item>
      <title>Hmm, kernel 3.19.x also has</title>
      <link>https://community.intel.com/t5/Media-Intel-Video-Processing/HW-decoder-always-return-green-frames-on-Linux-kernel-4-X/m-p/1070143#M8598</link>
      <description>&lt;P&gt;Hmm, kernel 3.19.x also has this bug. Looks like only 3.18.x is fine to run QSV hardware decoder.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2016 00:53:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Media-Intel-Video-Processing/HW-decoder-always-return-green-frames-on-Linux-kernel-4-X/m-p/1070143#M8598</guid>
      <dc:creator>Liu__Chao</dc:creator>
      <dc:date>2016-07-25T00:53:35Z</dc:date>
    </item>
    <item>
      <title>Hi there, </title>
      <link>https://community.intel.com/t5/Media-Intel-Video-Processing/HW-decoder-always-return-green-frames-on-Linux-kernel-4-X/m-p/1070144#M8599</link>
      <description>&lt;P&gt;Hi there,&amp;nbsp;&lt;BR /&gt;
	I don't expect their should be issue on kernel 4.4.x. can you please try sample_decode on Ubuntu 16.04 and copy the output of your run, along with the o/p you receive.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
	Surbhi&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2016 16:57:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Media-Intel-Video-Processing/HW-decoder-always-return-green-frames-on-Linux-kernel-4-X/m-p/1070144#M8599</guid>
      <dc:creator>Surbhi_M_Intel</dc:creator>
      <dc:date>2016-07-25T16:57:33Z</dc:date>
    </item>
    <item>
      <title>Thanks.</title>
      <link>https://community.intel.com/t5/Media-Intel-Video-Processing/HW-decoder-always-return-green-frames-on-Linux-kernel-4-X/m-p/1070145#M8600</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;I run the sample_decode and it failed because SyncOutputSurface returns&amp;nbsp;&lt;/SPAN&gt;MFX_ERR_DEVICE_FAILED. I could repro the same failure on 3.18.37 and it worked on CentOS 7.1. So it might be related to that I didn't set things up correctly... However, the same environment works for ffmpeg on 3.18.37. I compared ffmpeg with sample_decode. ffmpeg only calls SyncOperation after DecodeFrameAsync returns non busy code. On the other hand, sample_decode calls&amp;nbsp;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;SyncOperation after&amp;nbsp;DecodeFrameAsync returns&amp;nbsp;&lt;/SPAN&gt;MFX_WRN_DEVICE_BUSY.&lt;SPAN style="line-height: 19.512px;"&gt;&amp;nbsp;Which one is correct? In case it might help, &lt;A href="https://github.com/FFmpeg/FFmpeg/blob/master/libavcodec/qsvdec.c#L357"&gt;here &lt;/A&gt;is the ffmpeg code.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="line-height: 19.512px;"&gt;Following is the output of sample_decode&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;__bin/sample_decode h264 -i test_stream.264&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;libva info: VA-API version 0.99.0&lt;BR /&gt;
	libva info: va_getDriverName() returns 0&lt;BR /&gt;
	libva info: User requested driver 'iHD'&lt;BR /&gt;
	libva info: Trying to open /opt/intel/mediasdk/lib64/iHD_drv_video.so&lt;BR /&gt;
	libva info: Found init function __vaDriverInit_0_32&lt;BR /&gt;
	libva info: va_openDriver() returns 0&lt;BR /&gt;
	Decoding Sample Version 0.0.000.0000&lt;/P&gt;

&lt;P&gt;&lt;BR /&gt;
	Input video &amp;nbsp; &amp;nbsp; AVC&lt;BR /&gt;
	Output format &amp;nbsp; NV12&lt;BR /&gt;
	Input:&lt;BR /&gt;
	&amp;nbsp; Resolution &amp;nbsp; &amp;nbsp;176x96&lt;BR /&gt;
	&amp;nbsp; Crop X,Y,W,H &amp;nbsp;0,0,0,0&lt;BR /&gt;
	Output:&lt;BR /&gt;
	&amp;nbsp; Resolution &amp;nbsp; &amp;nbsp;176x96&lt;BR /&gt;
	Frame rate &amp;nbsp; &amp;nbsp; &amp;nbsp;30.00&lt;BR /&gt;
	Memory type &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; system&lt;BR /&gt;
	MediaSDK impl &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; hw&lt;BR /&gt;
	MediaSDK version &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1.17&lt;/P&gt;

&lt;P&gt;Decoding started&lt;BR /&gt;
	DecodeFrameAsync&lt;BR /&gt;
	DecodeFrameAsync&lt;BR /&gt;
	DecodeFrameAsync&lt;BR /&gt;
	DecodeFrameAsync&lt;BR /&gt;
	SyncOutputSurface err: -17&lt;BR /&gt;
	Frame number: &amp;nbsp; &amp;nbsp;0, fps: 0.000, fread_fps: 0.000, fwrite_fps: 0.000&lt;BR /&gt;
	Return on error: error code -1, /4s/chao/projects/samples/samples/sample_decode/src/pipeline_decode.cpp 1782&lt;/P&gt;

&lt;P&gt;&lt;BR /&gt;
	Return on error: error code 1, &amp;nbsp;/4s/chao/projects/samples/samples/sample_decode/src/sample_decode.cpp &amp;nbsp; 666&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2016 21:06:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Media-Intel-Video-Processing/HW-decoder-always-return-green-frames-on-Linux-kernel-4-X/m-p/1070145#M8600</guid>
      <dc:creator>Liu__Chao</dc:creator>
      <dc:date>2016-07-25T21:06:30Z</dc:date>
    </item>
    <item>
      <title>Hi Again,</title>
      <link>https://community.intel.com/t5/Media-Intel-Video-Processing/HW-decoder-always-return-green-frames-on-Linux-kernel-4-X/m-p/1070146#M8601</link>
      <description>&lt;P&gt;Hi Again,&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;To me it seems like an install error for the device failure. Is it possible to try it on a fresh OS? If you have any system with fresh OS then simply install Media Server Studio and check sample_decode before ffmpeg. If you see no issue, then install ffmpeg and test it otherwise please report back the issue.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Couple of docs that might help (if you haven't seen them already)-&amp;nbsp;&lt;BR /&gt;
	FFMpeg install with MSDK -&amp;nbsp;&lt;/SPAN&gt;&lt;A href="http://www.intel.com/content/dam/www/public/us/en/documents/white-papers/quicksync-video-ffmpeg-install-valid.pdf&amp;nbsp;" target="_blank"&gt;http://www.intel.com/content/dam/www/public/us/en/documents/white-papers/quicksync-video-ffmpeg-install-valid.pdf&amp;nbsp;&lt;/A&gt;;&lt;BR /&gt;
	&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Generic Install -&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://software.intel.com/en-us/articles/how-to-setup-media-server-studio-on-secondary-os-of-linux&amp;nbsp;" target="_blank"&gt;https://software.intel.com/en-us/articles/how-to-setup-media-server-studio-on-secondary-os-of-linux&amp;nbsp;&lt;/A&gt;;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;We are taking in many parameters, just to get the problem right. Can you please tell in which scenario did it work and in which it didn't (Are below observations correct?)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&lt;STRONG&gt;OS &lt;/STRONG&gt;- CentOS 7.1&lt;BR /&gt;
	&lt;STRONG&gt;Kernel &lt;/STRONG&gt;- Default&amp;nbsp;&lt;BR /&gt;
	&lt;STRONG&gt;Sample_decode&lt;/STRONG&gt; - no error&lt;BR /&gt;
	&lt;STRONG&gt;FFmpeg decode&lt;/STRONG&gt; - no error&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-weight: 700; font-size: 13.008px; line-height: 19.512px;"&gt;OS&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;- Ubuntu or CentOS?&lt;/SPAN&gt;&lt;BR style="font-size: 13.008px; line-height: 19.512px;" /&gt;
	&lt;SPAN style="font-weight: 700; font-size: 13.008px; line-height: 19.512px;"&gt;Kernel&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;- 3.18.37&lt;/SPAN&gt;&lt;BR style="font-size: 13.008px; line-height: 19.512px;" /&gt;
	&lt;SPAN style="font-weight: 700; font-size: 13.008px; line-height: 19.512px;"&gt;Sample_decode&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;&amp;nbsp;- Device failure error&lt;/SPAN&gt;&lt;BR style="font-size: 13.008px; line-height: 19.512px;" /&gt;
	&lt;SPAN style="font-weight: 700; font-size: 13.008px; line-height: 19.512px;"&gt;FFmpeg decode&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;&amp;nbsp;- Device failure error&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px; font-weight: 700; line-height: 19.512px;"&gt;OS&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;- Ubuntu 16.04&lt;/SPAN&gt;&lt;BR style="font-size: 13.008px; line-height: 19.512px;" /&gt;
	&lt;SPAN style="font-size: 13.008px; font-weight: 700; line-height: 19.512px;"&gt;Kernel&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;-&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;4.4.0 /&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;4.4.15 / 4.4.28&lt;/SPAN&gt;&lt;BR /&gt;
	&lt;SPAN style="font-size: 13.008px; font-weight: 700; line-height: 19.512px;"&gt;Sample_decode&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;&amp;nbsp;- Green frames?&lt;/SPAN&gt;&lt;BR /&gt;
	&lt;SPAN style="font-size: 13.008px; font-weight: 700; line-height: 19.512px;"&gt;FFmpeg decode&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;&amp;nbsp;- Green frames&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;-Surbhi&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2016 05:30:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Media-Intel-Video-Processing/HW-decoder-always-return-green-frames-on-Linux-kernel-4-X/m-p/1070146#M8601</guid>
      <dc:creator>Surbhi_M_Intel</dc:creator>
      <dc:date>2016-07-27T05:30:00Z</dc:date>
    </item>
    <item>
      <title>Hi Surbhi,</title>
      <link>https://community.intel.com/t5/Media-Intel-Video-Processing/HW-decoder-always-return-green-frames-on-Linux-kernel-4-X/m-p/1070147#M8602</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Surbhi,&lt;/P&gt;

&lt;P&gt;You are right that the sample_decode error was caused by install error on Ubuntu.&lt;/P&gt;

&lt;P&gt;I installed 4.4.15 on CentOS 7.1 and reproduced the green frame issue:&lt;/P&gt;

&lt;P&gt;./sample_decode h264 -i test_stream.264 -o test.yuv&lt;/P&gt;

&lt;P&gt;libva info: VA-API version 0.99.0&lt;BR /&gt;
	libva info: va_getDriverName() returns 0&lt;BR /&gt;
	libva info: User requested driver 'iHD'&lt;BR /&gt;
	libva info: Trying to open /4s/chao/bin/drivers/iHD_drv_video.so&lt;BR /&gt;
	libva info: Found init function __vaDriverInit_0_32&lt;BR /&gt;
	libva info: va_openDriver() returns 0&lt;BR /&gt;
	Decoding Sample Version 6.0.16043361.361&lt;/P&gt;

&lt;P&gt;&lt;BR /&gt;
	Input video &amp;nbsp; &amp;nbsp; AVC&lt;BR /&gt;
	Output format &amp;nbsp; NV12&lt;BR /&gt;
	Resolution &amp;nbsp; &amp;nbsp; &amp;nbsp;176x96&lt;BR /&gt;
	Crop X,Y,W,H &amp;nbsp; &amp;nbsp;0,0,0,0&lt;BR /&gt;
	Frame rate &amp;nbsp; &amp;nbsp; &amp;nbsp;30.00&lt;BR /&gt;
	Memory type &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; system&lt;BR /&gt;
	MediaSDK impl &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; hw&lt;BR /&gt;
	MediaSDK version &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1.17&lt;/P&gt;

&lt;P&gt;Decoding started&lt;BR /&gt;
	Frame number: &amp;nbsp;101, fps: 1242.221, fread_fps: 0.000, fwrite_fps: 2265.031&lt;BR /&gt;
	Decoding finished&lt;/P&gt;

&lt;P&gt;&lt;A href="https://community.intel.com/legacyfs/online/drupal_files/517118"&gt;517118&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2016 17:54:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Media-Intel-Video-Processing/HW-decoder-always-return-green-frames-on-Linux-kernel-4-X/m-p/1070147#M8602</guid>
      <dc:creator>Liu__Chao</dc:creator>
      <dc:date>2016-07-27T17:54:31Z</dc:date>
    </item>
    <item>
      <title>Not sure whether this is</title>
      <link>https://community.intel.com/t5/Media-Intel-Video-Processing/HW-decoder-always-return-green-frames-on-Linux-kernel-4-X/m-p/1070148#M8603</link>
      <description>&lt;P&gt;Not sure whether this is related:&lt;/P&gt;

&lt;P&gt;On 4.4,&amp;nbsp;metrics monitor doesn't work:&lt;/P&gt;

&lt;P&gt;sudo ./run.sh&lt;BR /&gt;
	ERROR: Failed to initialize metrics monitor, error code -10&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2016 22:13:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Media-Intel-Video-Processing/HW-decoder-always-return-green-frames-on-Linux-kernel-4-X/m-p/1070148#M8603</guid>
      <dc:creator>Liu__Chao</dc:creator>
      <dc:date>2016-07-27T22:13:10Z</dc:date>
    </item>
    <item>
      <title>The current version of </title>
      <link>https://community.intel.com/t5/Media-Intel-Video-Processing/HW-decoder-always-return-green-frames-on-Linux-kernel-4-X/m-p/1070149#M8604</link>
      <description>&lt;P&gt;&lt;STRONG&gt;The current version of&amp;nbsp; ffmpeg(Version 3.1.1) has not yet fully realize QSV hardware decoding, please refer to the source code of ffmpeg. I think the fastest way is that Intel can help to achieve the function as soon as possible, So that we can use the QSV hardware decoding function on ffmpeg.&amp;nbsp; &lt;/STRONG&gt;&lt;A href="https://software.intel.com/en-us/user/1052549"&gt;Perhaps Surbhi M can help us to convey this important proposal to Intel Develop Team, Let's cheer him on.&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jul 2016 11:42:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Media-Intel-Video-Processing/HW-decoder-always-return-green-frames-on-Linux-kernel-4-X/m-p/1070149#M8604</guid>
      <dc:creator>bordon_l_</dc:creator>
      <dc:date>2016-07-29T11:42:59Z</dc:date>
    </item>
    <item>
      <title>Hi Bordon,</title>
      <link>https://community.intel.com/t5/Media-Intel-Video-Processing/HW-decoder-always-return-green-frames-on-Linux-kernel-4-X/m-p/1070150#M8605</link>
      <description>&lt;P&gt;Hi Bordon,&lt;/P&gt;

&lt;P&gt;I have been using QSV decoding from ffmpeg 3.0.1 for a while. The latest versions don't work because of some bugs, which is already (or going to be) fixed.&lt;/P&gt;

&lt;P&gt;Could you give a bit details about what you said? Are you saying the performance could be further improved?&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jul 2016 18:04:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Media-Intel-Video-Processing/HW-decoder-always-return-green-frames-on-Linux-kernel-4-X/m-p/1070150#M8605</guid>
      <dc:creator>Liu__Chao</dc:creator>
      <dc:date>2016-07-29T18:04:20Z</dc:date>
    </item>
    <item>
      <title>Looks like the green frame</title>
      <link>https://community.intel.com/t5/Media-Intel-Video-Processing/HW-decoder-always-return-green-frames-on-Linux-kernel-4-X/m-p/1070151#M8606</link>
      <description>&lt;P&gt;Looks like the green frame issue is also related to the GPU.&lt;/P&gt;

&lt;P&gt;So far I could only repro it on HD Graphics 4400 on Linux kernel 3.19.x and above (CentOS and Ubuntu).&lt;/P&gt;

&lt;P&gt;I have another machine with IRIS Pro 6200, I just installed Ubuntu 16.04 (kernel 4.4.0), it works!&lt;/P&gt;

&lt;P&gt;Looks like HD Graphics 4400 + kernel &amp;gt;=&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;3.19.x is the culprit...&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jul 2016 07:16:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Media-Intel-Video-Processing/HW-decoder-always-return-green-frames-on-Linux-kernel-4-X/m-p/1070151#M8606</guid>
      <dc:creator>Liu__Chao</dc:creator>
      <dc:date>2016-07-30T07:16:10Z</dc:date>
    </item>
    <item>
      <title>It couldn't work correctly if</title>
      <link>https://community.intel.com/t5/Media-Intel-Video-Processing/HW-decoder-always-return-green-frames-on-Linux-kernel-4-X/m-p/1070152#M8607</link>
      <description>&lt;P&gt;It couldn't work correctly if you carefully check the source code of the ffmpeg that QSV decoding, such as 'qsvdec_mpeg2.c' in ffmpeg:&lt;/P&gt;

&lt;P&gt;static av_cold int qsv_decode_close(AVCodecContext *avctx)&lt;BR /&gt;
	{&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; QSVMPEG2Context *s = avctx-&amp;gt;priv_data;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ff_qsv_decode_close(&amp;amp;s-&amp;gt;qsv);&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return 0;&lt;BR /&gt;
	}&lt;/P&gt;

&lt;P&gt;static av_cold int qsv_decode_init(AVCodecContext *avctx)&lt;BR /&gt;
	{&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; return 0;&lt;BR /&gt;
	}&lt;/P&gt;

&lt;P&gt;&lt;BR /&gt;
	You can find the function return 0 directly.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2016 02:26:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Media-Intel-Video-Processing/HW-decoder-always-return-green-frames-on-Linux-kernel-4-X/m-p/1070152#M8607</guid>
      <dc:creator>bordon_l_</dc:creator>
      <dc:date>2016-08-01T02:26:39Z</dc:date>
    </item>
    <item>
      <title>Hi Bordon,</title>
      <link>https://community.intel.com/t5/Media-Intel-Video-Processing/HW-decoder-always-return-green-frames-on-Linux-kernel-4-X/m-p/1070153#M8608</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;Hi Bordon,&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;Almost all the init/decode things are done in &lt;/SPAN&gt;libavcodec/qsvdec.c.&amp;nbsp;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;You need to read the code more carefully.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;Also, please don't hijack this thread. Some engineer from Intel already replied your thread. I also gave you some example command you could try in that thread. Let's discuss your questions there. Thanks.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2016 18:07:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Media-Intel-Video-Processing/HW-decoder-always-return-green-frames-on-Linux-kernel-4-X/m-p/1070153#M8608</guid>
      <dc:creator>Liu__Chao</dc:creator>
      <dc:date>2016-08-01T18:07:23Z</dc:date>
    </item>
    <item>
      <title>Hi Surbhi,</title>
      <link>https://community.intel.com/t5/Media-Intel-Video-Processing/HW-decoder-always-return-green-frames-on-Linux-kernel-4-X/m-p/1070154#M8609</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;Hi Surbhi,&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;Sorry for pushing on this. Just to let you know that I am still waiting for your help in case it already fell off your radar..&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;We are building a software depending on QSV hardware acceleration. For now, we could use 3.18.x to run it. However, it would be nice if we could also run it on latest kernels. Especially, new Ubuntu releases use 4.x by default. It sucks if we have to downgrade the kernel.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Aug 2016 17:52:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Media-Intel-Video-Processing/HW-decoder-always-return-green-frames-on-Linux-kernel-4-X/m-p/1070154#M8609</guid>
      <dc:creator>Liu__Chao</dc:creator>
      <dc:date>2016-08-04T17:52:14Z</dc:date>
    </item>
    <item>
      <title>Hi, </title>
      <link>https://community.intel.com/t5/Media-Intel-Video-Processing/HW-decoder-always-return-green-frames-on-Linux-kernel-4-X/m-p/1070155#M8610</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Sorry for late response. I am discussing this with other folks in the team that if this is a known issue or we have a work around available. Please allow some time for that since we tested extensively on the gold OS and 3.14 kernel for the Media Server Studio 2016 release and not on later kernel. However with our latest release Media Server Studio 2017 coming out in few weeks we have patches available for 4.4 kernel which should definitely resolve issue and let you update the kernel. Will keep you posted.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Have a good weekend.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
	Surbhi&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Aug 2016 23:55:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Media-Intel-Video-Processing/HW-decoder-always-return-green-frames-on-Linux-kernel-4-X/m-p/1070155#M8610</guid>
      <dc:creator>Surbhi_M_Intel</dc:creator>
      <dc:date>2016-08-05T23:55:00Z</dc:date>
    </item>
    <item>
      <title>FYI, I could repro the issue</title>
      <link>https://community.intel.com/t5/Media-Intel-Video-Processing/HW-decoder-always-return-green-frames-on-Linux-kernel-4-X/m-p/1070156#M8611</link>
      <description>&lt;P&gt;FYI, I could repro the issue on IRIS 5100 on kernel 4.x.&lt;/P&gt;</description>
      <pubDate>Sat, 20 Aug 2016 07:58:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Media-Intel-Video-Processing/HW-decoder-always-return-green-frames-on-Linux-kernel-4-X/m-p/1070156#M8611</guid>
      <dc:creator>Liu__Chao</dc:creator>
      <dc:date>2016-08-20T07:58:54Z</dc:date>
    </item>
    <item>
      <title>HI there, </title>
      <link>https://community.intel.com/t5/Media-Intel-Video-Processing/HW-decoder-always-return-green-frames-on-Linux-kernel-4-X/m-p/1070157#M8612</link>
      <description>&lt;P&gt;HI there,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Apologies for a super slow response. There has been new Media Server Studio release i.e. 2017 or 16.5 which support kernel 4.4.x as &amp;nbsp;stated before. I have tested your scenario on Ubuntu 16.04 and see no green frame issue. Can you please update to latest version and check if you are able to reproduce the issue?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
	Surbhi&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2016 23:13:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Media-Intel-Video-Processing/HW-decoder-always-return-green-frames-on-Linux-kernel-4-X/m-p/1070157#M8612</guid>
      <dc:creator>Surbhi_M_Intel</dc:creator>
      <dc:date>2016-09-23T23:13:21Z</dc:date>
    </item>
    <item>
      <title>Unfortunately, the CPUs I was</title>
      <link>https://community.intel.com/t5/Media-Intel-Video-Processing/HW-decoder-always-return-green-frames-on-Linux-kernel-4-X/m-p/1070158#M8613</link>
      <description>&lt;P&gt;Unfortunately, the CPUs I was complaining about are 4th gen CORE, which are not supported by 2017 if I understand it correctly...&lt;/P&gt;</description>
      <pubDate>Sun, 25 Sep 2016 05:14:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Media-Intel-Video-Processing/HW-decoder-always-return-green-frames-on-Linux-kernel-4-X/m-p/1070158#M8613</guid>
      <dc:creator>Liu__Chao</dc:creator>
      <dc:date>2016-09-25T05:14:51Z</dc:date>
    </item>
    <item>
      <title>Yes, you are right. I thought</title>
      <link>https://community.intel.com/t5/Media-Intel-Video-Processing/HW-decoder-always-return-green-frames-on-Linux-kernel-4-X/m-p/1070159#M8614</link>
      <description>&lt;P&gt;Yes, you are right. I thought we were seeing it on 5th generation too.&amp;nbsp;&lt;BR /&gt;
	4th generation is not supported on Media Server Studio 2017 and the kernel 4.4.x is not supported by us through older Media Server Studio version.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2016 19:02:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Media-Intel-Video-Processing/HW-decoder-always-return-green-frames-on-Linux-kernel-4-X/m-p/1070159#M8614</guid>
      <dc:creator>Surbhi_M_Intel</dc:creator>
      <dc:date>2016-09-26T19:02:30Z</dc:date>
    </item>
  </channel>
</rss>

