Comments (6)
Hi, thanks for the contribution, if you would add the PR, it would be even better *-)
Btw, it looks like related to ffmpeg ver, since never seen this before. What version do you use?
from qtavplayer.
Hi, thanks for the contribution, if you would add the PR, it would be even better *-)
Btw, it looks like related to ffmpeg ver, since never seen this before. What version do you use?
I didn't "fix" it on a fork, just added to header and tried to build. Will do the proper fork=>pullreq ASAP.
ffmpeg cloned from git. Running the executable generated from it reports:
ffmpeg version N-111790-g7e246a5db5
from qtavplayer.
Thanks, I took from there https://github.com/BtbN/FFmpeg-Builds/releases, and it really fails.
from qtavplayer.
from qtavplayer.
Thanks, I took from there https://github.com/BtbN/FFmpeg-Builds/releases, and it really fails.
I have similar errors with different ffmeg versions and QT
Right now Im using qt 6.5.2
and ffmpeg-n6.0-11-g3980415627-win64-lgpl-shared-6.0, downloaded from BtbN repo.
But the problem was in missed headers I had to include missed headers in QtAVPlayer.pri
PRIVATE_HEADERS += \
$$PWD/qavcodec_p.h \
$$PWD/qavcodec_p_p.h \
$$PWD/qavframecodec_p.h \
$$PWD/qavaudiocodec_p.h \
$$PWD/qavvideocodec_p.h \
$$PWD/qavsubtitlecodec_p.h \
$$PWD/qavhwdevice_p.h \
$$PWD/qavdemuxer_p.h \
$$PWD/qavpacket_p.h \
$$PWD/qavstreamframe_p.h \
$$PWD/qavframe_p.h \
$$PWD/qavpacketqueue_p.h \
$$PWD/qavvideobuffer_p.h \
$$PWD/qavvideobuffer_cpu_p.h \
$$PWD/qavvideobuffer_gpu_p.h \
$$PWD/qavfilter_p.h \
$$PWD/qavfilter_p_p.h \
$$PWD/qavvideofilter_p.h \
$$PWD/qavaudiofilter_p.h \
$$PWD/qavfiltergraph_p.h \
$$PWD/qavinoutfilter_p.h \
$$PWD/qavinoutfilter_p_p.h \
$$PWD/qavvideoinputfilter_p.h \
$$PWD/qavaudioinputfilter_p.h \
$$PWD/qavvideooutputfilter_p.h \
$$PWD/qavaudiooutputfilter_p.h \
$$PWD/qaviodevice_p.h \
$$PWD/qavfilters_p.h \
$$PWD/qavaudiooutput.h \
$$PWD/qavandroidsurfacetexture.h
PUBLIC_HEADERS += \
$$PWD/qavaudioformat.h \
$$PWD/qavstreamframe.h \
$$PWD/qavframe.h \
$$PWD/qavvideoframe.h \
$$PWD/qavaudioframe.h \
$$PWD/qavsubtitleframe.h \
$$PWD/qtavplayerglobal.h \
$$PWD/qavstream.h \
$$PWD/qavplayer.h \
SOURCES += \
$$PWD/qavplayer.cpp \
$$PWD/qavcodec.cpp \
$$PWD/qavframecodec.cpp \
$$PWD/qavaudiocodec.cpp \
$$PWD/qavvideocodec.cpp \
$$PWD/qavsubtitlecodec.cpp \
$$PWD/qavdemuxer.cpp \
$$PWD/qavpacket.cpp \
$$PWD/qavframe.cpp \
$$PWD/qavstreamframe.cpp \
$$PWD/qavvideoframe.cpp \
$$PWD/qavaudioframe.cpp \
$$PWD/qavsubtitleframe.cpp \
$$PWD/qavvideobuffer_cpu.cpp \
$$PWD/qavvideobuffer_gpu.cpp \
$$PWD/qavfilter.cpp \
$$PWD/qavvideofilter.cpp \
$$PWD/qavaudiofilter.cpp \
$$PWD/qavfiltergraph.cpp \
$$PWD/qavinoutfilter.cpp \
$$PWD/qavvideoinputfilter.cpp \
$$PWD/qavaudioinputfilter.cpp \
$$PWD/qavvideooutputfilter.cpp \
$$PWD/qavaudiooutputfilter.cpp \
$$PWD/qaviodevice.cpp \
$$PWD/qavstream.cpp \
$$PWD/qavfilters.cpp \
$$PWD/qavaudiooutput.cpp \
and also was some errors about incopatible "<<" overloading in qavhwdevice_d3d11.cpp
so I had to manually do convertion to QString
qWarning() << "Failed to obtain resource handle from FFmpeg texture:" << hr << QString::fromStdString(std::system_category().message(hr));
Right now it compiles and runs after I manually copied all .dlls to output folder
from qtavplayer.
Thanks, I just tested 6.5.2 and it works, but 6.4 does not, are you sure that you use 6.5?
from qtavplayer.
Related Issues (20)
- Problems with audio playback HOT 16
- FAIL! : tst_QAVPlayer::multipleFilters() '(framesCount.contains("panel_0"))' returned FALSE. () .\tst_qavplayer.cpp(3048) : failure location HOT 2
- QAVAudioOutput::play with QByteArray HOT 1
- Introduce `-ar` HOT 1
- Playback on windows uses a lot of CPU when rendering, despite d3d11 hardware decoding HOT 29
- Integration in digiKam (Qt5): some helps required. HOT 83
- Using hardware decoding in videotoolbox_vld FFmpeg: [mpeg4 @ 0x13401b0c0] Failed setup for format videotoolbox_vld: hwaccel initialisation returned error. HOT 3
- SetFilters does not refresh the current frame. HOT 1
- Custom HW accelerated renderer
- Introduce rotation metadata to streams HOT 1
- Error with Qt 6.7 beta 2: no type named 'ReturnType' in 'QtPrivate::Callable' HOT 1
- Drag play window bug HOT 6
- QAVAudioOutput has crackling audio when there are other CPU intensive tasks running on the PC HOT 20
- release
- Possible rare crash in avcodec_send_packet() ? HOT 5
- Slow playback on file_example_AVI_480_750kB.avi
- Erro ao converter QAVVideoFrame para QVideoFrame HOT 5
- Correção do drm/drm_fourcc.h não encontrado HOT 3
- FFmpeg: [swscaler @ 0x7f5454a79e00] deprecated pixel format used, make sure you did set range correctly HOT 1
- BUG - Função Stop HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qtavplayer.