Cannot build gstreamer pipeline with tee, appsink and file sink

Hi,

using:
Jetson Orin Nano
Jetpack 5.1.2
L4T 35.4.1
Ubuntu 20.04

I am attempting to build the following pipeline:
video source → tee → video sink
|__-> appsink

each of the pipeline with just one sink, even with the tee works:

# TEE videotestsrc - filesink
gst-launch-1.0 videotestsrc ! tee name=t ! \
queue ! nvvidconv ! 'video/x-raw, format=(string)RGBA' ! nvvidconv ! 'video/x-raw, format=(string)NV12' ! x264enc speed-preset=fast ! h264parse ! qtmux ! filesink location=demoVideos/videotestsrc.mov -e

# TEE videotestsrc - appsink
gst-launch-1.0 videotestsrc ! tee name=t ! \
queue ! nvvidconv ! 'video/x-raw, format=(string)RGBA' ! appsink -e

However, when attaching both sinks to the tee, i’m getting ‘queue_dataflow gstqueue.c:1516:gst_queue_loop: queue is empty’ using GST_DEBUG=3,queue_dataflow:5

gst-launch-1.0 videotestsrc ! tee name=t ! \
queue ! nvvidconv ! 'video/x-raw, format=(string)RGBA' ! nvvidconv ! 'video/x-raw, format=(string)NV12' ! x264enc speed-preset=fast ! h264parse ! qtmux ! filesink location=demoVideos/videotestsrc.mov t. ! \
queue ! nvvidconv ! 'video/x-raw, format=(string)RGBA' ! appsink -e

i’ve tried:

  1. appsink drop=true
  2. increasing queue max-size-buffer
  3. fakesink instead of app sink

Thank you

Hi,
The nvvidconv supports the use-cases:

video/x-raw(memory:NVMM) ! nvvidconv ! video/x-raw
video/x-raw ! nvvidconv ! video/x-raw(memory:NVMM)
video/x-raw(memory:NVMM) ! nvvidconv ! video/x-raw(memory:NVMM)

In your use-case, you don’t need frame data in NVMM buffer, so you may use videoconvert plugin.