VP8 decode failure due to alignment issue #360
Comments
@lakulako , can you please take a look? |
Need to check the spec. |
@sreerenjb , there are no such restrictions. Thank you for catching. Could you please provide info how to reproduce the case. Where and when do you set size and crops? |
@lakulako you can use any 720p, 480p clip. with gst-msdk you can do this: gst-launch-1.0 filesrc location=sintel_vp8_720p_2.5Mbps_60fps.webm ! matroskademux ! msdkvp8dec ! msdkvpp ! glimagesink or gst-launch-1.0 filesrc location=sintel_vp8_720p_2.5Mbps_60fps.webm ! matroskademux ! msdkvp8dec ! glimagesink This is with Intel MediaSDK stack last release and gstreamer 1.15.2 It seems it is easier to see on wayland, I'm using this compositor github.com/intel/ias, but also it happens on GNome-Shell. |
@chivakker , can you please provide a reproducer via sample_decode? |
@dmitryermilov I think we saw it also with sample_decode and a ivf stream. I'll share the command line later today. |
Thanks! |
In what related to msdkvpp, one is used for conversion from NV12 that is output of msdkvp8dec (and other plugins like msdkmjpegdec) to RGB4 that is expected as input by glimagesink. I.e., you can run
and get decoded NV12 stream in the file. Alternatively, negotiation may be done via
|
@chivakker , hope we answered all you questions. Fill free to re-open the issue or file a new one. |
Take a video sample of size 36x36 .
set,
mfxFrameInfo.Width = 64; // 32 bit alingment
mfxFrameInfo.Width = 64; // 32 bit alingment
mfxFrameInfo.CropW = 36;
mfxFrameInfo.CropH = 36;
Then MFXVideoDECODE_DecodeFrameAsync() is failing with MFX_ERR_INVALID_VIDEO_PARAM error code. But if I use 16bit alignment (Width=48, Height=48),it works fine.
Other codecs like h264 and vp9 have no issue like this.
Is there any hard restriction in vp8 decoder such that "width must be aligned to immediate next 16 bit rounded value "??
The text was updated successfully, but these errors were encountered: