forked from gehee/FPVue_rk
-
Notifications
You must be signed in to change notification settings - Fork 1
/
run_help.sh
executable file
·19 lines (15 loc) · 1.11 KB
/
run_help.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#b!in/bash
# H264
#gst-launch-1.0 videotestsrc ! video/x-raw, format=I420,width=1280,height=720,framerate=30/1 ! x264enc bitrate=5000 speed-preset=ultrafast tune=zerolatency key-int-max=30 ! queue ! h264parse config-interval=-1 ! \
#video/x-h264,stream-format=byte-stream,alignment=au ! \
#fdsink fd=1 | ./build/fpvue --rmode 5
# H265
#gst-launch-1.0 videotestsrc ! video/x-raw, format=I420,width=1280,height=720,framerate=30/1 ! x265enc bitrate=5000 speed-preset=ultrafast tune=zerolatency key-int-max=30 ! queue ! h265parse config-interval=-1 ! \
#fdsink fd=1 | ./build/fpvue --h265 --rmode 5
# H264 udp
gst-launch-1.0 udpsrc port=5600 caps='application/x-rtp, payload=(int)96, clock-rate=(int)90000, media=(string)video, encoding-name=(string)H264' ! rtph264depay ! h264parse config-interval=1 ! \
video/x-h264,stream-format=byte-stream,alignment=au ! \
fdsink fd=1 sync=false | ./build/fpvue --rmode 5
# H265 udp
#gst-launch-1.0 udpsrc port=5600 caps = "application/x-rtp, media=(string)video, encoding-name=(string)H265" ! rtph265depay ! h265parse config-interval=-1 ! \
#fdsink fd=1 | ./build/fpvue --rmode 0 --h265