-
Notifications
You must be signed in to change notification settings - Fork 7
/
fmp4streamer.conf.dist
56 lines (42 loc) · 1.55 KB
/
fmp4streamer.conf.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
[server]
listen =
port = 8000
[/dev/video0]
width = 640
height = 480
fps = 30
# Device capture format (default: H264)
# H264, MJPGH264, YUYV, MJPG, JPEG
# capture_format = H264
# Decoder M2M device (default: disabled)
# To decode the stream to a compatible format with the encoder (eg MJPG -> NV12 -> H264)
# decoder = /dev/video10
# Encoder M2M device (default: disabled)
# To encode the stream to H264 (eg YUYV -> H264 or MJPG -> NV12 -> H264)
# encoder = /dev/video11
# Auto Sleep mode (default: yes)
# Sleep the camera when no one is watching the stream
# auto_sleep = yes
# Sets the MP4 TRAK rotation matrix (default: 0)
# 0, 90, 180, 270
# rotation = 0
# Controls
# you can set any V4L2 control too, list them with the -l option
h264_profile = High
h264_level = 4.2
h264_i_frame_period = 15
uvcx_h264_i_frame_period = 1000
uvcx_h264_profile = High
# Advanced (change only if you know, what you are doing)
# Buffer memory configurations (MMAP or DMABUF)
# Sometimes contigous memory is not large enough for hardwares and tuning needed
# default: DMABUF if encoder or decoder else MMAP
# capture_memory = DMABUF
# decoder_memory = MMAP-DMABUF
# encoder_memory = MMAP-MMAP
# Input format for the decoder (default: MJPG if capture_format == JPEG else capture_format)
# If the capture_format isn't supported by the decoder directly,
# but it can decode it with another format eg (capture_format = JPEG, decoder_input_format = MJPG)
# decoder_input_format = MJPG
# Input format for the encoder (default: NV12 if decoder else capture_format)
# encoder_input_format = NV12