Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
张艾宸
/
webScreen
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
李勇
2 months ago
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
34404626d67997580ad1239c2210cf9a584589e9
34404626
1 parent
ff18145f
增加音频参数
隐藏空白字符变更
内嵌
并排对比
正在显示
3 个修改的文件
包含
3 行增加
和
3 行删除
routes/bbgRecording.js
routes/bbgRecording_1.js
routes/index.js
routes/bbgRecording.js
查看文件 @
3440462
...
...
@@ -63,7 +63,7 @@ class MediaCreat {
// if(!duration){
// duration = BACKMEDIACONFIG.d
// }
let
url
=
`
$
{
PROJECTWINCATALOG
}
/web_capture_c -o=${ymdDir}/
$
{
id
}.
mp4
-
u
=
"${classUrl}"
-
d
=
$
{
duration
}
-
s
=
$
{
BACKMEDIACONFIG
.
s
}
-
k
=
$
{
BACKMEDIACONFIG
.
k
}
-
w
=
$
{
width
}
-
h
=
$
{
height
}
-
fa
=
$
{
frameRate
}
-
vb
=
$
{
bitrate
}
`
let
url
=
`
$
{
PROJECTWINCATALOG
}
/web_capture_c -o=${ymdDir}/
$
{
id
}.
mp4
-
u
=
"${classUrl}"
-
d
=
$
{
duration
}
-
s
=
$
{
BACKMEDIACONFIG
.
s
}
-
k
=
$
{
BACKMEDIACONFIG
.
k
}
-
w
=
$
{
width
}
-
h
=
$
{
height
}
-
fa
=
$
{
frameRate
}
-
vb
=
$
{
bitrate
}
-
ar
=
44100
`
this
.
wrieLog
(
"全地址"
+
url
)
exec
(
url
,
{
maxBuffer
:
1073741824
},
(
err
,
stdout
,
stderr
)
=>
{
if
(
err
!=
null
)
{
...
...
routes/bbgRecording_1.js
查看文件 @
3440462
...
...
@@ -57,7 +57,7 @@ class MediaCreat {
// if(!duration){
// duration = BACKMEDIACONFIG.d
// }
let
url
=
`
$
{
PROJECTWINCATALOG
}
/web_capture_c -o=${ymdDir}/
$
{
id
}.
mp4
-
u
=
"${classUrl}"
-
d
=
$
{
duration
}
-
s
=
$
{
BACKMEDIACONFIG
.
s
}
-
k
=
$
{
BACKMEDIACONFIG
.
k
}
-
w
=
$
{
width
}
-
h
=
$
{
height
}
-
fa
=
$
{
frameRate
}
-
vb
=
$
{
bitrate
}
`
let
url
=
`
$
{
PROJECTWINCATALOG
}
/web_capture_c -o=${ymdDir}/
$
{
id
}.
mp4
-
u
=
"${classUrl}"
-
d
=
$
{
duration
}
-
s
=
$
{
BACKMEDIACONFIG
.
s
}
-
k
=
$
{
BACKMEDIACONFIG
.
k
}
-
w
=
$
{
width
}
-
h
=
$
{
height
}
-
fa
=
$
{
frameRate
}
-
vb
=
$
{
bitrate
}
-
ar
=
44100
`
this
.
wrieLog
(
"测试全地址"
+
url
)
exec
(
url
,
{
maxBuffer
:
1073741824
},
(
err
,
stdout
,
stderr
)
=>
{
if
(
err
!=
null
)
{
...
...
routes/index.js
查看文件 @
3440462
...
...
@@ -133,7 +133,7 @@ class MediaCreat {
// export DISPLAY=:7
// let url = `${path.resolve(__dirname, PROJECTWINCATALOG+"/web_capture_c")} -o=${ymdDir}/${id}.mp4 -u="${BACKMEDIACONFIG.url}?classId=${id}&recordMp4=${BACKMEDIACONFIG.recordMp4}&userId=${BACKMEDIACONFIG.userId}&userName=${BACKMEDIACONFIG.userName}&userRole=${BACKMEDIACONFIG.userRole}&portalIP=${BACKMEDIACONFIG.portalIP}&portalPort=${BACKMEDIACONFIG.portalPort}&channels=${BACKMEDIACONFIG.channels}&playRecord=${BACKMEDIACONFIG.playRecord}" -d=${BACKMEDIACONFIG.d} -s=${BACKMEDIACONFIG.s} -fa=${BACKMEDIACONFIG.fa} -k=${BACKMEDIACONFIG.k} -w=${BACKMEDIACONFIG.w} -h=${BACKMEDIACONFIG.h}`
// console.log("url", url)
let
url
=
`
$
{
PROJECTWINCATALOG
}
/web_capture_c -o=${ymdDir}/
$
{
id
}.
mp4
-
u
=
"${BACKMEDIACONFIG.url}?classId=${id}&recordMp4=${BACKMEDIACONFIG.recordMp4}&userId=${BACKMEDIACONFIG.userId}&userName=${BACKMEDIACONFIG.userName}&userRole=${BACKMEDIACONFIG.userRole}&portalIP=${BACKMEDIACONFIG.portalIP}&portalPort=${BACKMEDIACONFIG.portalPort}&channels=${BACKMEDIACONFIG.channels}&playRecord=${BACKMEDIACONFIG.playRecord}&language=zh-cn"
-
d
=
$
{
BACKMEDIACONFIG
.
d
}
-
s
=
$
{
BACKMEDIACONFIG
.
s
}
-
fa
=
$
{
BACKMEDIACONFIG
.
fa
}
-
k
=
$
{
BACKMEDIACONFIG
.
k
}
-
w
=
$
{
BACKMEDIACONFIG
.
w
}
-
h
=
$
{
BACKMEDIACONFIG
.
h
}
`
let
url
=
`
$
{
PROJECTWINCATALOG
}
/web_capture_c -o=${ymdDir}/
$
{
id
}.
mp4
-
u
=
"${BACKMEDIACONFIG.url}?classId=${id}&recordMp4=${BACKMEDIACONFIG.recordMp4}&userId=${BACKMEDIACONFIG.userId}&userName=${BACKMEDIACONFIG.userName}&userRole=${BACKMEDIACONFIG.userRole}&portalIP=${BACKMEDIACONFIG.portalIP}&portalPort=${BACKMEDIACONFIG.portalPort}&channels=${BACKMEDIACONFIG.channels}&playRecord=${BACKMEDIACONFIG.playRecord}&language=zh-cn"
-
d
=
$
{
BACKMEDIACONFIG
.
d
}
-
s
=
$
{
BACKMEDIACONFIG
.
s
}
-
fa
=
$
{
BACKMEDIACONFIG
.
fa
}
-
k
=
$
{
BACKMEDIACONFIG
.
k
}
-
w
=
$
{
BACKMEDIACONFIG
.
w
}
-
h
=
$
{
BACKMEDIACONFIG
.
h
}
-
ar
=
44100
`
this
.
wrieLog
(
" 启动url "
+
url
)
exec
(
url
,
{
maxBuffer
:
1073741824
},
(
err
,
stdout
,
stderr
)
=>
{
if
(
err
!=
null
)
{
...
...
请
注册
或
登录
后发表评论