<?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 Re: H.264 error when decoding in Media (Intel® Video Processing Library, Intel Media SDK)</title>
    <link>https://community.intel.com/t5/Media-Intel-Video-Processing/H-264-error-when-decoding/m-p/1380382#M14186</link>
    <description>&lt;P&gt;Hi Ying Guo,&lt;BR /&gt;&lt;BR /&gt;Yes, I can decode many other contents.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank you for the attachment. Can you tell me how to play it correctly?&amp;nbsp;&lt;BR /&gt;I've tried with: "ffplay -f rawvideo -pixel_format bgr24 -video_size 320x240 -framerate 20 customer_content_hw_out.raw" but it shows the image as greyscale and with 6 instances (See attached).&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;In our program we can detect when the content comes from this specific source. Would it be possible to correct the corruption in any way programmatically as a workaround for now?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I appreciate the feedback and hope it is something that can be fixed. Before we can fully adopt Intel OneVPL into our program we need to be able to decode the corrupted bitstreams.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Jonas&lt;/P&gt;</description>
    <pubDate>Thu, 28 Apr 2022 11:36:55 GMT</pubDate>
    <dc:creator>JonasJensen</dc:creator>
    <dc:date>2022-04-28T11:36:55Z</dc:date>
    <item>
      <title>H.264 error when decoding</title>
      <link>https://community.intel.com/t5/Media-Intel-Video-Processing/H-264-error-when-decoding/m-p/1371023#M14127</link>
      <description>&lt;P&gt;Intel OneVPL version: 2022.0.0&lt;BR /&gt;&lt;BR /&gt;Hi, I am trying to write a program that needs to be able to decode H.264. I can decode most sources (network, storage etc) but have trouble decoding H.264 from a specific source.&amp;nbsp;&lt;BR /&gt;To troubleshoot I have tried to decode it through the sample projects and this also fails on this particular file.&amp;nbsp; FFPlay can play it and so can other decoders I have tried (E.g. Streamcoders).&amp;nbsp;&lt;BR /&gt;I have tried to analyze it with SpecialVH264, but couldn't see anything obvious that was missing or wrong.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have attached a video file in the H.264 format that I cannot decode.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Is it possible to get OneVPL to decode this file and if so, what should be configured to get it working?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks, &lt;BR /&gt;Jonas&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 14:57:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Media-Intel-Video-Processing/H-264-error-when-decoding/m-p/1371023#M14127</guid>
      <dc:creator>JonasJensen</dc:creator>
      <dc:date>2022-03-22T14:57:40Z</dc:date>
    </item>
    <item>
      <title>Re:H.264 error when decoding</title>
      <link>https://community.intel.com/t5/Media-Intel-Video-Processing/H-264-error-when-decoding/m-p/1371342#M14128</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for posting in Intel forums.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;In oneVPL decode sample , only h265 file is  supported. In that case, we suggest you to convert h264 file to h265 file with either ffmpeg or media sdk multi transcode and then decode using oneVPL .For ffmpeg use the below command.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;ffmpeg -i user.h264 -c:v libx265 -vtag hvc1 -c:a copy output.mp4&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;To convert h264 file to h265 with Media SDK transcode use the below command.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;./sample_multi_transcode.exe -i::h264 user.h264 -o::h265 out1.h265&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Please find the below links for reference.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/oneapi-src/oneAPI-samples/tree/master/Libraries/oneVPL/hello-decode" target="_blank"&gt;https://github.com/oneapi-src/oneAPI-samples/tree/master/Libraries/oneVPL/hello-decode&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/Intel-Media-SDK/MediaSDK/blob/master/doc/samples/readme-multi-transcode_linux.md" target="_blank"&gt;https://github.com/Intel-Media-SDK/MediaSDK/blob/master/doc/samples/readme-multi-transcode_linux.md&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Try this and let us know the updates.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Janani Chandran&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Mar 2022 13:18:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Media-Intel-Video-Processing/H-264-error-when-decoding/m-p/1371342#M14128</guid>
      <dc:creator>JananiC_Intel</dc:creator>
      <dc:date>2022-03-23T13:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: H.264 error when decoding</title>
      <link>https://community.intel.com/t5/Media-Intel-Video-Processing/H-264-error-when-decoding/m-p/1371344#M14129</link>
      <description>&lt;P&gt;Hi Janani,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;You are correct that the "hello-decode.exe" example only supports H265. The sample I used was&amp;nbsp;decvpp_tool.exe which also works with H264.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have made a C++ library that can decode most H264 sources, except for the one I have supplied as an attached file.&amp;nbsp;&lt;BR /&gt;Most decoders can decode the file fine, but not Intel OneVPL and I am searching for help figuring out why that is.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;BR /&gt;Jonas&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 13:25:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Media-Intel-Video-Processing/H-264-error-when-decoding/m-p/1371344#M14129</guid>
      <dc:creator>JonasJensen</dc:creator>
      <dc:date>2022-03-23T13:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: H.264 error when decoding</title>
      <link>https://community.intel.com/t5/Media-Intel-Video-Processing/H-264-error-when-decoding/m-p/1372405#M14130</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the update.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As per the onevpl github page , this decvpp_tool sample&amp;nbsp; does not support H.264 file. Refer the below link to know the details.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/oneapi-src/oneVPL/tree/master/examples/hello/hello-decvpp" target="_blank" rel="noopener"&gt;https://github.com/oneapi-src/oneVPL/tree/master/examples/hello/hello-decvpp&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Janani Chandran&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 12:24:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Media-Intel-Video-Processing/H-264-error-when-decoding/m-p/1372405#M14130</guid>
      <dc:creator>JananiC_Intel</dc:creator>
      <dc:date>2022-03-28T12:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: H.264 error when decoding</title>
      <link>https://community.intel.com/t5/Media-Intel-Video-Processing/H-264-error-when-decoding/m-p/1372411#M14131</link>
      <description>&lt;P&gt;Hi again Janani,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I do not use hello-decvpp, I use decvpp_tool.exe. It does work fine with H264. I have attached a screenshot of a decode/vpp of Big Buck Bunny as a raw h264 file, where you can see it play in FFPlay afterwards.&amp;nbsp;&lt;BR /&gt;I have also added another image showing the input parameters available when using the tool.&lt;BR /&gt;&lt;BR /&gt;I still cannot figure out why the first file I sent does not work in any of Intel OneVPLs samples or my own custom C++ library.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards and thank you,&lt;BR /&gt;Jonas&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 13:05:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Media-Intel-Video-Processing/H-264-error-when-decoding/m-p/1372411#M14131</guid>
      <dc:creator>JonasJensen</dc:creator>
      <dc:date>2022-03-28T13:05:42Z</dc:date>
    </item>
    <item>
      <title>Re:H.264 error when decoding</title>
      <link>https://community.intel.com/t5/Media-Intel-Video-Processing/H-264-error-when-decoding/m-p/1372713#M14134</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Sorry for the confusion. We will update you regarding this. Meanwhile could you share your OS details and command used to run decvpp_tool.exe ?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Janani Chandran&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 29 Mar 2022 14:16:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Media-Intel-Video-Processing/H-264-error-when-decoding/m-p/1372713#M14134</guid>
      <dc:creator>JananiC_Intel</dc:creator>
      <dc:date>2022-03-29T14:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: Re:H.264 error when decoding</title>
      <link>https://community.intel.com/t5/Media-Intel-Video-Processing/H-264-error-when-decoding/m-p/1372938#M14135</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;No problem. Thanks.&amp;nbsp;&lt;BR /&gt;Yes of course, here are my details:&lt;BR /&gt;&lt;BR /&gt;OS:&amp;nbsp;&lt;BR /&gt;Windows 10 Pro | Version 21H1 | OS build&amp;nbsp;19043.1586&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Command:&lt;BR /&gt;decvpp_tool h264 -sw -i out.h264 -o dec.raw -vpp_num 2 -vpp_params 320x240_i420,640x480_bgra -vpp_out o1.raw,o2.raw&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Jonas&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2022 11:34:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Media-Intel-Video-Processing/H-264-error-when-decoding/m-p/1372938#M14135</guid>
      <dc:creator>JonasJensen</dc:creator>
      <dc:date>2022-03-30T11:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: Re:H.264 error when decoding</title>
      <link>https://community.intel.com/t5/Media-Intel-Video-Processing/H-264-error-when-decoding/m-p/1375357#M14147</link>
      <description>&lt;P&gt;Hi Jonas,&lt;BR /&gt;&lt;BR /&gt;Thank you bringing this issue to our attention and provide the content file and other information. We found that the out.h264 file you provided is corrupted. This make it difficult to decode. Admittedly our cpu implementations also require some improvement so that it will be more forgiving to corrupted files.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;We acknowledge this limitation in&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A class="external-link" href="https://github.com/intel-innersource/frameworks.media.onevpl.documentation/blob/main/www-docs/documentation/release_notes.md" target="_blank" rel="nofollow noopener"&gt;our release note,&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Decode input bitstream buffer size must be large enough to hold several frames. Buffer sizes that are too small may cause issues. The necessary minimum size is stream dependent but enough for 10 frames is a conservative estimate.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you like, you may provide information on how that content file was generated, for example, giving a command line. Please do so by continue replying in this thread. We may inform you when an improvement is made.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2022 21:56:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Media-Intel-Video-Processing/H-264-error-when-decoding/m-p/1375357#M14147</guid>
      <dc:creator>Ying_Guo_VPL</dc:creator>
      <dc:date>2022-04-07T21:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: Re:H.264 error when decoding</title>
      <link>https://community.intel.com/t5/Media-Intel-Video-Processing/H-264-error-when-decoding/m-p/1375483#M14149</link>
      <description>&lt;P&gt;Hi Ying Guo,&lt;BR /&gt;&lt;BR /&gt;Thank you for the feedback.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a workaround for this issue, or can you provide more information about which part of the file is corrupted?&lt;/P&gt;
&lt;P&gt;My C++ code is based on the provided examples and I have defined the buffersize like this:&lt;BR /&gt;"#define BITSTREAM_BUFFER_SIZE 2000000"&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Jonas&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2022 08:23:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Media-Intel-Video-Processing/H-264-error-when-decoding/m-p/1375483#M14149</guid>
      <dc:creator>JonasJensen</dc:creator>
      <dc:date>2022-04-08T08:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: Re:H.264 error when decoding</title>
      <link>https://community.intel.com/t5/Media-Intel-Video-Processing/H-264-error-when-decoding/m-p/1375772#M14155</link>
      <description>&lt;P&gt;Hi Jonas,&lt;/P&gt;
&lt;P&gt;When playback your video, ffplay emits some repeated errors like this:&lt;BR /&gt;&lt;BR /&gt;libpostproc 55. 9.100 / 55. 9.100&lt;BR /&gt;[h264 @ 000001dfe13e1700] non-existing PPS 0 referenced 0B f=0/0&lt;BR /&gt;Last message repeated 4 times&lt;BR /&gt;[h264 @ 000001dfe13e1700] decode_slice_header error&lt;BR /&gt;[h264 @ 000001dfe13e1700] no frame!&lt;BR /&gt;[h264 @ 000001dfe13e1700] non-existing PPS 0 referenced&lt;BR /&gt;[h264 @ 000001dfe13e1700] decode_slice_header error&lt;BR /&gt;[h264 @ 000001dfe13e1700] no frame!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I cannot be sure exactly where but possibly around 90th frame (see screenshot) when a remote control in transparent state was waving in the foreground&amp;nbsp; while a door is seen at background. Were you trying to create a special effect?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The problem we see is that decode may fail with the corrupted input bitstream. There’re some limitations to cover various types of corrupted input stream. It would help if you could explain how you encoded the video, for example, if you encoded it using our example, or which&amp;nbsp;&lt;SPAN&gt;tool and the command line used. Having a variety of similar instances of corruption or knowing the way to create them would be helpful to understand a pattern.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;ying&lt;/P&gt;</description>
      <pubDate>Sat, 09 Apr 2022 02:48:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Media-Intel-Video-Processing/H-264-error-when-decoding/m-p/1375772#M14155</guid>
      <dc:creator>Ying_Guo_VPL</dc:creator>
      <dc:date>2022-04-09T02:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: Re:H.264 error when decoding</title>
      <link>https://community.intel.com/t5/Media-Intel-Video-Processing/H-264-error-when-decoding/m-p/1375791#M14156</link>
      <description>&lt;P&gt;Hi Ying Guo,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Interesting. I did not try to create a special effect. The remote control was waved in front of the camera to try and make a steady motion in front of the camera. I recorded that video for sharing here.&lt;BR /&gt;The recording is made through a Windows Program that uses Streamcoders internally.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can try and figure out what version of Streamcoders that is being used by the program Monday.&amp;nbsp;&lt;BR /&gt;Monday I can also create more videos that I can share. Is there any particular type of video that would be more helpful? Motion? video without movement? or a particular length?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Jonas&lt;/P&gt;</description>
      <pubDate>Sat, 09 Apr 2022 06:15:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Media-Intel-Video-Processing/H-264-error-when-decoding/m-p/1375791#M14156</guid>
      <dc:creator>JonasJensen</dc:creator>
      <dc:date>2022-04-09T06:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: Re:H.264 error when decoding</title>
      <link>https://community.intel.com/t5/Media-Intel-Video-Processing/H-264-error-when-decoding/m-p/1375876#M14157</link>
      <description>&lt;P&gt;Variety of video encoded in different ways would be good. Contents might have not made the difference. But try encode the same shot again using the exact same method how you created the last sample. When you encode other videos, please include a couple that use our encoders, e.g. hello-encode and sample-encode samples. When you build our repositories, their executables will be in the %VPL_INSTALL_DIR%\bin directory. Let me know if you have problem building our oneVPL and oneVPL-cpu. Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 10 Apr 2022 03:30:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Media-Intel-Video-Processing/H-264-error-when-decoding/m-p/1375876#M14157</guid>
      <dc:creator>Ying_Guo_VPL</dc:creator>
      <dc:date>2022-04-10T03:30:41Z</dc:date>
    </item>
    <item>
      <title>Re: H.264 error when decoding</title>
      <link>https://community.intel.com/t5/Media-Intel-Video-Processing/H-264-error-when-decoding/m-p/1376444#M14162</link>
      <description>&lt;P&gt;Hi again,&lt;BR /&gt;&lt;BR /&gt;I have attached a zip file with two files inside.&amp;nbsp;&lt;BR /&gt;One is the RAW bgr24 video that I can play in FFPlay by using this command:&amp;nbsp;ffplay -f rawvideo -pixel_format bgr24 -video_size 320x240 -framerate 20 RAW.raw&lt;/P&gt;
&lt;P&gt;The other is the StreamcodersEncoded that I can play in FFPlay by using this command:&amp;nbsp;ffplay -f h264 StreamcodersEncoded.h264&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I do not know how I can encode the RAW bgr24 video with the examples, as the video format is BGR24. As far as I can see the encode examples only works with yuv or rgb3.&amp;nbsp;&lt;BR /&gt;What example should I use and can you help me with the correct command?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;sample_encode.exe.&lt;BR /&gt;My command:&amp;nbsp;sample_encode.exe h264 -i RAW.raw -o sample_encode_h264.h264 -f 20 -w 320 -h 240 -sw&lt;/P&gt;
&lt;P&gt;Error:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JonasJensen_0-1649749309764.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/28474i19253F06F56541BD/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="JonasJensen_0-1649749309764.png" alt="JonasJensen_0-1649749309764.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;sample_vpp.exe.&lt;BR /&gt;My command:&amp;nbsp;sample_vpp.exe -lib sw -sw 320 -sh 240 -sf 20 -scc rgb3 -dcc i420 -i RAW.raw -o test.hyuv&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JonasJensen_1-1649749429025.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/28475iAE903A8346542F6F/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="JonasJensen_1-1649749429025.png" alt="JonasJensen_1-1649749429025.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2022 07:45:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Media-Intel-Video-Processing/H-264-error-when-decoding/m-p/1376444#M14162</guid>
      <dc:creator>JonasJensen</dc:creator>
      <dc:date>2022-04-12T07:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: H.264 error when decoding</title>
      <link>https://community.intel.com/t5/Media-Intel-Video-Processing/H-264-error-when-decoding/m-p/1376951#M14168</link>
      <description>&lt;P&gt;Thanks. I will take a look and reply.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2022 19:11:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Media-Intel-Video-Processing/H-264-error-when-decoding/m-p/1376951#M14168</guid>
      <dc:creator>Ying_Guo_VPL</dc:creator>
      <dc:date>2022-04-13T19:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: H.264 error when decoding</title>
      <link>https://community.intel.com/t5/Media-Intel-Video-Processing/H-264-error-when-decoding/m-p/1380254#M14185</link>
      <description>&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Hi Jonas,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;First I want to give you a reply to the initial issue that prompted you started this thread of discussion that you could not decode one video clip in h264. Thanks for your patience. Understand that you are able to decode many other contents except for this content. I am attaching the decode result using an experimental method which shows where your input content is corrupted. We may work on a solution depending on our plans and priorities.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;BR /&gt;Meanwhile we will add the following text in our release note:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;"CPU implementation decode error recovery is limited. &amp;nbsp;Decode of corrupted bitstreams may fail."&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I will review the attachment you provided in your latest reply to see if they are impacted in the same way by the initial issue mentioned above.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 23:24:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Media-Intel-Video-Processing/H-264-error-when-decoding/m-p/1380254#M14185</guid>
      <dc:creator>Ying_Guo_VPL</dc:creator>
      <dc:date>2022-04-27T23:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: H.264 error when decoding</title>
      <link>https://community.intel.com/t5/Media-Intel-Video-Processing/H-264-error-when-decoding/m-p/1380382#M14186</link>
      <description>&lt;P&gt;Hi Ying Guo,&lt;BR /&gt;&lt;BR /&gt;Yes, I can decode many other contents.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank you for the attachment. Can you tell me how to play it correctly?&amp;nbsp;&lt;BR /&gt;I've tried with: "ffplay -f rawvideo -pixel_format bgr24 -video_size 320x240 -framerate 20 customer_content_hw_out.raw" but it shows the image as greyscale and with 6 instances (See attached).&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;In our program we can detect when the content comes from this specific source. Would it be possible to correct the corruption in any way programmatically as a workaround for now?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I appreciate the feedback and hope it is something that can be fixed. Before we can fully adopt Intel OneVPL into our program we need to be able to decode the corrupted bitstreams.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Jonas&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2022 11:36:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Media-Intel-Video-Processing/H-264-error-when-decoding/m-p/1380382#M14186</guid>
      <dc:creator>JonasJensen</dc:creator>
      <dc:date>2022-04-28T11:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: H.264 error when decoding</title>
      <link>https://community.intel.com/t5/Media-Intel-Video-Processing/H-264-error-when-decoding/m-p/1381182#M14191</link>
      <description>&lt;P&gt;Hi Jonas,&lt;/P&gt;
