[gstreamer-msdk][vpp][deinterlace]the cmdline will fail when add param "interlaced=true top-field-first=1" in rawvideoparse
-
System Environment:
-
Platform: KBL
-
Arch: x86_64
-
Kernel: 4.18.0+
-
libva commit 0dc70068e49f9538fbd03f2f0aa1e56a91e986e7
-
MediaSdk commit d23d66991d10d8c7347e33ef0ab116a7090d6cbb
-
gmmlib commit ac68e2cebf9774b17bc8a4057d30959117222127
-
media_driver commit 7a35908c575306d3764dfb98e8e6b83d185ffea1
-
gstreamer master branch e322250fb1d1c31692d1e97e3de19ead6b016d7f
-
gst-plugins-base commit b0faf032d20456b3006bf33c79db30ceb96d6ea8
-
gst-plugins-bad commit 35018743
-
Bug detailed description:
-
the cmdline will fail when add param "interlaced=true top-field-first=1" in rawvideoparse
-
this issue can not be duplicated on gst-vaapi
-
Reproduce Steps:
- build env as above
- gst-launch-1.0 -vf filesrc location=./interlaced_720x480_input_nv12.yuv num-buffers=20 ! rawvideoparse format=nv12 width=720 height=480 interlaced=true top-field-first=1 ! msdkvpp hardware=true ! fakesink
- error info 0:00:00.018068013 7648 0xae8800 ERROR msdkvpp gstmsdkvpp.c:739:gst_msdkvpp_transform: MSDK Failed to do VPP
(gst-launch-1.0:7648): GStreamer-CRITICAL **: gst_buffer_resize_range: assertion 'bufmax >= bufoffs + offset + size' failed ERROR: from element /GstPipeline:pipeline0/GstRawVideoParse:rawvideoparse0: Internal data stream error. Additional debug info: gstbaseparse.c(3634): gst_base_parse_loop (): /GstPipeline:pipeline0/GstRawVideoParse:rawvideoparse0: streaming stopped, reason error (-5)