Наработки за 5 лет
This commit is contained in:
19
HXcam/mainCam
Executable file
19
HXcam/mainCam
Executable file
@@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
# Logitec C920
|
||||
# 1280x800:30
|
||||
|
||||
# RTSP
|
||||
cvlc 'v4l2:///dev/video0:chroma=H264:width=1280:height=720:fps=15' --sout '#rtp{sdp=rtsp://:8554/video}' -v --live-caching 50
|
||||
|
||||
# MP4
|
||||
#cvlc 'v4l2:///dev/video0:chroma=H264:width=1280:height=720:fps=15' --sout '#http{mux=ts,dst=:8080/main.mp4}' -v --live-caching 50
|
||||
|
||||
# OGG
|
||||
#cvlc 'v4l2:///dev/video0:chroma=H264:width=1280:height=720:fps=15' --sout '#transcode{vcodec=theora}:http{mux=ogg,dst=:8080/main.ogg}' -v --live-caching 50
|
||||
|
||||
# ASF
|
||||
#cvlc 'v4l2:///dev/video0:chroma=H264:width=1280:height=720:fps=15' --sout '#http{mux=asf,dst=:8080/}' -v --live-caching 50
|
||||
|
||||
#v4l2-ctl --device=/dev/video1 --set-fmt-video=width=1280,height=720,pixelformat=1
|
||||
|
||||
#ffmpeg -r 15 -use_wallclock_as_timestamps 1 -copytb 0 -f v4l2 -vcodec h264 -i /dev/video1 -vcodec copy -f rtsp rtsp://:8554/video
|
||||
Reference in New Issue
Block a user