Using a Logitech c930e camera, the pipeline only gets around 8-10fps
the pipeline is as follows:
gst-launch-1.0 v4l2src device=/dev/video0 ! image/jpeg,width=1280,height=720,framerate=24/1 ! nvjpegdec ! nvvideoconvert ! videoflip video-direction=90r ! videoflip video-direction=horiz ! nvvideoconvert ! nvv4l2h264enc ! h264parse ! nvv4l2decoder ! nvvideoconvert ! queue ! fpsdisplaysink text-overlay=true sink=false
any help appreciated
Hi,
You may configure ‘io-mode=2’ and try again.
$ gst-launch-1.0 v4l2src device=/dev/video1 io-mode=2 ! image/jpeg,width=1280,height=720,framerate=24/1 ! nvjpegdec ! fpsdisplaysink text-overlay=false video-sink=fakesink -v
Tried using io-mode=2 (MMAP) and io-mode=4 (DMA Buf) the framerate still seems to be below 10fps.
Hi,
Please check the source
$ gst-launch-1.0 v4l2src device=/dev/video1 io-mode=2 ! image/jpeg,width=1280,height=720,framerate=24/1 ! fpsdisplaysink text-overlay=false video-sink=fakesink -v
Maybe the source is slow?
the source is a logitech c930e camera with 30fps output at 1920x1080.
Below pipeline with videotestsrc ! jpegenc does show 24 FPS
gst-launch-1.0 videotestsrc ! jpegenc ! image/jpeg,width=1280,height=720,framerate=24/1 ! nvjpegdec ! nvvideoconvert ! videoflip video-direction=90r ! videoflip video-direction=horiz ! nvvideoconvert ! nvv4l2h264enc ! h264parse ! nvv4l2decoder ! nvvideoconvert ! queue ! fpsdisplaysink text-overlay=true sink=false
Could you try with different camera src or try to capture with lower resolution?