Using uridecodebin with nvdec DeepStream 2.0

Hi,

I’m trying to use uridecodebin with nvDecoder with no success

example:
gst-launch-1.0 uridecodebin uri=“file://4K_standing.mp4” ! h264parse ! nvdec_h264 ! nvvidconv ! “video/x-raw(memory:NVMM),format=(string)RGBA” ! dsexample processing-width=1920 processing-height=1080 ! nvosd ! nveglglessink

please advise
Thanks

Hi robertpfjq08,
Are you able to run the pipeline in user guide?

gst-launch-1.0 filesrc location=<path-to-stream> ! decodebin ! nvvidconv ! dsexample full-frame=1 <other-properties> ! nvosd ! nveglglessink

yes, this line is working

Hi robertpfjq08,
uridecodebin will search for decoder, so you should run

gst-launch-1.0 uridecodebin uri="file://4K_standing.mp4" ! nvvidconv ! dsexample full-frame=1 <other-properties> ! nvosd ! nveglglessink

Please give it a try.

Hi DaneLLL,

thank you for the answer, this works fine.

uridecodebin will search for a decoder, i don’t which one he will pick.

Can i specify him from code/command line which one to pick?

Thanks

You should be able to run a pipeline:

gst-launch-1.0 filesrc location=<path-to-stream> ! qtdemux ! h264parse ! _SPECIFIC_DECODER_ ! nvvidconv ! dsexample full-frame=1 <other-properties> ! nvosd ! nveglglessink