587 Commits

Author SHA1 Message Date
JiaboLi 7d3b3af691 Optimize the Vulkan rendering engine
1.Optimize the texture data transfer mechanism based on memory alignment.
2.Adjust the creation timing of the DescriptorPool, moving it from initSwapChainResources to initResources.
3.Add Vulkan color space configuration items to the Player instance.
2025-08-15 21:24:54 +08:00
JiaboLi 3b3787a1b6 设置渲染引擎失败时,没有释放无效的渲染引擎,引发内存泄漏。 2025-07-22 23:21:06 +08:00
waterstrider 4ceee22176 Update MainWindow.cpp
add missing import to make it compile
2022-01-13 14:38:31 +07:00
waterstrider bbced5e28a Update main.cpp
add missing import to make it compile
2022-01-13 14:37:27 +07:00
waterstrider 22c2909e57 Update main.cpp
add missing import to make it compile
2022-01-13 14:36:40 +07:00
waterstrider a56b227f50 Update main.cpp
add missing import to make it compile
2022-01-13 14:35:19 +07:00
waterstrider 6b54dc31aa Update MainWindow.cpp
add missing import to make it compile
2022-01-13 14:34:02 +07:00
waterstrider db80ce974e Update videogroup.cpp
fix not compile
2022-01-13 14:14:12 +07:00
wang-bin ce21c55b6e qt6 support
no qml. examples are wip.
fix #1381, #1294, #1389
2022-01-08 17:09:43 +08:00
Mladen Milinkovic 039be0bcb4 Fix make install with alernate root path 2020-03-09 11:58:11 +01:00
wang-bin b51fee72a8 release 1.13.0
- add python bindings
- more apis for qml player
- auto rotate video
- apple store
- fix ios plugin not found
- support chapters
- muxer, encoder, transcoder improvements
- compatible with new ffmpeg
- videotoolbox: hevc,
- cuda: new devices
- android: no longer depends on private qt module
- fix opensl error
- mediacodec: 0-copy via a plugin from https://github.com/wang-bin/mdk-sdk
2019-07-11 08:58:59 +08:00
Mike Odom 330382ce91 Adding mutex lock to Logger
ASSERT: "bytes <= bufferSize" in file tools\qringbuffer.cpp, line 74

This was happening when seeking multiple times very quickly in Player. QFile is not thread safe so I added a QMutexLocker to the Logger function.
2018-12-16 15:52:51 -08:00
Mike Tolkachev 552391f2da fix rightLevelChanged signal
emit rightLevelChanged instead leftLevelChanged when changing the right
2018-02-18 10:52:05 +03:00
wang-bin d59fec6dbd typo 2017-11-11 10:06:18 +08:00
jiang_xmin 26944f2bf0 examples/player add mouse left button double clicked showfullscreen 2017-10-30 00:15:06 +08:00
wang-bin dff05bbb7c example: implement intermediate fbo for filtering rgb texture 2017-09-21 15:57:18 +08:00
wang-bin b963adc3fa vumeter: fix channel data sampling 2017-09-05 11:35:27 +08:00
WangBin 08f2f87c75 Update MainWindow.cpp 2017-07-31 09:42:59 +08:00
wangwenx190 f6458955ee 使m_preview成为一个Tool Window,这样它就不会显示在任务栏上了 2017-07-30 22:40:57 +08:00
wangwenx190 ef3d1d3923 修复Player出现视频预览小窗后其解码所需的额外内存不会在其关闭后释放的问题
鼠标离开TimeSlider后即删除m_preview窗口,其解码过程即刻停止,内存占用即可下降
2017-07-30 22:23:12 +08:00
Michele Caini 528769c091 allow QtAV to be used as a cmake external project 2017-07-25 12:16:59 +02:00
wang-bin fa2720148d examples: add vu meter filter 2017-07-19 21:13:16 +08:00
Calin Culianu 5aa5b27cac added new OSX API for turning off screensaver to ScreenSaver exampe -- important if you want to use this code in the App store, for example. (Old API was deprecated and generated warnings) 2017-06-30 22:05:22 +03:00
wang-bin 42db9cb8a6 qmlplayer: auto decoders is default 2017-06-28 10:57:31 +08:00
wang-bin 0737e63ca2 android: fix 6.0 permission 2017-06-28 10:52:12 +08:00
wang-bin e17bf81fdf qmlplayer: add auto decoder option 2017-06-27 17:56:58 +08:00
wang-bin 10edb08dd9 update android manifest 2017-06-27 11:19:32 +08:00
wang-bin 42040061b1 mediacodec: update api 2017-06-26 21:56:20 +08:00
wang-bin dd55b215dc fix qmlplayer version 2017-06-22 11:39:44 +08:00
wang-bin f672e4a696 version 1.12.0
Changelog
- CMake support
- Fix iOS build
- Fix AVPacket memory leak
- Geometry & GeometryRenderer class is public
- PAL8, XYZ color format support
- Fix OpenGL background color
- Fix external clock error after pause
- VA-API encoder support (ffmpeg>=3)
- Other improvements, fixes, and untested features
2017-06-21 09:47:15 +08:00
wang-bin 19f9663e6f cmake: install player executables 2017-05-19 11:49:21 +08:00
wang-bin 417b47a1a6 add PKGBUILD for msys2 #533 2017-05-19 03:41:18 +00:00
wang-bin 4ed72b638b add ts template for translating #836
translate QtAV.ts, player.ts and QMLPlayer.ts in linguest. the result ts
file name has suffix, e.g. QtAV_de.ts
2017-03-17 17:30:37 +08:00
wang-bin 19a4025dc8 cmake: disable windows console window in app 2017-03-17 17:21:41 +08:00
wang-bin f343ffc2b7 cmake: use rc template 2017-03-15 17:38:41 +08:00
wang-bin dfb3425db1 cmake: build qml plugin. fix cmake install dir
[skip ci]
2017-03-10 23:24:10 +08:00
wang-bin bc60860410 cmake: support find_package(QtAV) #795
Currently only FindQtAV.cmake works, i.e. "Module" mode. In "Config"
mode, QTAV_INCLUDE_DIRS and QTAV_LIBRARIES are empty. To use
FindQtAV.cmake, you have to append it's dir to CMAKE_MODULE_PATH

