Comments (18)
make sure media_kit_libs_windows_video
is in your pubspec
from media-kit.
it has to do with media_kit_video
, the above mentioned error occurs as soon as having media_kit_video
in the dependencies list of pubspec.yaml, without even have to using it
from media-kit.
It's likely an access violation within C++ implementation of package:media_kit_video.
Make sure you are on latest version from Git i.e. specify the ref (latest commit hash) in your pubspec.yaml. Flutter does not detect changes in Git dependencies.
from media-kit.
Specify ref like this (but use latest from main branch): #17 (comment).
I have serious exam situation, so I'm not available before next month.
from media-kit.
no hurry, but still no luck even with latest commits and master/beta channel
it comes down to this i think
D:\repositories\git\entwicklung_dart\media_kit_test\windows\flutter\ephemeral\.plugin_symlinks\media_kit_video\windows\angle_surface_manager.h(15,10): fatal error C1083: Datei (Include) kann nicht ge�ffnet werden: "EGL/egl.h": No such file or directory
[D:\repositories\git\entwicklung_dart\media_kit_test\build\windows\plugins\media_kit_video\media_kit_video_plugin.vcxproj]
[ ] D:\repositories\git\entwicklung_dart\media_kit_test\windows\flutter\ephemeral\.plugin_symlinks\media_kit_video\windows\video_output.h(14,10): fatal error C1083: Datei (Include) kann nicht ge�ffnet werden: "client.h": No such file or directory
[D:\repositories\git\entwicklung_dart\media_kit_test\build\windows\plugins\media_kit_video\media_kit_video_plugin.vcxproj]
[ ] D:\repositories\git\entwicklung_dart\media_kit_test\windows\flutter\ephemeral\.plugin_symlinks\media_kit_video\windows\video_output.h(14,10): fatal error C1083: Datei (Include) kann nicht ge�ffnet werden: "client.h": No such file or directory
[D:\repositories\git\entwicklung_dart\media_kit_test\build\windows\plugins\media_kit_video\media_kit_video_plugin.vcxproj]
[ ] D:\repositories\git\entwicklung_dart\media_kit_test\windows\flutter\ephemeral\.plugin_symlinks\media_kit_video\windows\video_output.h(14,10): fatal error C1083: Datei (Include) kann nicht ge�ffnet werden: "client.h": No such file or directory
[D:\repositories\git\entwicklung_dart\media_kit_test\build\windows\plugins\media_kit_video\media_kit_video_plugin.vcxproj]
[ ] D:\repositories\git\entwicklung_dart\media_kit_test\windows\flutter\ephemeral\.plugin_symlinks\media_kit_video\windows\video_output.h(14,10): fatal error C1083: Datei (Include) kann nicht ge�ffnet werden: "client.h": No such file or directory
[D:\repositories\git\entwicklung_dart\media_kit_test\build\windows\plugins\media_kit_video\media_kit_video_plugin.vcxproj]
i think i got that right with the ref
media_kit:
git:
url: https://github.com/alexmercerind/media_kit
path: media_kit
ref: c63aecfbe4db223b11a27a12ad261832fe8d0c36
media_kit_video:
git:
url: https://github.com/alexmercerind/media_kit
path: media_kit_video
ref: 13ab81338b3ba88fd0be7196edfd18805741dd93
from media-kit.
20c46b5 is latest ref.
Use it for both packages. Confirm if it still crashes. If not, close this.
from media-kit.
unfortunately it still crashes
media_kit:
git:
url: https://github.com/alexmercerind/media_kit
path: media_kit
ref: 20c46b58bb5c8a9e749b6b9760234281e7bf2e02
media_kit_video:
git:
url: https://github.com/alexmercerind/media_kit
path: media_kit_video
ref: 20c46b58bb5c8a9e749b6b9760234281e7bf2e02
from media-kit.
you may need to delete the build folder completely
from media-kit.
@Quackdoc did not help :(
from media-kit.
it works now, yay. thank you both
from media-kit.
Yup. New versions won't build without it.
I didn't quite understand your issue if you were facing compile time issue or that memory access violation.
from media-kit.
initially I had both media_kit_libs_windows_video
and media_kit_libs_windows_audio
in my pubspec, but not the latest commit ref, so that was the missing point, but while testing around I removed those packages unfortunately
from media-kit.
still (or again) experiencing issues after trying to move from the working example project to my real project.
current status is that not even the example project is working anymore (I guess because it is created from scratch after I thought I don't need it anymore)
it compiles with no errors, but it does not launch.
when trying to launch the generated build manually from build\windows\runner\Debug
or build\windows\runner\Release
it says that libmpv-2.dll
is missing. but there is a mpv-2.dll
, so I copied that file and renamed it to libmpv-2.dll
and the app launches and I can see the screen for a second or two than it crashes.
btw: it crashes only when really using the package in main.dart
.
I have no idea how I got it to work yesterday, I guess because I had some variations of the git-url in my pubspec.yaml
prior to the final one with the latest ref
in it. I tried to reconctstruct my steps from yesterday but did not suceed
from media-kit.
Don't keep both libs package. READ THE README.
from media-kit.
As long as our CI is passing, everything is alright.
There is a decent application in repository with working pubspec.yaml & main.dart, what else is needed or expected from open source?
from media-kit.
oh man really, yeah you are right. damn you media_kit_libs_windows_audio
. sorry for the inconvenience
the README should really say to NOT EVER USE both media_kit_libs_windows_video
and media_kit_libs_windows_audio
packages :-)
from media-kit.
It's not like there will always be only these 2 packages. They are variant of a same thing. In future, there might be 5 or 6 targetting different features to focus on modularity.
It does clarify everything, read the comment in README.
from media-kit.
you are completely right, I really could AND SHOULD have figured that out on my own
from media-kit.
Related Issues (20)
- Enable --vo=gpu-next Support on Darwin to Reshape Dolby Vision Content HOT 2
- how to seprate HOT 23
- [Feature] Specify custom user-agent HOT 3
- RTMP Links Stream Active or Not HOT 1
- Black Screen on Android HOT 16
- Can't get option to track which videos play from list of videos
- Keyboard shortcuts disabled once the focus is moved to other widgets HOT 4
- Wakelock not function HOT 3
- Upgrade Wakelock dependency version HOT 5
- Does this support H.265 video and G.711 audio? HOT 1
- How to provide subtitle without link, just plain text? HOT 3
- .mp4 played failed HOT 18
- RTSP Playback Latency HOT 3
- Support audio normalization
- excuse me! I want to know a question about the use of subtitles HOT 3
- Screenshot get err data in `image/png` format
- Seek is not working on release mode HOT 5
- Subtitle render err when arranged vertically
- Can not get AudioDevice list on Window & MacOS
- Support subtitle switch HOT 6
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 media-kit.