if using PP_HARDWAREACCELERATION_NONE it just returns error -15 (PP_ERROR_RESOURCE_FAILED) to the first GetPictureDone callback.
If using PP_HARDWAREACCELERATION_WITHFALLBACK, then i get a picture like this:
https://images.sshnuke.net/2016-02-27_00-27-07.png (it thinks there's only 1/4 of the macroblocks that there actually are ?, notice that the MV interpolated data from the bottom ones are also black, so its not like its just only showing 1/4 of the decoded image)
Here is the bitstream:
https://files.sshnuke.net/goodstream.264 (4-byte length prefixed, not 0,0,0,1 prefixed, to convert it to that format so it can be played by mplayer or similar, use something like
http://pastebin.com/dUkRN1zt)
And here's the slightly modified video_decode.cc i tried to play it:
http://pastebin.com/YyNzmjgG (i am running as a ppapi .dll on windows as recommended in the debugging guidelines, so i can just use fopen to open d:/goodstream.264 (the file posted above) in order to get its contents)
The bitstream plays perfectly when using ffmpeg (even inside a chrome plugin as shown in the video itself), mplayer on the annex-b converted .264 file (using above utility), or even inside chrome when the annex-b converted .264 file is just packaged inside a .mp4 file ! (
https://files.sshnuke.net/goodstream2-muxed.mp4)
Unfortunately ffmpeg inside nacl doesn't let me use video accelerated decoding which is what i'm trying to accomplish by using pp::VideoDecoder, so can anyone point me to what I'm doing wrong ?
(The bitstream was generated by NVENC Low-Latency high profile capture of my desktop)
Thanks in advance.