Changes

Jump to navigation Jump to search
Line 13: Line 13:  
It is connected as shown in figure (TODO).
 
It is connected as shown in figure (TODO).
   −
==== NVIDIA TX2 AGX Xavier ====
+
====NVIDIA TX2 AGX Xavier====
 
<br />
 
<br />
 
===Upgrade Jetson TX2 and AGX Xavier system===
 
===Upgrade Jetson TX2 and AGX Xavier system===
Line 79: Line 79:     
<code>sudo ./flash.sh jetson-xavier mmcblk0p1</code>
 
<code>sudo ./flash.sh jetson-xavier mmcblk0p1</code>
====Download out bsp package for Jetson ====
+
====Download out bsp package for Jetson====
 
<code>cd $L4T_DIR</code>
 
<code>cd $L4T_DIR</code>
   Line 154: Line 154:  
=====Build DTS=====
 
=====Build DTS=====
   −
* patch code
+
*patch code
    
''- Jetson TX2''
 
''- Jetson TX2''
Line 234: Line 234:     
<code>gst-launch-1.0 v4l2src ! "video/x-raw,format=(string)UYVY, width=(int)1280, height=(int)720, framerate=(fraction)60/1" ! nvvidconv ! "video/x-raw(memory:NVMM),format=(string)I420" ! nvoverlaysink sync=false</code>
 
<code>gst-launch-1.0 v4l2src ! "video/x-raw,format=(string)UYVY, width=(int)1280, height=(int)720, framerate=(fraction)60/1" ! nvvidconv ! "video/x-raw(memory:NVMM),format=(string)I420" ! nvoverlaysink sync=false</code>
 +
 +
* Preview 2 cameras  1080p HD(HW accelerated)
 +
 +
<code>WIDTH=1920</code>
 +
 +
<code>HEIGHT=1080</code>
 +
 +
<code>CAPS="video/x-raw,format=(string)UYVY, width=$WIDTH, height=$HEIGHT"</code>
 +
 +
<code>gst-launch-1.0 nvcompositor name=comp sink_0::xpos=0 sink_0::ypos=0 sink_0::width=$WIDTH sink_0::height=$HEIGHT sink_1::xpos=$WIDTH sink_1::ypos=0 sink_1::width=$WIDTH sink_1::height=$HEIGHT ! nvoverlaysink v4l2src device=/dev/video0 ! $CAPS ! nvvidconv ! "video/x-raw(memory:NVMM),format=(string)I420"! comp. v4l2src device=/dev/video1 ! $CAPS ! nvvidconv ! "video/x-raw(memory:NVMM),format=(string)I420"! comp.</code>
    
*Record FHD in H.264 format to a video file(HW accelerated)
 
*Record FHD in H.264 format to a video file(HW accelerated)

Navigation menu