-
Notifications
You must be signed in to change notification settings - Fork 0
/
直播推流.txt
27 lines (16 loc) · 1.6 KB
/
直播推流.txt
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
打开直播流
ffmpeg -f dshow -i video='@device_pnp_\\?\usb#vid_04f2&pid_b67c&mi_00#6&26fcf372&1&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global' -f dshow -i audio='@device_cm_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\wave_{4AEC28D7-6B71-40EA-9CE2-8BED96C1541C}' -vcodec libx264 -preset:v ultrafast -tune:v zerolatency -f flv rtmp://localhost:1935/myapp/video
ffmpeg -f dshow -i video='@device_pnp_\\?\usb#vid_04f2&pid_b67c&mi_00#6&26fcf372&1&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global' -r 30 -vcodec libx264 -preset:v ultrafast -tune:v zerolatency -f flv -bufsize 100k rtmp://localhost:1935/myapp/yw
ffmpeg -f gdigrab -i desktop -vcodec libx264 -preset:v ultrafast -pix_fmt yuv420p -acodec aac -f flv rtmp://localhost:1935/myapp/STREAM_NAME
20.249.103.98
http://127.0.0.1:80/live?port=1935&app=myapp&stream=video
start nginx -c conf/http-flv.conf
nginx -s stop -c conf/http-flv.conf
redis-server.exe redis.windows.conf
python -u "e:\DeskTop\flask\app.py"
ffmpeg -list_devices true -f dshow -i dummy
ffmpeg -f dshow -i video='Integrated Camera' -f dshow -i audio='@device_cm_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\wave_{4AEC28D7-6B71-40EA-9CE2-8BED96C1541C}' -vcodec libx264 -preset:v ultrafast -tune:v zerolatency -f flv rtmp://127.0.0.1:1935/myapp/video
pyinstaller --hidden-import=requests E:\DeskTop\flask\OBS\Main.py
scp C:\.ssh\id_rsa.pub [email protected]:~
ssh [email protected] "mkdir -p ~/.ssh && chmod 700 ~/.ssh && cat ~/id_rsa.pub >> ~/.ssh/authorized_keys && chmod 600 ~/.ssh/authorized_keys && rm -f ~/id_rsa.pub"