qtdemux0: GStreamer encountered a general stram error.

Hello.
I’m trying run the nvgstiva-app on my Jetson TX2 as shown here:

https://github.com/vat-nvidia/deepstream-plugins

But I get the following error:

CPU usage measurement requires governor to be set to performance
Using winsys: x11 
------------> 0,0.0,1.0,0.0:1,0.0,1.0,1.0:2,0.0,0.0,1.0:3,1.0,1.0,0.0 -----------------
Using previously generated plan file located at sources/lib/models/yolov2-tiny-kFLOAT-batch1.engine
Loading TRT Engine...
Loading Complete!

Runtime commands:
	h: Print this help
	q: Quit

	p: Pause
	r: Resume

	[: Seek backward by 10 seconds
	]: Seek forward by 10 seconds
	,: Seek backward by 1 minute
	.: Seek forward by 1 minute

	s: Toggle summary display
	t: Toggle bounding box text display

** INFO: <bus_callback:138>: Pipeline ready

** WARN: <cb_autoplug_select:189>: Using software video decoder instead of hardware accelerated OMX decoder. Unsupported format. Try re-encoding.
** ERROR: <cb_newpad:151>: Failed to link decodebin to pipeline
** INFO: <bus_callback:123>: Pipeline running

Error from qtdemux0: GStreamer encountered a general stream error.
Debug info: qtdemux.c(5520): gst_qtdemux_loop (): /GstPipeline:pipeline/GstBin:multi_src_bin/GstBin:src_sub_bin0/GstURIDecodeBin:src_elem/GstDecodeBin:decodebin0/GstQTDemux:qtdemux0:
streaming stopped, reason not-linked

Any help/advice would be appreciated. Thanks.

UPDATE:

I installed Gstreamer using the following:

apt-get install libgstreamer1.0-0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-doc gstreamer1.0-tools

And now, the error I get when I try to run the nvgstiva-app is as follows:

------------>  -----------------
CPU usage measurement requires governor to be set to performance
Using winsys: x11 
------------> 0,0.0,1.0,0.0:1,0.0,1.0,1.0:2,0.0,0.0,1.0:3,1.0,1.0,0.0 -----------------
Using previously generated plan file located at sources/lib/models/yolov2-tiny-kFLOAT-batch1.engine
Loading TRT Engine...
Loading Complete!

Runtime commands:
	h: Print this help
	q: Quit

	p: Pause
	r: Resume

	[: Seek backward by 10 seconds
	]: Seek forward by 10 seconds
	,: Seek backward by 1 minute
	.: Seek forward by 1 minute

	s: Toggle summary display
	t: Toggle bounding box text display

** INFO: <bus_callback:138>: Pipeline ready

NvMMLiteOpen : Block : BlockType = 261 
TVMR: NvMMLiteTVMRDecBlockOpen: 7647: NvMMLiteBlockOpen 
NvMMLiteBlockCreate : Block : BlockType = 261 
TVMR: cbBeginSequence: 1179: BeginSequence  1280x720, bVPR = 0
TVMR: LowCorner Frequency = 100000 
TVMR: cbBeginSequence: 1529: DecodeBuffers = 5, pnvsi->eCodec = 4, codec = 0 
TVMR: cbBeginSequence: 1600: Display Resolution : (1280x720) 
TVMR: cbBeginSequence: 1601: Display Aspect Ratio : (1280x720) 
TVMR: cbBeginSequence: 1669: ColorFormat : 5 
TVMR: cbBeginSequence:1683 ColorSpace = NvColorSpace_YCbCr601
TVMR: cbBeginSequence: 1809: SurfaceLayout = 3
TVMR: cbBeginSequence: 1902: NumOfSurfaces = 12, InteraceStream = 0, InterlaceEnabled = 0, bSecure = 0, MVC = 0 Semiplanar = 1, bReinit = 1, BitDepthForSurface = 8 LumaBitDepth = 8, ChromaBitDepth = 8, ChromaFormat = 5
TVMR: cbBeginSequence: 1904: BeginSequence  ColorPrimaries = 2, TransferCharacteristics = 2, MatrixCoefficients = 2
Allocating new output: 1280x720 (x 12), ThumbnailMode = 0
OPENMAX: HandleNewStreamFormat: 3464: Send OMX_EventPortSettingsChanged : nFrameWidth = 1280, nFrameHeight = 720 
** INFO: <bus_callback:123>: Pipeline running

**
ERROR:/dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvegltransform/gstnvegltransform.c:215:gst_nvegl_transform_decide_allocation: assertion failed: (gst_query_get_n_allocation_pools (query) > 0)
Aborted (core dumped)

Got the answer here. Thanks!

https://devtalk.nvidia.com/default/topic/1041884/trouble-testing-the-sample-programs-on-tx2-with-custom-input/?offset=4

Hi rakhechar42,

I meet a similar error with you. But I cannot find a solution with the URL you gave.

The error is:

ERROR:/dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvegltransform/gstnvegltransform.c:215:gst_nvegl_transform_decide_allocation: assertion failed: (gst_query_get_n_allocation_pools (query) > 0)
Aborted (core dumped)

Thanks a lot.