&lt;P&gt;Attached please see the second result video I decoded using my method. To playback the file I decoded, please use this command line:&lt;/P&gt;
&lt;P&gt;ffplay -f rawvideo -video_size 320x240 -pixel_format yuv420p xxxx_out.raw -autoexit&lt;BR /&gt;where&amp;nbsp;xxxx_out.raw should be replaced with the filenames.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you playback the source videos you sent to us, using command line: 'ffplay -f h264 c:\content\StreamcodersEncoded.h264 -autoexit'&lt;/P&gt;
&lt;P&gt;you would see the errors like the following:&lt;BR /&gt;[h264 @ 0000025a33e598c0] non-existing PPS 0 referenced 0B f=0/0&lt;BR /&gt;Last message repeated 3 times&lt;BR /&gt;[h264 @ 0000025a33e598c0] decode_slice_header error&lt;BR /&gt;[h264 @ 0000025a33e598c0] no frame!&lt;BR /&gt;[h264 @ 0000025a33e598c0] non-existing PPS 0 referenced&lt;BR /&gt;[h264 @ 0000025a33e598c0] decode_slice_header error&lt;BR /&gt;[h264 @ 0000025a33e598c0] no frame!&lt;BR /&gt;[h264 @ 0000025a33e598c0] non-existing PPS 0 referenced&lt;BR /&gt;[h264 @ 0000025a33e598c0] decode_slice_header error&lt;BR /&gt;[h264 @ 0000025a33e598c0] no frame!&lt;BR /&gt;[h264 @ 0000025a33e598c0] non-existing PPS 0 referenced&lt;BR /&gt;Last message repeated 2 times&lt;BR /&gt;[h264 @ 0000025a33e598c0] decode_slice_header error&lt;BR /&gt;[h264 @ 0000025a33e598c0] no frame!&lt;BR /&gt;[h264 @ 0000025a33e598c0] non-existing PPS 0 referenced&lt;BR /&gt;[h264 @ 0000025a33e598c0] decode_slice_header error&lt;BR /&gt;[h264 @ 0000025a33e598c0] no frame!&lt;BR /&gt;[h264 @ 0000025a33e598c0] non-existing PPS 0 referenced&lt;BR /&gt;These go on and on.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Our decode catches these errors and stops decoding. That is the behavior you see of our decoder.&amp;nbsp;&amp;nbsp;The error was seen by ffplay as well which indicates that there is something wrong with your source video. The visual artifacts in the previous source video may be or may not be related to the "decode_slice_header error". It is the decode_slice_header error makes our decoder stop decoding.&lt;/P&gt;
&lt;P&gt;To make this clear, our decoder is not at fault about the error in source videos. We think the proper behavior is to stop when the source video emits errors. But we might be willing to make our decoder tolerant, like what you see with the two video I attached today and the before.&amp;nbsp;To handle those error effectively we will need some careful review so that it doesn't break other users. Meanwhile you may want to address the problem with the tool you used to encode. If you encode the video using our encoder, we will be responsible to address any issue in our tools.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Thanks...ying&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2022 11:57:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Media-Intel-Video-Processing/H-264-error-when-decoding/m-p/1381182#M14191</guid>
      <dc:creator>Ying_Guo_VPL</dc:creator>
      <dc:date>2022-05-02T11:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: H.264 error when decoding</title>
      <link>https://community.intel.com/t5/Media-Intel-Video-Processing/H-264-error-when-decoding/m-p/1381243#M14193</link>
      <description>&lt;P&gt;Hi Ying,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank you for the explanation.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;You are very clear and I do not blame Intel at all for our bad source. We would be really happy if the decoder could be tolerant for these kinds of errors. (Maybe by setting an optional flag when initializing the decoder?).&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;We have addressed problem, but unfortunately we are in a situation where we have many terabytes of data that are created by the bad source. We didn't notice this since we have been using Streamcoders for both encoding and decoding until recently where we are trying to rely only on Intel OneVPL.&lt;/P&gt;
