Audio/Video playback not in sync
|Assignee:||Andreas Smas||% Done:|
|Found in version:||4.99.462.g91dd2 and previous version||Platform:||Android|
Some video playback are okay, some are not with slow motion and warning message that "CPU is too slow to decode this video". However, in both occasions, audio/video are out of sync.
CPU: Arm Dual Core.
Platform: Android 4.2.2
OpenGlES: Mali 400 MP
android: Add setting for hardware accelerated video decoding
android: Improve debug for accelerated video decoders
#7 Updated by Y A almost 5 years ago
Did not work. Better off without it.
With Hardware accelerated decoding setting on, video playback is like Charlie Chaplin motion (fast motion) and then freezes while audio is way ahead.
Just wondering if it is an issue with the libav library.
While this could be a slow system (dual core arm), other apps like mxplayer is able to play fine mkv and 3D contents.
Is there a branch with ffmpeg?
#10 Updated by Andreas Smas almost 5 years ago
Being at my parents place over the holidays allows me to test the video acceleration on more devices. So far I've not managed to get it to fail like you describe though :-(
I have added more (optional) debug though and better error checking in 4.99.639.
Please try again (With acceleration turned on) and also open settings:dev in the search bar on home page, go to bottom and turn on "Debug MediaCodec", this will log more info to the log.
Please rerun your problematic videos again and attach the logfiles.
#11 Updated by Y A almost 5 years ago
Thanks for your outstanding work.
Playback has now been much better with "Acceleration on" though at times in the beginning of the video it can be jerky and then smooth out afterwards. While it is playing, movian would suddenly quit without warning.
Please see log attachments,
#13 Updated by Andreas Smas over 4 years ago
I've looked briefly but the log didn't help much.
To capture a log with the crash I probably need output from adb log (not sure if that can be captured on-device or if you need to attach a USB-cable or adb remote)
Apart from the crash, is av-sync still problematic?