msdkvpp: __gst_util_uint64_scale_int: assertion 'denom > 0' failed
It seems that autovideoconvert selects amongst others msdkvpp when converting between I420 and BGRA. Errors as below occur.
c:\gstreamer\1.0\x86\bin\gst-launch-1.0.exe videotestsrc num-buffers=1 ! video/x-raw,format=I420,width=1280,height=720 ! autovideoconvert ! avenc_bmp ! filesink location="/path/Snapshot.bmp"
Setting pipeline to PAUSED ... Pipeline is PREROLLING ...
(gst-launch-1.0:10832): GStreamer-CRITICAL **: 09:16:31.674: _gst_util_uint64_scale_int: assertion 'denom > 0' failed
(gst-launch-1.0:10832): GStreamer-CRITICAL **: 09:16:31.776: _gst_util_uint64_scale_int: assertion 'denom > 0' failed
(gst-launch-1.0:10832): GStreamer-CRITICAL **: 09:16:31.875: _gst_util_uint64_scale_int: assertion 'denom > 0' failed
(gst-launch-1.0:10832): GStreamer-CRITICAL **: 09:16:31.976: _gst_util_uint64_scale_int: assertion 'denom > 0' failed
(gst-launch-1.0:10832): GStreamer-CRITICAL **: 09:16:32.077: _gst_util_uint64_scale_int: assertion 'denom > 0' failed
(gst-launch-1.0:10832): GStreamer-CRITICAL **: 09:16:32.177: _gst_util_uint64_scale_int: assertion 'denom > 0' failed
(gst-launch-1.0:10832): GStreamer-CRITICAL **: 09:16:32.278: _gst_util_uint64_scale_int: assertion 'denom > 0' failed
(gst-launch-1.0:10832): GStreamer-CRITICAL **: 09:16:32.379: _gst_util_uint64_scale_int: assertion 'denom > 0' failed
(gst-launch-1.0:10832): GStreamer-CRITICAL **: 09:16:32.480: _gst_util_uint64_scale_int: assertion 'denom > 0' failed
(gst-launch-1.0:10832): GStreamer-CRITICAL **: 09:16:32.580: _gst_util_uint64_scale_int: assertion 'denom > 0' failed
(gst-launch-1.0:10832): GStreamer-CRITICAL **: 09:16:32.681: _gst_util_uint64_scale_int: assertion 'denom > 0' failed
(gst-launch-1.0:10832): GStreamer-CRITICAL **: 09:16:32.783: _gst_util_uint64_scale_int: assertion 'denom > 0' failed
(gst-launch-1.0:10832): GStreamer-CRITICAL **: 09:16:32.884: _gst_util_uint64_scale_int: assertion 'denom > 0' failed
(gst-launch-1.0:10832): GStreamer-CRITICAL **: 09:16:32.984: _gst_util_uint64_scale_int: assertion 'denom > 0' failed
(gst-launch-1.0:10832): GStreamer-CRITICAL **: 09:16:33.085: _gst_util_uint64_scale_int: assertion 'denom > 0' failed
(gst-launch-1.0:10832): GStreamer-CRITICAL **: 09:16:33.186: _gst_util_uint64_scale_int: assertion 'denom > 0' failed
(gst-launch-1.0:10832): GStreamer-CRITICAL **: 09:16:33.286: _gst_util_uint64_scale_int: assertion 'denom > 0' failed
(gst-launch-1.0:10832): GStreamer-CRITICAL **: 09:16:33.387: _gst_util_uint64_scale_int: assertion 'denom > 0' failed
(gst-launch-1.0:10832): GStreamer-CRITICAL **: 09:16:33.488: _gst_util_uint64_scale_int: assertion 'denom > 0' failed Got context from element 'msdkvpp0': gst.msdk.Context=context, gst.msdk.Context=(GstMsdkContext)"(GstMsdkContext)\ msdkcontext0"; Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock0,0 %) Got EOS from element "pipeline0". Execution ended after 0:00:00.019830000 Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ...
The number of "_gst_util_uint64_scale_int: assertion 'denom > 0' failed" varies. When there are many, the attempt seem to fail.