Comments (5)
can you provide logs?
player =
Player(configuration: PlayerConfiguration(logLevel: MPVLogLevel.debug));
player.stream.log.listen((event) {
print("log $event");
});
just incase its a problem with mpv
from media-kit.
Repro code
- in this example, video C is omitted from playlist
- playlist contents are [A, B, D]
--- main.dart
void main(List<String> args) {
MediaKit.ensureInitialized();
runApp(ReproApp);
}
--- repro_app.dart
example.txt
from media-kit.
Ah yeah, looks like path character issue (emojis and/or apostrophes)
- first video with apostrophe worked, but second video with apostrophes in path had fatal error
- confirmed removing special characters fixed issue
![image](https://private-user-images.githubusercontent.com/65752735/305748111-5b48b3ee-4504-4025-9158-61f7153c993d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MDk3MjM1MTcsIm5iZiI6MTcwOTcyMzIxNywicGF0aCI6Ii82NTc1MjczNS8zMDU3NDgxMTEtNWI0OGIzZWUtNDUwNC00MDI1LTkxNTgtNjFmNzE1M2M5OTNkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDAzMDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwMzA2VDExMDY1N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTJlNjRjMTI3NGI3NGQxMjNjYTE0ODRlZjc0NDViNTQyZjk2OTkwZTE4ZjEwNmI2NzMxY2NiYTRlNDMzMDIyZTYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.09GEdU3Qd7pHlOp2R7ULFAR5DGVoy7P0IIrPogrNL0I)
from media-kit.
nice, glad it got fixed
from media-kit.
Any chance there'd be plans to support files with special characters in them? (e.g.: apostrophes, emojis, etc.)
from media-kit.
Related Issues (20)
- Uint8List video load without decoding
- App closes when player.open() runs. (Win11) HOT 5
- Exception: Cannot find libmpv.so. Please ensure it's presence in the APK. HOT 8
- Crash on android 9 armeabi-v7a
- How to make aspect ratio selection to Auto?
- Android impller support HOT 10
- ld: framework not found Mpv HOT 2
- Request Feature: Custom parameter passed to mpv HOT 2
- Unable to play video for local files (under assets) on Android HOT 4
- Problem with publishing an application to App Store HOT 1
- m3u8 file with #EXT-X-DISCONTINUITY, controller.value.position is wrong HOT 11
- Media-Kit build issue for Mac Build within MS App Center CI
- The URL is time-sensitive. I want to request the server to obtain the URL every time I play. Is this possible? HOT 6
- Disable media_kit: WebVideoController and media_kit: wakelock: messages in console
- MediaKit on MacOS - No Video Display for Specific HEVC Main 10 Encoded File HOT 1
- Player's media list not being updated whenever on PlaylistMode.loop
- how to read file from RES/RAW platform android folder HOT 1
- Plugin doesn't work properly with airplay and chromecast plugins HOT 6
- [media_kit v1.1.10] Player .add() doesn't accept paths with spaces in them HOT 4
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.