Closed coder-xb closed 10 months ago
media_kit disabled all of my packages, so for now
this is a work in progress, but i think it should work on all platforms only web is not supported for now
flutter_meedu_videoplayer:
git:
url: https://github.com/zezo357/flutter_meedu_videoplayer
ref: fvp
path: ./package
let me know if you have a problem with it, for now it will use fvp in all platforms
Thanks, I have tried with it, but I have encountered the problem:
Then, I close the player and opening it again is played. That is to say, when using it to play videos, there is a gap between the above errors and the video screen appearing, that is: first play is error and then the second play video screen appearing, third is error and fourth is video screen appearing...And, the video screen may have a splash problem (The red line in the picture represents the overall area of the video):
There is the screen recording for it:
Thanks, I have tried with it, but I have encountered the problem:
Then, I close the player and opening it again is played. That is to say, when using it to play videos, there is a gap between the above errors and the video screen appearing, that is: first play is error and then the second play video screen appearing, third is error and fourth is video screen appearing...And, the video screen may have a splash problem (The red line in the picture represents the overall area of the video):
sadly i cant check it right now, but i think it may be related to fvp i will check it before releasing the new version
if you can provide the video you are testing with that will help greatly
does it happen using another videos too? or just this one?
macos didnt have any of those problems, so i want to make sure if its a problem with the video it self or windows view by fvp
Not just one video, all videos are like this:
There is two videos, and the problem is the same.
okay, will check it, thank you
But, I am waiting for the official version to be launched here. Is there any emergency solution or can the flutter_meedu_videoplayer
previous version make the video play normally??
sadly media_kit disables the app if the package is found
but you can add
in pubspec video_player_win: ^2.2.2
and
after initMeeduPlayer
import 'package:video_player_win/video_player_win_plugin.dart';
if (!kIsWeb && Platform.isWindows) WindowsVideoPlayer.registerWith();
this will use another logic to render the video, maybe its better in your case
let me know if it works for you
Very unfortunate, I followed what you said add in pubspec video_player_win: ^2.2.2
, and after initMeeduPlayer
import 'package:video_player_win/video_player_win_plugin.dart';
if (!kIsWeb && Platform.isWindows) WindowsVideoPlayer.registerWith();
It has encountered a new issue, causing the video to be unable to play and the screen to go blank:
Additionally, I have also tried use
video_player_win: ^ 2.2.2
alone, The error content is consistent with the above.
So, I don't know what to do now.
well sadly you will have to wait for the release
and for the problem with the render i opened an issue for it in fvp hopefully it gets fixed https://github.com/wang-bin/fvp/issues/11
if you cant wait then i will have to say use media_kit directly since they even broke the wrapper i implemented
Enn... I am planning to use media_kit
and its related plugins directly to try
Enn... I am planning to use
media_kit
and its related plugins directly to try
i hope the best for you, and if you need any help let me know
same issue
Enn... I am planning to use
media_kit
and its related plugins directly to tryi hope the best for you, and if you need any help let me know
Okay, Thank you
same issue
media_kit disabled all of my packages, so for now
this is a work in progress, but i think it should work on all platforms only web is not supported for now
flutter_meedu_videoplayer:
git:
url: https://github.com/zezo357/flutter_meedu_videoplayer
ref: fvp
path: ./package
let me know if you have a problem with it, for now it will use fvp in all platforms
and if that didnt work for your case sadly you will have to use media_kit directly or wait until i make a new release where i was able to fix the issues in the current logic
I tried and it cannot find the Player
from package:flutter_meedu_videoplayer/meedu_player.dart
what do you mean by player?
meedu_player doesnt have a "player" class
do you mean the media_kit one? if thats the case you will need to fully convert your code to use media_kit you cant import this package with media_kit (media_kit will close the app on launch)
oh, thank you, I will find another solution.
but can I have a final confirm.
flutter_meedu_videoplayer
is not related to media_kit
(and in the furure)?but can I have a final confirm.
- now
flutter_meedu_videoplayer
is not related tomedia_kit
(and in the furure)? yes- these 2 lib cannot be used in 1 project? yes
- is this effect on all platform? macos and ios work for now , but most probably wont on the long run
- is there anyway that I can use an old version for now, which not have errors (maybe some dependencies override)? No, media_kit deleted all old versions to break any workaround using old versions
Not just one video, all videos are like this:
2023-08-21.17.28.45.mov There is two videos, and the problem is the same.
for this can you provide the logs ?
Logger.root.level = Level.ALL;
Logger.root.onRecord.listen((record) {
print('${record.loggerName}.${record.level.name}: ${record.time}: ${record.message}');
});
it will help us greatly
same issue
media_kit disabled all of my packages, so for now
this is a work in progress, but i think it should work on all platforms only web is not supported for now
flutter_meedu_videoplayer: git: url: https://github.com/zezo357/flutter_meedu_videoplayer ref: fvp path: ./package
let me know if you have a problem with it, for now it will use fvp in all platforms
and if that didnt work for your case sadly you will have to use media_kit directly or wait until i make a new release where i was able to fix the issues in the current logic
Can you confirm that the new version using fvp does not support web? If the new version does not support the web, I will have to give up "flutter_meedu_videoplayer" and look for a solution again!
It will support web, but the current fix will not
The release will support web like it always did
Looking forward to your new version being released, I have been waiting for 12 hours in the discussion area because the old version is also unusable and I have to stop working!
Looking forward to your new version being released, I have been waiting for 12 hours in the discussion area because the old version is also unusable and I have to stop working!
Remind me did you try the fvp version I mentioned? Can you let me know what didnt work for you?
I have tried... Unfortunately, I am not sure where the problem occurred. I cleaned the project and even reinstalled NDK, but the compilation still went wrong! The error prompt did not find the file, but I don't know how to solve it!
What went wrong: Execution failed for task ':fvp:configureCMakeDebug'.
C/C++: C:\Pub\Cache\hosted\pub.flutter-io.cn\fvp-0.1.0\android\CMakeLists.txt debug|armeabi-v7a : CMake Error at C:\Users\Administrator\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\fvp-0.1.0\android\CMakeLists.txt:67 (include): include could not find load file:
mdk-sdk/lib/cmake/FindMDK.cmake
[√] Flutter (Channel stable, 3.13.0, on Microsoft Windows [版本 10.0.19044.1889], locale zh-CN)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.4.5)
[√] Android Studio (version 2022.3)
[√] VS Code (version 1.70.0)
[√] Connected device (4 available)
[√] Network resources
I have tried... Unfortunately, I am not sure where the problem occurred. I cleaned the project and even reinstalled NDK, but the compilation still went wrong! The error prompt did not find the file, but I don't know how to solve it!
- What went wrong: Execution failed for task ':fvp:configureCMakeDebug'.
C/C++: C:\Pub\Cache\hosted\pub.flutter-io.cn\fvp-0.1.0\android\CMakeLists.txt debug|armeabi-v7a : CMake Error at C:\Users\Administrator\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\fvp-0.1.0\android\CMakeLists.txt:67 (include): include could not find load file:
mdk-sdk/lib/cmake/FindMDK.cmake
yes i got it i just opened pr in fvp for a similar error
please check new release
Okay,There is the logs of Exception: No Stream<VideoEvent> for textureId: -1
:
And,This is the logs of
video can be played, but the screen is splash
:
splash_screen.txt
Okay,There is the logs of
Exception: No Stream<VideoEvent> for textureId: -1
:And,This is the logs of
video can be played, but the screen is splash
: splash_screen.txt
In the splash_screen.txt
,I have made desensitization modifications to some path data
@coder-xb this is on the latest version? just to report to fvp the issue correctly
@zezo357 Yes, This is flutter_meedu_videoplayer
fvp branch
@zezo357 Yes, This is
flutter_meedu_videoplayer
fvp branch
can you try on the release too?
@zezo357 Yes, This is
flutter_meedu_videoplayer
fvp branchcan you try on the release too?
Not yet. Currently, for emergency purposes, I am using media_kit directly.
@zezo357 Yes, This is
flutter_meedu_videoplayer
fvp branchcan you try on the release too?
Not yet. Currently, for emergency purposes, I am using media_kit directly.
its okay, thank you very much.
Have you released the new version?
Have you released the new version?
Yes I did yesterday
4.3.0
Okay, I will try and test it in future versions of my application.Thank you very much. :)
Okay, I will try and test it in future versions of my application.
If you did the migration, then I recommend you stick with it, since not all bugs or issues has been fixed yet,
It's working very good on Android/iOS/web/macos
Windows and Linux are not tested to make sure everything is good yet, it should work correctly but no promises here 😢
If you left the branch of using my package, then all is good try and let me know if you have any issues and I will try my best to solve it
Okay, I will try and test it in future versions of my application.
If you did the migration, then I recommend you stick with it, since not all bugs or issues has been fixed yet,
It's working very good on Android/iOS/web/macos
Windows and Linux are not tested to make sure everything is good yet, it should work correctly but no promises here 😢
If you left the branch of using my package, then all is good try and let me know if you have any issues and I will try my best to solve it
Okay,Thank you
new release working on windows (if I remove the media_kit lib), but can I ask in future release, is there any change that I can use meedu with media_kit? (now Im using media_kit for audio player)
new release working on windows (if I remove the media_kit lib), but can I ask in future release, is there any change that I can use meedu with media_kit? (now Im using media_kit for audio player)
Sadly you would have to request that from media_kit since they are the ones who implemented the logic to terminate any connection between us and them
As the title,I am developing a Windows desktop application with
And,this my
In addition, I have tried the following command more than once, but the problem still exists:
flutter_meedu_videoplayer: ^4.2.26
,but when runflutter run windows -d
,I have encountered the problem:flutter doctor
:flutter clean
flutter pub cache clean
flutter pub get
flutter pub upgrade
And, there is a empty project for windwos desktop withflutter_meedu_videoplayer: ^4.2.26
only,It also encounter this issue and cannot run properly: untitled.zip So, I need some helps!