Questions about how to use .. gstreamer omxh264dec filter

I want to use display and save video.

It will run normally. display video
gst-launch-1.0 -e rtspsrc location=“Ipaddress h.264” ! rtph264depay ! h264parse ! tee name=ta ! queue ! omxh264dec ! videoconvert ! xvimagesink sync=false

but save the video
The problem occurs. do not display video and save video

gst-launch-1.0 -e rtspsrc location="Ipaddress h.264 " ! rtph264depay ! h264parse ! tee name=t ! queue ! omxh264dec ! videoconvert ! xvimagesink sync=false t. ! queue ! mp4mux ! filesink location=test.mp4

but avdec_h264 filter is no problem . is disaplay ans saving video OK!!

gst-launch-1.0 -e rtspsrc location="Ipaddress h.264 " ! rtph264depay ! h264parse ! tee name=t ! queue ! avdec_h264 ! videoconvert ! xvimagesink sync=false t. ! queue ! mp4mux ! filesink location=test.mp4

questions is how to use omxh264dec filter saving and display …

Pease refer to
gst-launch-1.0 filesrc location= videoplayback1_track1.h264 ! tee name=t t. ! queue ! h264parse ! qtmux ! filesink location=a.mp4 t. ! queue ! h264parse ! omxh264dec ! nvoverlaysink