-
-
Notifications
You must be signed in to change notification settings - Fork 157
/
pylivestream.json
60 lines (60 loc) · 1.36 KB
/
pylivestream.json
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
57
58
59
60
{
"screencap_origin": [50,30],
"screencap_size": [640, 480],
"screencap_fps": 30,
"camera_size": [640, 480],
"camera_fps": 30,
"audio_rate": 44100,
"audio_bps": 128000,
"preset": "veryfast",
"video_codec": "libx264",
"audio_codec": "aac",
"exe": "ffmpeg",
"ffprobe_exe": "ffprobe",
"win32": {
"video_format": "yuv420p",
"vcap": "gdigrab",
"acap": "dshow",
"hcam": "dshow",
"screen_chan": "desktop",
"camera_chan": "video=Integrated Camera",
"audio_chan": "audio=Internal Microphone"
},
"darwin": {
"video_format": "uyvy422",
"screen_chan": "1:0",
"audio_chan": "default",
"vcap": "avfoundation",
"hcam": "avfoundation"
},
"linux": {
"video_format": "yuv420p",
"camera_chan": "/dev/video0",
"screen_chan": ":0.0",
"audio_chan": "default",
"vcap": "x11grab",
"acap": "pulse",
"hcam": "v4l2"
},
"sites":{
"localhost": {
"keyframe_sec": 2,
"url": "rtmp://localhost"
},
"file": {
"keyframe_sec": 2,
"video_kbps": 2000,
"screencap_size": [640, 480]
},
"facebook": {
"keyframe_sec": 2,
"url": "rtmps://live-api-s.facebook.com:443/rtmp",
"streamid": "xxxx-xxxx-xxxx-xxxx"
},
"youtube": {
"keyframe_sec": 2,
"url": "rtmp://a.rtmp.youtube.com/live2",
"streamid": "xxxx-xxxx-xxxx-xxxx"
}
}
}