Multimedia User Guide (UG1449)

Document ID
Release Date
1.4 English

Use the gdb command for general debugging.

Run the application using the following command:

gdb –args gst-launch-1.0 v4l2src io-mode=4 device=/dev/video0 
! video/x-raw, width=3840,height=2160, format=NV12, framerate=60/1 ! omxh265enc 
qp-mode=auto gop-mode=low-delay-p gop-length=60 periodicity-idr=60 b-frames=0 
target-bitrate=60000 num-slices=8 control-rate=low-latency prefetch-buffer=TRUE 
low-bandwidth=false filler-data=0 cpb-size=1000 initial-delay=500 ! video/x-h265, 
alignment=nal ! queue max-size-buffers=0 ! rtph265pay ! udpsink host= 
port=5004 buffer-size=60000000 max-bitrate=120000000 max-lateness=-1 
qos-dscp=60 async=false

The command provides the gdb shell. Type run to execute the application.


To debug, use the backtrace function to view the last function flow.