...
 
Commits (3)
......@@ -3,4 +3,6 @@ gstreamer:
version: "1.10"
{%- elif grains['osrelease'] == '18.04' %}
version: "1.14"
{%- else %}
version: "1.14"
{%- endif %}
......@@ -17,3 +17,5 @@ base:
- sender
'rna-08':
- sender
'rna-10':
- sender
......@@ -2,3 +2,16 @@ include:
- video
- drone.video-scripts
camera_boot-config_startx:
file.replace:
- name: /boot/config.txt
- pattern: '^.?start_x=.*$'
- repl: 'start_x=1'
- append_if_not_found: True
camera_boot-config_gpumem:
file.replace:
- name: /boot/config.txt
- pattern: '^.?gpu_mem=.*$'
- repl: 'gpu_mem=128'
- append_if_not_found: True
exec env GST_DEBUG=queue_dataflow:6 gst-launch-1.0 \
prrtsrc \
! video/x-h264, stream-format=byte-stream, width=640, \
height=480, framerate=24/1 \
exec env gst-launch-1.0 \
prrtsrc port=6000 \
! video/x-h264, stream-format=byte-stream, width=1280, \
height=720, framerate=30/1 \
! h264parse \
! queue \
! avdec_h264 \
......
raspividyuv -t 0 -w 640 -h 480 -fps 24 -o - |
raspivid -t 0 -w 1280 -h 720 -fps 30 -b 1700000 -o - |
exec env GST_DEBUG=queue_dataflow:6 GST_DEBUG_DUMP_DOT_DIR=/home/rna/dot gst-launch-1.0 \
fdsrc timeout=1000 \
! rawvideoparse format=i420 width=640 height=480 framerate=24/1 \
! queue \
! x264enc speed-preset=ultrafast tune=zerolatency threads=8 bitrate=2048 \
key-int-max=1 byte-stream=true \
! queue \
! prrtsink host=10.8.0.44 port=6000 targetdelay=10000
! prrtsink host=10.8.0.45 port=6000 targetdelay=20000
# GST_DEBUG_DUMP_DOT_DIR=/home/rna/dot
# GST_DEBUG=queue_dataflow:6
......