set H264 in arm base.
This commit is contained in:
parent
b6c032921d
commit
24699ec512
@ -119,6 +119,7 @@ ENV NEKO_BIND=:8080
|
|||||||
|
|
||||||
#
|
#
|
||||||
# custom arm values -> video pipeline with GPU encoding
|
# custom arm values -> video pipeline with GPU encoding
|
||||||
|
ENV NEKO_H264=1
|
||||||
ENV NEKO_VIDEO='ximagesrc display-name=%s use-damage=0 show-pointer=true use-damage=false ! video/x-raw,framerate=30/1 ! videoconvert ! queue ! video/x-raw,framerate=30/1,format=NV12 ! v4l2h264enc extra-controls="controls,h264_profile=0,video_bitrate=1250000;" ! h264parse config-interval=3 ! video/x-h264,profile=baseline,stream-format=byte-stream'
|
ENV NEKO_VIDEO='ximagesrc display-name=%s use-damage=0 show-pointer=true use-damage=false ! video/x-raw,framerate=30/1 ! videoconvert ! queue ! video/x-raw,framerate=30/1,format=NV12 ! v4l2h264enc extra-controls="controls,h264_profile=0,video_bitrate=1250000;" ! h264parse config-interval=3 ! video/x-h264,profile=baseline,stream-format=byte-stream'
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -188,7 +188,7 @@ services:
|
|||||||
# increase on rpi's with more then 1gb ram.
|
# increase on rpi's with more then 1gb ram.
|
||||||
shm_size: "520mb"
|
shm_size: "520mb"
|
||||||
ports:
|
ports:
|
||||||
- "8084:8080"
|
- "8088:8080"
|
||||||
- "52000-52100:52000-52100/udp"
|
- "52000-52100:52000-52100/udp"
|
||||||
# this is important since we need a GPU for hardware acceleration alternatively mount the devices into the docker.
|
# this is important since we need a GPU for hardware acceleration alternatively mount the devices into the docker.
|
||||||
privileged: true
|
privileged: true
|
||||||
@ -197,8 +197,7 @@ services:
|
|||||||
NEKO_PASSWORD: 'neko'
|
NEKO_PASSWORD: 'neko'
|
||||||
NEKO_PASSWORD_ADMIN: 'admin'
|
NEKO_PASSWORD_ADMIN: 'admin'
|
||||||
NEKO_EPR: 52000-52100
|
NEKO_EPR: 52000-52100
|
||||||
NEKO_H264: 1
|
# optional: change target bitrate and framerate on this parameter.
|
||||||
# optional: Change target bitrate and framerate on this parameter.
|
|
||||||
NEKO_VIDEO: |
|
NEKO_VIDEO: |
|
||||||
ximagesrc display-name=%s use-damage=0 show-pointer=true use-damage=false
|
ximagesrc display-name=%s use-damage=0 show-pointer=true use-damage=false
|
||||||
! video/x-raw,framerate=30/1
|
! video/x-raw,framerate=30/1
|
||||||
|
Reference in New Issue
Block a user