Hi,
I met a confusing problem. Here is my application setup:
On TX2, my app is running this pipeline ‘rtspsrc ! queue ! rtph264depay ! h264parse ! queue ! omxh264dec ! nvvidconv ! appsink’ for connecting and decoding a rtsp stream. which is 1920x1080, 25fps, h264 encoded bitrate=4M.
And then, after processing the raw frames, my app encoded it and push out a rtmp stream. The pipeline is ‘appsrc ! videoconvert ! omxh264enc ! flvmux ! rtmpsink’. The rtmp stream is 960x540, 25fps and connected by a laptop.
I run ifstat on TX2 and got following result:
eth0 wlan0 usb0 usb1 l4tbr0
KB/s in KB/s out KB/s in KB/s out KB/s in KB/s out KB/s in KB/s out KB/s in KB/s out
549.51 4864.77 0.09 0.00 0.00 0.00 0.00 0.00 0.00 0.00
547.98 4977.31 0.09 0.00 0.00 0.00 0.00 0.00 0.00 0.00
552.00 4980.81 0.09 0.00 0.00 0.00 0.00 0.00 0.00 0.00
542.93 5011.51 0.09 0.00 0.00 0.00 0.00 0.00 0.00 0.00
544.29 4732.97 0.09 0.00 0.00 0.00 0.00 0.00 0.00 0.00
558.56 5039.65 0.09 0.00 0.00 0.00 0.00 0.00 0.00 0.00
562.99 4861.73 0.09 0.00 0.00 0.00 0.00 0.00 0.00 0.00
564.87 4813.34 0.09 0.00 0.00 0.00 0.00 0.00 0.00 0.00
558.69 6094.50 0.09 0.00 0.00 0.00 0.00 0.00 0.00 0.00
Which means the input rtsp stream consume 500KB/s, but the output rtmp stream consume 5000KB/s.
I’m confused and do not know why.
I tried to adjust some config of omx264enc, but didn’t work out.
Any help would be appreciated.
Tks.