&lt;P&gt;For now we have to use a hybrid of Streamcoders and Intel OneVPL which I think is unfortunate, so I really hope that the decoder can become tolerant so we can use only Intel OneVPL.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;As a side note. I have found the version of Streamcoders that is making the bad source. It is Streamcoders MediaSuite.NET version 1.5.983(p2).&amp;nbsp;&lt;BR /&gt;If it could be helpful for your team I can provide code snippets of how we instantiated the Streamcoders H264Encoder, but I would prefer if we could discuss that over a private channel instead of this open forum.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Jonas.&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2022 18:42:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Media-Intel-Video-Processing/H-264-error-when-decoding/m-p/1381243#M14193</guid>
      <dc:creator>JonasJensen</dc:creator>
      <dc:date>2022-05-02T18:42:04Z</dc:date>
    </item>
    <item>
      <title>Re:H.264 error when decoding</title>
      <link>https://community.intel.com/t5/Media-Intel-Video-Processing/H-264-error-when-decoding/m-p/1381718#M14196</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for the update.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;We will contact you soon through private message.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Janani Chandran&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 04 May 2022 13:07:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Media-Intel-Video-Processing/H-264-error-when-decoding/m-p/1381718#M14196</guid>
      <dc:creator>JananiC_Intel</dc:creator>
      <dc:date>2022-05-04T13:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: H.264 error when decoding</title>
      <link>https://community.intel.com/t5/Media-Intel-Video-Processing/H-264-error-when-decoding/m-p/1382224#M14200</link>
      <description>&lt;P&gt;&lt;SPAN&gt;After careful consideration, we determined we cannot publish a workaround to address the header corruption in your source video.&amp;nbsp;As noted earlier in this thread, the following text will be added to our release notes:&lt;BR /&gt;&lt;/SPAN&gt;&lt;EM&gt;"CPU implementation decode error recovery is limited. Decode of corrupted bitstreams may fail."&lt;/EM&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;At this time the CPU implementation's decode error recovery is deliberately simplistic. The decode loop simply aborts if any problems are found. It is up to developers using this implementation to extend the source with decode error recovery suitable for their use case and content. We do not have plans to significantly improve the CPU implementation's decode error recovery robustness in the near future.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;The problem in your input source video raises an&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;FONT color="#172b4d"&gt;AVERROR_INVALIDDATA error. It is detected in&amp;nbsp;&lt;/FONT&gt;&lt;FONT color="#172b4d"&gt;&lt;A class="external-link" href="https://github.com/oneapi-src/oneVPL-cpu/blob/master/cpu/src/cpu_decode.cpp#L379" target="_blank" rel="nofollow noopener"&gt;This line&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#172b4d"&gt;To start debugging, you will need a sample app to call that code. Try modifying the hello-decode sample and allow h264 input video (currently only allows h265 video) or start with decvpp_tool you were using so that it does not stopped by above mentioned block of code.&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#172b4d"&gt;To debug our solution, you would build our oneVPL repo in debug build and build our oneVPL-cpu repo in debug build following our&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A class="external-link" href="https://github.com/oneapi-src/oneVPL-cpu/blob/master/INSTALL.md" target="_blank" rel="nofollow noopener"&gt;Build/Install Instructions&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;except:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#172b4d"&gt;1. Replace '&lt;/FONT&gt;&lt;FONT color="#172b4d"&gt;&lt;TT&gt;cmake --build . --config Release --target install' with 'cmake --build . --config Debug --target install'&lt;/TT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#172b4d"&gt;&lt;TT&gt;2.Replace&lt;/TT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;DIV class="code panel"&gt;
&lt;DIV class="codeContent panelContent"&gt;
&lt;PRE class="code-java"&gt;script\bootstrap
script\build
script\install&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;FONT color="#172b4d"&gt;&lt;TT&gt;with&lt;/TT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;DIV class="code panel"&gt;
&lt;DIV class="codeContent panelContent"&gt;
&lt;PRE class="code-java"&gt;script\bootstrap gpl
script\build debug gpl
script\install debug gpl&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;3. Run %VPL_INSTALL_DIR%\etc\vpl\vars.bat&lt;BR /&gt;4. Go to _build directory in the oneVPL, and run "vpl.sln"&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#172b4d"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Fri, 06 May 2022 04:14:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Media-Intel-Video-Processing/H-264-error-when-decoding/m-p/1382224#M14200</guid>
      <dc:creator>Ying_Guo_VPL</dc:creator>
      <dc:date>2022-05-06T04:14:54Z</dc:date>
    </item>
  </channel>
</rss>

