DeepStream3.0: error after playing my pipeline

i have 2 questions plz.
firstly,i play my pipeline with this.but something wrong happens(Got EOS from element “pipeline0”),how can i resolve this?

gst-launch-1.0 -v uridecodebin uri=file:///home/vapd/deepstream-test3/sample_720p.mp4 ! nv.sink_01 nvstreammux name=nv width=1920 height=1080 batch-size=4 ! nvvidconv ! "video/x-raw(memory:NVMM),format=(string)RGBA" ! fakesink

secondly,after nvvidconv element,i want to know the stream-id about every frame from src_pad’s probe,how can i get the correct stream-id?it seen that stream-id always is 0;and nvstreammux must be set width and weight,is it said that i can’t get different resolution frame?

thanks u!

streammux does not support batch for one source. It will pad null frame for one batch if the source number is less than batch size.

GstNvStreamMeta->stream_id can get the stream id. You can use streamDemux to get which stream is off.

Yes. Streammux can’t output different resolution frames.