Gstreamer using nvcomposer to filesink hangs, but nvcomposer to nvoverlaysink works fine

Hi,
We try with videotestsrc and the mp4 looks OK. Please try

gst-launch-1.0 \
videotestsrc is-live=1 num-buffers=100 ! 'video/x-raw,width=1920,height=1080,framerate=30/1' ! nvvidconv ! 'video/x-raw(memory:NVMM),format=RGBA' ! comp.sink_0  \
videotestsrc is-live=1 num-buffers=100 pattern=1 ! 'video/x-raw,width=640,height=480,framerate=30/1' !  nvvidconv ! 'video/x-raw(memory:NVMM),format=RGBA' ! comp.sink_1 \
nvcompositor name=comp sink_1::xpos=1270 sink_1::ypos=10 sink_0::xpos=50 sink_0::ypos=50 ! \
nvvidconv ! nvv4l2h264enc maxperf-enable=1 bitrate=4000000 profile=4 ! h264parse ! qtmux ! filesink location=videotestsrc_rgba.mp4 -e

Probably certain issue is in the v4l2 sources. Do you get expect result in using nvoverlaysink?