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

android seek hangs #107

Open
abdelaziz-mahdy opened this issue Jul 8, 2024 · 7 comments
Open

android seek hangs #107

abdelaziz-mahdy opened this issue Jul 8, 2024 · 7 comments
Assignees
Labels
libmdk mdk bug

Comments

@abdelaziz-mahdy
Copy link
Contributor

Describe the bug
when seeking on android the screen hangs or feels like descyned from audio, but this issue doesnt happen on macos.

is there a better config to use, or this is a bug?

Expected behavior
seek should be smooth like macos

Log
Add

import 'package:logging/logging.dart';
import 'package:intl/intl.dart';

add the following lines before registerWith()

  Logger.root.level = Level.ALL;
  final df = DateFormat("HH:mm:ss.SSS");
  Logger.root.onRecord.listen((record) {
    print('${record.loggerName}.${record.level.name}: ${df.format(record.time)}: ${record.message}');
  });

and
logs
https://justpaste.it/foxrc

@wang-bin
Copy link
Owner

wang-bin commented Jul 13, 2024

I fix a few cache bugs in the latest mdk, not sure if your bug is fixed. export FVP_DEPS_LATEST=1 and build again

@abdelaziz-mahdy
Copy link
Contributor Author

its less noticeable but still happens
logs: https://justpaste.it/g2671

@wang-bin
Copy link
Owner

the error is different, cache seems right. what about using FFmpeg decoder?

@abdelaziz-mahdy
Copy link
Contributor Author

logs for FFmpeg https://justpaste.it/e9k5z

it happens but less

@wang-bin
Copy link
Owner

I can't see any error in the log. what about disabling cache?

@abdelaziz-mahdy
Copy link
Contributor Author

i think the hang happens when i seek out of the buffered zone, so thats logical i think? (its cached but not buffered i mean)

also for the error you mentioned is there a way to fix it?

@wang-bin wang-bin self-assigned this Jul 31, 2024
@wang-bin wang-bin added the libmdk mdk bug label Jul 31, 2024
@abdelaziz-mahdy
Copy link
Contributor Author

abdelaziz-mahdy commented Sep 2, 2024

new logs, from what i am seeking the sound seeks but the video lags then seeks

like sound plays for a second with video frame not changing
https://justpaste.it/c3u6c

in some cases frame is broken, will try to find logs for it (only on android i think will need to be sure)

cant reproduce the broken frame but if it happens again will try to find its logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
libmdk mdk bug
Projects
None yet
Development

No branches or pull requests

2 participants