Commit 13ec27c3 authored by Silas Della Contrada's avatar Silas Della Contrada
Browse files

Partly added VAAPI support

 - Encoding is not possible in order to some bugs in the QtAV library
parent d3d833e5
......@@ -18,6 +18,8 @@ win32 {
unix {
LIBS += ../backend/libbackend.so -lQtAV -lQtAVWidgets
QMAKE_LFLAGS_RPATH=
QMAKE_LFLAGS += "-Wl,-rpath,\'\$$ORIGIN\'"
}
CONFIG += c++20
......
......@@ -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()
}
}
......@@ -15,7 +15,9 @@ win32 {
}
unix {
QT += av avwidgets
LIBS += -lQtAV -lQtAVWidgets
QMAKE_LFLAGS_RPATH=
QMAKE_LFLAGS += "-Wl,-rpath,\'\$$ORIGIN\'"
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment