wang-bin
075a7ced7f
cuda: fix crash if no cuda loaded.
2014-04-03 01:48:14 +08:00
wang-bin
c406ac5e97
cuda: support dllapi, or use cuda_api class, or link against cuda
...
dllapi submodule not added yet
2014-04-03 01:19:05 +08:00
wang-bin
2113109299
Merge branch 'master' into cuda-dll
...
Conflicts:
src/cuda/helper_cuda.h
src/libQtAV.pro
2014-04-02 23:41:11 +08:00
wang-bin
9d4eb8c6fe
cuda: keep the original cuda headers from nvidia and let them work with
...
my dllapi project
use namespace to avoid symbol conflict
why use dllapi? because we can use any version of cuda api easily. Other
projects such as lavfilters can only use cuda 3.1 api now
2014-04-02 23:09:09 +08:00
wang-bin
b57334ac5d
cuda: load at runtime. ugly code but works
...
dllapi crashes. so use this solution until dllapi works
2014-04-02 04:26:27 +08:00
wang-bin
0b30cbddfb
cuda: avoid symbol name conflicting
2014-04-02 01:53:37 +08:00
wang-bin
0a49755b3c
cuda: dllapi lower case
2014-04-01 13:27:24 +08:00
wang-bin
6e0a29da67
cuda: modifier in function definations
2014-04-01 13:02:02 +08:00
wang-bin
69afce567d
cuda: warning. fix crash if cuda dll can not load
2014-04-01 12:59:23 +08:00
wang-bin
093fdafe4e
cuda: build error for mingw x86 target
...
vs can not build now
2014-04-01 02:11:51 +08:00
wang-bin
e2d0b95dd2
update ffmpeg for maemo script.
2014-03-31 17:40:59 +08:00
wang-bin
9ce2b7ac13
compat: AVCodecID for FFmpeg < 1.0
2014-03-31 17:38:29 +08:00
wang-bin
27ff41660d
cuda: add cuda headers and src(only used funcs tested) from dllapi tool
...
https://github.com/wang-bin/dllapi
Clang based mkapi tool in dllapi is not good enough. The types may be
different with those in headers if platform changed.
BTW, NVIDIA's version macros are designed genius!
FIXME: cuMemcpyDtoHAsync link error if force cuda version 0301
2014-03-31 17:37:56 +08:00
wang-bin
3e873fbe3b
cuda: ready to use dllapi (dynamical loading cuvid)
2014-03-31 14:07:28 +08:00
wang-bin
8d0f99f9e7
cuda: code style
2014-03-29 00:14:02 +08:00
wang-bin
1f7c0fc399
cuda: clear the frame queue on flush
2014-03-28 23:48:42 +08:00
wang-bin
53ce6b8995
test: add decoder test
2014-03-27 23:22:25 +08:00
wang-bin
18f11a565b
cuda: h264_mp4toannexb bitstream filter to get standard h264 needed by
...
cuda
TODO:
confirm which from ffmpeg version support this
let cuvid do the filter but not ffmpeg
2014-03-26 02:19:38 +08:00
wang-bin
a2d8fd1af6
add properties for VideoOutput
2014-03-25 22:26:43 +08:00
wang-bin
b38dc5491c
cuda: copy frame from host memory(it will be released in next call)
2014-03-25 18:48:15 +08:00
wang-bin
61390de856
cuda: release old parser before create
2014-03-25 18:28:38 +08:00
wang-bin
b6e2ed3ddb
cuda: fix invalid frame when copy from cuda
2014-03-24 22:37:27 +08:00
wang-bin
ceaec16e7e
Merge remote-tracking branch 'origin/master'
2014-03-24 11:13:25 +08:00
wang-bin
d6d745b6d0
gl: define GL_BGRA if not defined.
2014-03-24 11:12:50 +08:00
wang-bin
cd6b68736b
cuda: fix wrong decoding surfaces count.
...
parser's max surface count can't be larger than decoder's surfaces.
otherwise, the index from parser passed to decoder may be > decoder's
surface count then got CUVID_INVALID_VALUE.
surfaces count can not be too large, otherwise may out of memory
TODO:
check surface in use and wait if needed.
update parser's max surfaces if decoder recreated(frame format, size
change)
2014-03-24 01:34:27 +08:00
wang-bin
42c9c33533
player: reset config button
2014-03-23 23:01:30 +08:00
wang-bin
c1ed58cfbb
fix wrong texture size. no align needed
...
align is totally wrong. if aligned, texture size may be too large so the
result image leans or crash
2014-03-22 08:40:59 +08:00
wang-bin
256e97ce26
misc
2014-03-22 13:41:28 +08:00
wang-bin
a10c19668e
forgot return value
2014-03-22 13:36:35 +08:00
wang-bin
8f1235407c
virtual onXXX in AVOutput
2014-03-22 11:41:14 +08:00
wang-bin
a81ebdf6ea
revert setters to non-virtual. add onSetXXX(...) instead
2014-03-22 01:41:36 +08:00
wang-bin
4146b3014d
add a qobject based videooutput class. VideoRenderer now is a bridge
...
class
now we can use QObject features
2014-03-20 01:48:12 +08:00
wang-bin
46db3a0722
build error and typo
2014-03-18 12:45:29 +08:00
wang-bin
cbb78a20aa
add prefix QtAV to all include to avoid potential build error
...
why it happens? e.g. meego toolchain
2014-03-18 12:44:47 +08:00
wang-bin
37298b2232
gl: Qt<4.8 build error. No QGLFunctions, so need GLES2. works for meego
2014-03-18 12:33:11 +08:00
wang-bin
7a13caa941
version 1.3.2
...
- OpenGL improvement and better performance(works on iOS and Android):
* enable GLSL if supported
* use GLSL to render YUV frames
* GLSL based video equalizer
- XV bug fix and improvement. Supports NV12. Supports video equalizer.
- Play from QIODevice support
- Capture YUV frames support.
- Fix wrong duration in OSD
- CUDA decoder working in progress
- player:
* no gui blocking while opening a stream
* add config dialog
- Regressions:
* OpenGL can not display H10p
v1.3.2
2014-03-17 01:27:26 +08:00
wang-bin
892b3fb016
fix make deb error. value in control can not have empty lines
2014-03-17 00:29:06 +08:00
wang-bin
fb26394576
gl: APIENTRY may be not defined(linux es2)
2014-03-17 00:28:37 +08:00
wang-bin
c8919ba910
accurate seeking is too slow. disable
2014-03-17 00:16:30 +08:00
wang-bin
386d230f97
player: misc
2014-03-17 00:14:07 +08:00
wang-bin
f06f4ec525
Merge branch 'accurate_seek'
2014-03-16 12:03:57 +08:00
wang-bin
39d84ca3ce
player: translations
2014-03-16 01:42:16 +08:00
wang-bin
e364852653
player: capture config change by ui. fix Qt4 error.
2014-03-16 01:26:15 +08:00
wang-bin
73fae56f71
player: add config page and dialog
2014-03-16 00:41:04 +08:00
wang-bin
8dbfa2065e
player: add capture config page
2014-03-15 19:26:09 +08:00
wang-bin
0467f921e0
no positionChanged signal while seeking
2014-03-15 10:48:27 +08:00
wang-bin
cf8a40d8fa
do not skip decoding key frame
2014-03-14 11:54:38 +08:00
wang-bin
43df9f0052
display more frames and looks smooth for if cpu is slow. affect accurate
...
seek
accurate seek has audio before target pts.
accurate seek may be faster
accurate seek may skip some frames after the target
2014-03-14 02:12:57 +08:00
wang-bin
220b7b8c9b
wrong start time for media has invalid duration
...
test player online tv
2014-03-14 02:05:15 +08:00
wang-bin
8a73f02612
accurate seek. slow if target is far away from last nearest key frame
2014-03-14 02:02:49 +08:00