DM365 LeopardBoard network video streaming latency test

From RidgeRun Developer Connection

(Difference between revisions)
Jump to:navigation, search
m (GStreamer pipelines)
m (RidgeRun digital camera based latency results)
Line 58: Line 58:
 +
== Post power-on commands ==
 +
 +
<pre>
 +
inetd
 +
loadmodules.sh
 +
</pre>
 +
 +
Telnet to the target hardware and run top if you are interested in monitoring the ARM CPU load.
[[Category:DM36x]] [[Category:LeopardBoard]] [[Category:GStreamer]]
[[Category:DM36x]] [[Category:LeopardBoard]] [[Category:GStreamer]]

Revision as of 16:14, 1 March 2011

A simple test to get a feel for the amount of latency when RTP network streaming live video from a LeopardBoard 365 to a PC.

Contents

Bootloader, kernel, filesystem

The RidgeRun professional SDK using the DDOMPE branch for the hardware accelerated TI DMAI GStreamer plug-in.

Image loading instructions

U-boot parameter setup instructions

Output from successful boot

Loaded modules

modprobe cmemk phys_start=0x84200000 phys_end=0x88000000 pools=1x524288,1x81920,2x8192,6x4096,8x96,64x56,1x2938880,4x675840,1x75840,4x1548288,1x33077952,15x12allocated heap buffer 0xc8000000 of size 0x43000
53376
modprobe edmak.ko
modprobe irqk
modprobe dm365mmap.ko

GStreamer pipelines

Video only pipelines

DM365 sending video only pipeline

export HOST_IP=10.111.0.4

gst-launch -v -e \
   v4l2src chain-ipipe=true always-copy=false ! \
   video/x-raw-yuv,format=\(fourcc\)NV12, width=1280, height=720, framerate=\(fraction\)23/1 ! \
   dmaiaccel ! \
   dmaiperf ! \
   queue ! \
   dmaienc_h264 ! \
   rtph264pay ! \
   udpsink host=$HOST_IP port=10000

PC receiving video only pipeline

gst-launch -v \
   udpsrc port=10000 caps='application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, profile-level-id=(string)640028, sprop-parameter-sets=(string)\"J2QAKK2IDkOYIOEMKQpEByHMEHCGFIUiA5DmCDhDCkKQwEIYwhxmMhCGAhDGEOMxkIQwEIYwhxmMhCICEZjOI8KfEfiP4j8R8R4ziMREQoEIjEcR4j5PxH8n5PiPEcRkiLQCgC3I\\,KO48sA\\=\\=\", payload=(int)96, ssrc=(guint)3543977897, clock-base=(guint)3621356901, seqnum-base=(guint)9820' ! \
   rtph264depay ! \
   ffdec_h264 ! \
   ffmpegcolorspace ! \
   ximagesink

RidgeRun digital camera based latency results

Post power-on commands

inetd
loadmodules.sh

Telnet to the target hardware and run top if you are interested in monitoring the ARM CPU load.

Navigation
Toolbox