Hi guys,
I am using GStreamer on Jetson TX1 to decode rtsp stream and having some troubles with fps.
If video frame 800х600 everything looks pretty nice with 30 fps, but if frame size is 1200х800 fps drops to 15.
Here is my pipeline, any ideas how to speed it up?
gst-launch-1.0 rtspsrc location="rtsp://b1.dnsdojo.com:1935/live/sys3.stream" ! rtph264depay ! h264parse ! omxh264dec ! nvvidconv ! "video/x-raw, format=(string)RGBA" ! fpsdisplaysink video-sink=fakesink
Hi,
You may run
gst-launch-1.0 rtspsrc location="rtsp://b1.dnsdojo.com:1935/live/sys3.stream" ! rtph264depay ! h264parse ! omxh264dec ! fpsdisplaysink video-sink=nvoverlaysink text-overlay=false
DaneLLL, thanks for your reply. This pipeline still have 14-15 fps.
Here is log
gst-launch-1.0 rtspsrc location="rtsp://b1.dnsdojo.com:1935/live/sys3.stream" ! rtph264depay ! h264parse ! omxh264dec ! fpsdisplaysink video-sink=nvoverlaysink text-overlay=false
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtsp://b1.dnsdojo.com:1935/live/sys3.stream
(gst-launch-1.0:20824): dconf-CRITICAL **: unable to create file '/home/ubuntu/.cache/dconf/user': Permission denied. dconf will not work properly.
(gst-launch-1.0:20824): dconf-CRITICAL **: unable to create file '/home/ubuntu/.cache/dconf/user': Permission denied. dconf will not work properly.
(gst-launch-1.0:20824): dconf-CRITICAL **: unable to create file '/home/ubuntu/.cache/dconf/user': Permission denied. dconf will not work properly.
(gst-launch-1.0:20824): dconf-CRITICAL **: unable to create file '/home/ubuntu/.cache/dconf/user': Permission denied. dconf will not work properly.
(gst-launch-1.0:20824): dconf-CRITICAL **: unable to create file '/home/ubuntu/.cache/dconf/user': Permission denied. dconf will not work properly.
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
Progress: (request) SETUP stream 0
Progress: (open) Opened Stream
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Progress: (request) Sending PLAY request
Progress: (request) Sending PLAY request
Progress: (request) Sent PLAY request
NvMMLiteOpen : Block : BlockType = 261
TVMR: NvMMLiteTVMRDecBlockOpen: 7647: NvMMLiteBlockOpen
NvMMLiteBlockCreate : Block : BlockType = 261
TVMR: cbBeginSequence: 1179: BeginSequence 1280x720, bVPR = 0
TVMR: LowCorner Frequency = 100000
TVMR: cbBeginSequence: 1529: DecodeBuffers = 2, pnvsi->eCodec = 4, codec = 0
TVMR: cbBeginSequence: 1600: Display Resolution : (1280x720)
TVMR: cbBeginSequence: 1601: Display Aspect Ratio : (1280x720)
TVMR: cbBeginSequence: 1669: ColorFormat : 5
TVMR: cbBeginSequence:1674 ColorSpace = NvColorSpace_YCbCr709_ER
TVMR: cbBeginSequence: 1809: SurfaceLayout = 3
TVMR: cbBeginSequence: 1902: NumOfSurfaces = 9, InteraceStream = 0, InterlaceEnabled = 0, bSecure = 0, MVC = 0 Semiplanar = 1, bReinit = 1, BitDepthForSurface = 8 LumaBitDepth = 8, ChromaBitDepth = 8, ChromaFormat = 5
TVMR: cbBeginSequence: 1904: BeginSequence ColorPrimaries = 1, TransferCharacteristics = 1, MatrixCoefficients = 1
Allocating new output: 1280x720 (x 9), ThumbnailMode = 0
OPENMAX: HandleNewStreamFormat: 3464: Send OMX_EventPortSettingsChanged : nFrameWidth = 1280, nFrameHeight = 720
TVMR: FrameRate = 29
TVMR: NVDEC LowCorner Freq = (96666 * 1024)
(gst-launch-1.0:20824): dconf-CRITICAL **: unable to create file '/home/ubuntu/.cache/dconf/user': Permission denied. dconf will not work properly.
(gst-launch-1.0:20824): dconf-CRITICAL **: unable to create file '/home/ubuntu/.cache/dconf/user': Permission denied. dconf will not work properly.
(gst-launch-1.0:20824): dconf-CRITICAL **: unable to create file '/home/ubuntu/.cache/dconf/user': Permission denied. dconf will not work properly.
(gst-launch-1.0:20824): dconf-CRITICAL **: unable to create file '/home/ubuntu/.cache/dconf/user': Permission denied. dconf will not work properly.
(gst-launch-1.0:20824): dconf-CRITICAL **: unable to create file '/home/ubuntu/.cache/dconf/user': Permission denied. dconf will not work properly.
TVMR: FrameRate = 14.987313
TVMR: FrameRate = 15.019661
TVMR: FrameRate = 14.805186
TVMR: FrameRate = 14.993875
TVMR: FrameRate = 14.970037
TVMR: FrameRate = 14.979545
TVMR: FrameRate = 15.030429
Hi,
TVMR: FrameRate = 14.987313
The print shows your source operates in 15fps. You may check if your source can run in 30fps.