Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Silas Della Contrada
SteelCast
Commits
13ec27c3
Commit
13ec27c3
authored
Jan 22, 2021
by
Silas Della Contrada
Browse files
Partly added VAAPI support
- Encoding is not possible in order to some bugs in the QtAV library
parent
d3d833e5
Changes
3
Hide whitespace changes
Inline
Side-by-side
VanadiumCast/VanadiumCast.pro
View file @
13ec27c3
...
...
@@ -18,6 +18,8 @@ win32 {
unix
{
LIBS
+=
..
/
backend
/
libbackend
.
so
-
lQtAV
-
lQtAVWidgets
QMAKE_LFLAGS_RPATH
=
QMAKE_LFLAGS
+=
"-Wl,-rpath,\'\$$ORIGIN\'"
}
CONFIG
+=
c
++
20
...
...
VanadiumCast/res/gui/fragments/PageMedia.qml
View file @
13ec27c3
...
...
@@ -114,7 +114,7 @@ Page {
anchors.topMargin
:
8
height
:
1280
width
:
720
videoCodecPriority
:
[
"
QSV
"
,
"
DXVA
"
,
"
MMAL
"
,
"
CUDA
"
,
"
FFMPEG
"
]
videoCodecPriority
:
[
"
VAAPI
"
,
"
QSV
"
,
"
DXVA
"
,
"
MMAL
"
,
"
CUDA
"
,
"
FFMPEG
"
]
audioBackends
:
[
"
OpenAL
"
,
"
XAudio2
"
,
"
null
"
]
Component.onCompleted
:
console
.
log
(
previewVideo
.
audioBackends
)
smooth
:
true
...
...
@@ -275,6 +275,6 @@ Page {
id
:
startStreamBtn
text
:
qsTr
(
"
Stream
"
)
enabled
:
false
onClicked
:
previewVideo
.
stop
()
onClicked
:
previewVideo
.
pause
()
}
}
backend/backend.pro
View file @
13ec27c3
...
...
@@ -15,7 +15,9 @@ win32 {
}
unix
{
QT
+=
av
avwidgets
LIBS
+=
-
lQtAV
-
lQtAVWidgets
QMAKE_LFLAGS_RPATH
=
QMAKE_LFLAGS
+=
"-Wl,-rpath,\'\$$ORIGIN\'"
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment