Los Piratas del FTA

donaciones BTC: 33WxfNYutrPhhZ1SPyxos3Mmuthjuzb82x

Herramientas de usuario

Herramientas del sitio


Barra lateral

pc:jetson:camara:gst:comandos

test camera, resize

gst-launch-1.0 nvarguscamerasrc ! 'video/x-raw(memory:NVMM),width=3820, height=2464, framerate=21/1, format=NV12' ! nvvidconv flip-method=0 ! 'video/x-raw,width=960, height=616' ! nvvidconv ! nvegltransform ! nveglglessink -e

test camera full

gst-launch-1.0 nvarguscamerasrc  ! 'video/x-raw(memory:NVMM),width=3820, height=2464, framerate=21/1, format=NV12' ! nvvidconv ! nvegltransform ! nveglglessink -e

gst-launch-1.0 -ev nvarguscamerasrc ! nvvidconv ! ximagesink

test pattern

gst-launch-1.0 videotestsrc pattern=24 ! nveglglessink -e

udp unicast

gst-launch-1.0 nvarguscamerasrc ! 'video/x-raw(memory:NVMM), width=1920, height=1080, framerate=30/1' ! nvv4l2h264enc bitrate=8000000 insert-sps-pps=true ! h264parse ! mpegtsmux ! rtpmp2tpay ! udpsink host=127.0.0.1 port=5004

recording .h264

gst-launch-1.0 -v ximagesrc use-damage=0 ! nvvidconv ! 'video/x-raw(memory:NVMM),alignment=(string)au,format=(string)I420,framerate=(fraction)25/1,pixel-aspect-ratio=(fraction)1/1' ! omxh264enc ! 'video/x-h264,stream-format=(string)byte-stream' ! filesink location="test.h264" -e

udp streaming

gst-launch-1.0 nvarguscamerasrc ! 'video/x-raw(memory:NVMM), width=1920, height=1080, framerate=30/1' ! nvv4l2h264enc bitrate=8000000 insert-sps-pps=true !  mpegtsmux ! rtpmp2tpay ! udpsink host=172.16.0.118 port=5000

test patern test streaming

gst-launch-1.0 videotestsrc is-live=true ! video/x-raw,framerate=25/1 ! videoconvert ! x264enc ! h264parse ! rtph264pay pt=96 ! udpsink host=172.16.0.118 port=5000

vlc

gst-launch-1.0 videotestsrc ! x264enc ! h264parse ! rtph264pay config-interval=10 pt=96 ! udpsink host=172.16.0.118 port=5000

$ cat test.sdp
v=0
m=video 5000 RTP/AVP 96
c=IN IP4 127.0.0.1
a=rtpmap:96 H264/90000


gst-launch-1.0 nvarguscamerasrc ! 'video/x-raw(memory:NVMM), width=1920, height=1080, framerate=30/1' ! nvv4l2h264enc bitrate=8000000 insert-sps-pps=true ! h264parse ! rtph264pay config-interval=10 pt=96 ! udpsink host=172.16.0.118 port=5000

gst-launch-1.0 -v ximagesrc use-damage=0 ! nvvidconv ! 'video/x-raw(memory:NVMM),alignment=(string)au,format=(string)I420,framerate=(fraction)25/1,pixel-aspect-ratio=(fraction)1/1' ! nvv4l2h264enc bitrate=8000000 insert-sps-pps=true ! h264parse ! rtph264pay config-interval=10 pt=96 ! udpsink host=172.16.0.118 port=5000

gst-launch-1.0 -v ximagesrc use-damage=0 ! nvvidconv ! 'video/x-raw(memory:NVMM),width=3820, height=2464, framerate=30/1, format=NV12' ! nvv4l2h264enc bitrate=8000000 insert-sps-pps=true ! h264parse ! rtph264pay config-interval=10 pt=96 ! udpsink host=172.16.0.118 port=5000
pc/jetson/camara/gst/comandos.txt · Última modificación: 2019/12/28 14:44 por admin