try simpleplayer example after qtav make install

TODO: module mode. auto insert dependencies
2017-01-26 18:01:33 +08:00
wang-bin 87cd8964f1 cmake: check more features 2017-01-24 01:02:44 +08:00
wang-bin 71806f3bab cmake: add examples 2017-01-23 14:46:14 +08:00
wang-bin db891bd5eb examples: workaround qt5.7 log crash
assert in QRingBuffer.free
2017-01-22 10:27:30 +08:00
wang-bin 9d49102382 support msvc static build. qml is not supported yet
tested qt5.7.0 vs2015 x86 from http://www.npcglib.org/~stathis/blog/
precompiled-qt4-qt5/
2017-01-06 13:26:38 +08:00
wang-bin 0364c4dbb2 qmlplayer: auto hide cursor 2016-10-19 11:17:00 +08:00
ravas 5b3d8f25b7 set the Player's style to Fusion for OS X; #738
This is a work-around for the broken slider in the default Macintosh
style.
2016-09-29 23:23:55 -07:00
ravas 86652581af added svg module to player.pro
This is allows macdeployqt to properly copy the framework.
2016-09-28 10:04:11 -07:00
wang-bin a0e58de60f enc: set hw frame context's sw format. vaapi works 2016-08-28 21:56:17 +08:00
wang-bin 09e6e403f7 ao: simplify API
AudioOutput.setAudioFormat() now use a prefered format if not supported,
and return the actual format used
2016-07-25 16:11:07 +08:00
wang-bin 4746975dbe fix playback restart after stop() in repeat mode #670
AVPlayer.currentRepeat() < 0 if playback is stopped. Previous was 0
2016-07-06 23:46:45 +08:00
wang-bin 2d0dd1d1c8 apply frame rate when playing 2016-06-30 00:00:30 +08:00
wang-bin 3b418cbfa9 version 1.11.0
Changelog
- Dynamic load QtAVWidgets in VideoOutput.
`QtAV::Widgets::registerRenderers()` and `QT += avwidgets` is not
requred now.
- D3D11 decoder support. Not stable on Windows phone.
- DXVA refactor and bug fix.
- VA-API: fix memory leak when seeking
- OpenGL:
 * Fix PBO binding
 * Custom shader support (WIP)
 * Edit and apply custom shader when playing. Based on Qt property
system.
 * Optimize uniform update
 * GLSL filter support
 * Add `OpenGLVideo.beforeRendering/afterRendering`
- CUDA:
 * Direct copy is default for windows. Now Rendering CUDA decoded frames
is faster than any other players
 * 0-copy is default for linux.
 * Use new API (4.0)
- AVPlayer:
 * Add `AVPlayer.stoppedAt` signal
 * add `setTimeRange()`
 * setStart/StopPosition can be called at any time with any value
 * Ensure all threads are running when `started` is emitted
 * Support preload using `load()`. Now no reload in `play()`
- Fix build with QT_NAMESPACE
- Fix swscale color range
- Fix linux install destinations
- Add AVTranscoder.async, encoders are in individual threads
- Add FrameReader class
- Use FFmpeg 3.0 API
- QML:
 * Support filters, including sw filters from libavfilter, and GLSL
filter
 * Add `MediaPlayer/Video.audioBackends` property
 * Support autoLoad
 * Add `VideoOutput.mapTo/FromXXX` between source frame and item
 * Video EQ in VideoOutput/Video
 * Add `MediaPlayer.startPosition/stopPotion`
- QMLPlayer: Open video and subtitle at the same time. History view.
Zoom. Video EQ
2016-06-20 13:35:47 +08:00
wang-bin 0840e69da7 update translations 2016-06-19 20:30:43 +08:00