nvvidconv issue when transform non-standard video

Hi There,

I am using Gstreamer’s omxh264dec with nvvidconv to transform a 810x1080 resolution video from format NV12 to UYVY, which has the error below. when I removed the nvvidconv from the pipleline, it works fine. Also, it seem that normal video size is ok when using with nvvidconv, like 720p, 1080p.

gst-launch-1.0 -v appsrc ! h264parse ! omxh264dec ! nvvidconv ! appsink

NvMMLiteOpen : Block : BlockType = 261
TVMR: NvMMLiteTVMRDecBlockOpen: 5107: NvMMLiteBlockOpen
NvMMLiteBlockCreate : Block : BlockType = 261
TVMR: cbBeginSequence: 584: BeginSequence  816x1088, bVPR = 0
TVMR: cbBeginSequence: 826: DecodeBuffers = 6
TVMR: cbBeginSequence: 850: Display Resolution : (810x1080)
TVMR: cbBeginSequence: 851: Display Aspect Ratio : (810x1080)
TVMR: cbBeginSequence: 1015: SurfaceLayout = 3
TVMR: cbBeginSequence: 1045: NumOfSurfaces = 10, InteraceStream = 0, InterlaceEnabled = 0, bSecure = 0, MVC = 0 Semiplanar = 1, bReinit = 1
Allocating new output: 816x1088 (x 12), ThumbnailMode = 0
NVMAP_IOC_READ failed: Bad address
(dummy:1971): GStreamer-CRITICAL **: gst_mini_object_unlock: assertion 'GST_MINI_OBJECT_IS_LOCKABLE (object)' failed
0:00:08.445086863  1971 0x142d2060 ERROR              nvvidconv gstnvvconv.c:3114:gst_nvvconv_transform: gst_nvvconv_transform: payloadType != NvMMPayloadType_SurfaceArray
0:00:08.445417611  1971 0x142d2060 WARN             omxvideodec gstomxvideodec.c:2779:gst_omx_video_dec_loop:<video_decoder> error: Internal data stream error.
0:00:08.445566693  1971 0x142d2060 WARN             omxvideodec gstomxvideodec.c:2779:gst_omx_video_dec_loop:<video_decoder> error: stream stopped, reason not-supported
0:00:08.448725669  1971 0x145a02c0 WARN                 basesrc gstbasesrc.c:2948:gst_base_src_loop:<source> error: Internal data flow error.
0:00:08.448751586  1971 0x145a02c0 WARN                 basesrc gstbasesrc.c:2948:gst_base_src_loop:<source> error: streaming task paused, reason not-supported (-6)

Hi usaarizona,
So your h264 stream is in 810x1080? And without nvvidconv, you are able to get 810x1080 UYVY in appsink?
I think the input to nvvidconv has to be 16-pixel(or 32-pixel) alignment. Is it possible to have input width=816?

Hi usaarizona,

Any update? Have you clarified and resolved the problem?
We would like to get your response, then can provide more suggestions.

Thanks

Hi Kayccc,

I followed the Dane’s suggestion, nvvidconv do work for 816x1080 resolution.

Kevin

How did you solve the GST_MINI_OBJECT_IS_LOCKABLE problem?