Open stuckless opened 7 years ago
The video packets and audio packets were not aligned I guess. When you perform a seek request, ijk can not get the picture aligned to the pts of current audio packet immediately. It caused slow-mo video until the packet has been buffered.
This may be related to issue 1818, not sure. I've read through it, they appear to have constant slow mo video, but in my case it's just for a few seconds on video start, and and after a seek. For those few seconds the Audio/Video is out of sync, and video is playing in slow motion. This happens for any of my video types, .ts files, .mkv files, .mp4... all h264 encoded.
I'm thinking this is not in IJKPlayer issue, but rather it's something in how I'm setting up the player, ie, my options, etc... maybe something around buffering (only guessing)... but I don't really know how to go about troubleshooting it, and fixing it :(
My player intialization code is here, if you want to check the options that I'm setting.
https://github.com/OpenSageTV/sagetv-miniclient/blob/master/android-shared/src/main/java/sagex/miniclient/android/video/ijkplayer/IJKMediaPlayerImpl.java#L151
Any help is appreciated.
Thanks