AnsweredAssumed Answered

splitmuxsink and imxv4l2sink don't work together

Question asked by yoontaek seo on Oct 11, 2018
Latest reply on Oct 11, 2018 by igorpadykov

Hello,

 

I am using a USB camera with Apalis iMX6D 1GB SOM and ixora v1.1 carrier board.

I'd like to display a streaming video and record in the meantime.

I wonder if imxv4l2sink and splitmuxsink can work together.

If I run this command,

gst-launch-1.0 v4l2src device=/dev/video4 ! video/x-h264,width=1920,height=1080,framerate=30/1 ! vpudec ! tee name=t ! queue ! imxv4l2sink sync=false t. ! queue ! textoverlay text="test" ! imxvideoconvert_ipu composition-meta-enable=true ! vpuenc_h264 ! h264parse ! splitmuxsink location=%d.264 max-size-time=60000000000 &

I can't see any streaming video on screen and the message of v4l2sink need allocate 3 buffers..

But if I replce splitmuxsink with mutifilesink, then I can get a streaming video and see the message of v4l2sink need allocate 3 buffers.. But the recorded file is not playable as you know.

So I wonder if splitmuxsink blocks the imxv4l2sink operation?

Thank you.

Outcomes