-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- 添加了mpv相关的CMakeLists.txt配置,使得mpv可以作为可选模块编译进项目中。 - 更新了install-dependencies/action.yml,增加了mpv的安装步骤,以便在macOS上通过Homebrew安装mpv。 - 对cmake.yml和qmake.yml进行了修改,加入了对mpv编译选项的配置。 - 修改了CMakeLists.txt,引入了BUILD_MPV选项,并根据此选项配置了项目。 - 为examples目录添加了mpvplayer子目录,并创建了相关的CMakeLists.txt、mainwindow.cc/.hpp等文件,实现了基于mpv的播放器界面。 - 更新了player和transcoder的CMakeLists.txt,以支持mpv选项。 - 为mpvplayer添加了控制widget、日志窗口、字幕延迟对话框等组件。 - 在src目录下添加了mpv子目录,实现了mpv播放器的核心功能,包括与mpv的交互、渲染以及事件处理。 - 更新了utils.cpp和utils.h,增加了设置OpenGL表面格式版本的功能。 - 根据是否启用mpv选项,调整了src.pro,以包含或排除mpv子目录。
- Loading branch information
Showing
92 changed files
with
2,752 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
add_subdirectory(player) | ||
add_subdirectory(transcoder) | ||
add_subdirectory(ffmpegplayer) | ||
add_subdirectory(ffmpegtranscoder) | ||
|
||
if(BUILD_MPV) | ||
add_subdirectory(mpvplayer) | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
examples/player/colorspacedialog.cc → examples/ffmpegplayer/colorspacedialog.cc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
#include "colorspacedialog.hpp" | ||
#include "slider.h" | ||
|
||
#include <examples/common/slider.h> | ||
|
||
#include <QtWidgets> | ||
|
||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
include(../../common.pri) | ||
|
||
QT += core gui widgets network multimedia openglwidgets core5compat | ||
|
||
TEMPLATE = app | ||
|
||
TARGET = FfmpegPlayer | ||
|
||
LIBS += \ | ||
-l$$replaceLibName(ffmpeg) \ | ||
-l$$replaceLibName(thirdparty) \ | ||
-l$$replaceLibName(dump) \ | ||
-l$$replaceLibName(utils) | ||
|
||
include(../../src/3rdparty/3rdparty.pri) | ||
|
||
SOURCES += \ | ||
../common/controlwidget.cc \ | ||
../common/openwebmediadialog.cc \ | ||
../common/playlistmodel.cpp \ | ||
../common/playlistview.cc \ | ||
../common/qmediaplaylist.cpp \ | ||
../common/qplaylistfileparser.cpp \ | ||
../common/slider.cpp \ | ||
../common/titlewidget.cc \ | ||
colorspacedialog.cc \ | ||
main.cpp \ | ||
mainwindow.cpp | ||
|
||
HEADERS += \ | ||
../common/controlwidget.hpp \ | ||
../common/openwebmediadialog.hpp \ | ||
../common/playlistmodel.h \ | ||
../common/playlistview.hpp \ | ||
../common/qmediaplaylist.h \ | ||
../common/qmediaplaylist_p.h \ | ||
../common/qplaylistfileparser_p.h \ | ||
../common/slider.h \ | ||
../common/titlewidget.hpp \ | ||
colorspacedialog.hpp \ | ||
mainwindow.h | ||
|
||
DESTDIR = $$APP_OUTPUT_PATH |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.