This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tips:gstreamer [2019/10/16 13:45] – [gstreamer] scipio | tips:gstreamer [2023/11/16 11:42] (current) – [gstream jetson] sscipioni | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== gstream jetson ====== | ||
| + | |||
| + | |||
| + | |||
| + | orin native | ||
| + | <code bash> | ||
| + | URL=rtsp:// | ||
| + | # | ||
| + | gst-launch-1.0 rtspsrc location=$URL protocols=tcp latency=0 ! rtph264depay ! queue ! h264parse ! nvv4l2decoder ! nvvideoconvert ! autovideosink | ||
| + | </ | ||
| + | |||
| + | deepstream amd64 | ||
| + | <code bash> | ||
| + | URL=rtsp:// | ||
| + | |||
| + | </ | ||
| + | |||
| + | nvv4l2h264enc | ||
| + | < | ||
| + | gst-launch-1.0 videotestsrc is-live=1 ! nvvidconv ! nvv4l2h264enc ! h264parse ! matroskamux ! filesink location=/ | ||
| + | </ | ||
| + | |||
| + | |||
| ====== gstreamer ====== | ====== gstreamer ====== | ||
| Line 49: | Line 72: | ||
| ===== ocam camera ===== | ===== ocam camera ===== | ||
| + | |||
| + | [[https:// | ||
| identify | identify | ||
| Line 83: | Line 108: | ||
| Interval: | Interval: | ||
| </ | </ | ||
| + | |||
| + | < | ||
| + | v4l2-ctl -d /dev/video0 --list-ctrls | ||
| + | white_balance_red_component 0x0098090e (int) : min=0 max=250 step=1 default=100 value=100 | ||
| + | | ||
| + | gain 0x00980913 (int) : min=0 max=255 step=1 default=64 value=64 | ||
| + | exposure_auto 0x009a0901 (menu) | ||
| + | exposure_absolute 0x009a0902 (int) : min=1 max=1000 step=1 default=55 value=128 | ||
| + | </ | ||
| + | |||
| < | < | ||
| Line 98: | Line 133: | ||
| </ | </ | ||
| + | save to file with h264 encode | ||
| + | < | ||
| + | gst-launch-1.0 -e v4l2src device=/ | ||
| + | </ | ||