1 Star 0 Fork 64

KevinXiwen / aquila

forked from gozfree / aquila 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
aquila.lua 1.74 KB
一键复制 编辑 原始数据 按行查看 历史
gozfree 提交于 2020-12-27 02:53 . playback on sdl ok
aquila_global = {
videocap = {
type = "usbcam",
device = "/dev/video0",
format = "YUY2",
width = 640,
height = 480,
fps = {num = 30, den = 1},
},
audiocap = {
type = "alsa",
},
videoenc = {
--type supported: mjpeg/x264
--type = "mjpeg",
type = "x264",
format = "YUY2",
width = 640,
height = 480,
},
vdecode = {
type = "h264dec",
},
overlay = {
type = "timestamp",
offsetx = 0,
offsety = 0,
switch = "on",
},
record = {
type = "mp4",
file = "test.mp4",
},
playback = {
-- type supported sdl/snkfake
--type = "snkfake",
--format = "file",
type = "sdl",
--format = "rgb",
format = "yuv",
width = 640,
height = 480,
},
upstream = {
type = "rtmp",
port = 554;
},
filters = {
"videocap",
"videoenc",
--"vdecode",
--"playback",
--"upstream",
"record",
},
graphs = {
{
source = "videocap",
sink = "videoenc",
},
{
source = "videoenc",
sink = "record",
},
},
}
return aquila_global
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/KevinXiwen/aquila.git
git@gitee.com:KevinXiwen/aquila.git
KevinXiwen
aquila
aquila
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891