Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to support video playback? #1

Open
haltarkon opened this issue May 17, 2023 · 4 comments
Open

Is it possible to support video playback? #1

haltarkon opened this issue May 17, 2023 · 4 comments
Labels
help wanted Extra attention is needed

Comments

@haltarkon
Copy link

Hello. Thanks for your awesome projects (browser, regedt33, ITaskMgr)!

I was able to run your latest release on a some third-party WEC2013 armv7 device, but video playback in the browser is not supported. The site http://html5test.com indicates that there is no video codecs support, and there is a message in the console:

defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"

Is it possible to support video playback of at least one of the codecs and what is needed for this?

@datadiode
Copy link
Owner

I struggled with video support for some time, but to no avail.
I've seen ffmpeg work on WinCE, but don't have sufficient understanding how to plug it into Qt.

@datadiode datadiode added the help wanted Extra attention is needed label Jun 1, 2023
@datadiode
Copy link
Owner

datadiode commented Nov 2, 2023

Just came across https://github.com/hdijkema/qtmultimedia-plugin-ffmpeg, which seems promising.
On the other hand, DirectShow should actually work.
The code attached to https://community.toradex.com/t/cannot-playback-video-wec2013-imx6-using-directshow/6408 does work, so what's left is to convince QMake that the platform supports DirectShow, and fix errors which arise from SDK usage and capability differences.

@datadiode
Copy link
Owner

v0.12.1-datadiode-46-gf1d713a supports video playback through DirectShow, to the extent determined by the installed filters.
Stupid me was messing with what existed in Qt 5.5.1, then noticed that the DirectShow plugin contained in Qt 5.6.3 is ready to build for Windows CE.

@datadiode
Copy link
Owner

v0.12.1-datadiode-47-ga2f2b2d includes an experimental FFmpeg plugin based on Hans Dijkema's work.
The plugin currently compiles for x86 only, and cannot produce audio output unless it happens to find an otherwise provided SDL2.dll.
Being in lack of a suitable device for testing, I doubt whether it actually works on WEC2013, but whoever wants feel free to give it a try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants