Kodi Community Forum

Full Version: wrong framerate and some issues playing some videos
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
TV box model: Himedia Q5 pro
Android version: 7.x
Kodi version: 18.4
Video file format: mkv
Video format: HEVC
Video true framerate: 50 fps

Video playback was smooth by using the following apps:
1. Stock ROM built-in media player app, came with device.
2. XPlayer, installed from Google Play Store at https://play.google.com/store/apps/detai...ayer&hl=en .

When using Kodi to play the file, with hardware acceleration enabled, the following issues occurred:
1. Frame rate per second was wrongly detected as 100 fps.
2. Video and audio out of sync.
3. Video playback was not smooth.

Is this a Kodi bug? Any workaround?
(2019-09-07, 10:28)cshong Wrote: [ -> ]TV box model: Himedia Q5 pro
Android version: 7.x
Kodi version: 18.4
Video file format: mkv
Video format: HEVC
Video true framerate: 50 fps

Video playback was smooth by using the following apps:
1. Stock ROM built-in media player app, came with device.
2. XPlayer, installed from Google Play Store at https://play.google.com/store/apps/detai...ayer&hl=en .

When using Kodi to play the file, with hardware acceleration enabled, the following issues occurred:
1. Frame rate per second was wrongly detected as 100 fps.
2. Video and audio out of sync.
3. Video playback was not smooth.

Is this a Kodi bug? Any workaround?
No, it's a Himedia firmware bug.
Himedia devices have very good video playback with their stock apps but don't support Android frameworks and standards correctly which Kodi relies on.
(2019-09-07, 13:13)mo123 Wrote: [ -> ]
(2019-09-07, 10:28)cshong Wrote: [ -> ]TV box model: Himedia Q5 pro
Android version: 7.x
Kodi version: 18.4
Video file format: mkv
Video format: HEVC
Video true framerate: 50 fps

Video playback was smooth by using the following apps:
1. Stock ROM built-in media player app, came with device.
2. XPlayer, installed from Google Play Store at https://play.google.com/store/apps/detai...ayer&hl=en .

When using Kodi to play the file, with hardware acceleration enabled, the following issues occurred:
1. Frame rate per second was wrongly detected as 100 fps.
2. Video and audio out of sync.
3. Video playback was not smooth.

Is this a Kodi bug? Any workaround?
No, it's a Himedia firmware bug.
Himedia devices have very good video playback with their stock apps but don't support Android frameworks and standards correctly which Kodi relies on. 

I see. But, some players I installed by using Google Play Store work fine. For example, this: https://play.google.com/store/apps/detai...ayer&hl=en . Any reason?
(2019-09-07, 15:04)cshong Wrote: [ -> ]
(2019-09-07, 13:13)mo123 Wrote: [ -> ]
(2019-09-07, 10:28)cshong Wrote: [ -> ]TV box model: Himedia Q5 pro
Android version: 7.x
Kodi version: 18.4
Video file format: mkv
Video format: HEVC
Video true framerate: 50 fps

Video playback was smooth by using the following apps:
1. Stock ROM built-in media player app, came with device.
2. XPlayer, installed from Google Play Store at https://play.google.com/store/apps/detai...ayer&hl=en .

When using Kodi to play the file, with hardware acceleration enabled, the following issues occurred:
1. Frame rate per second was wrongly detected as 100 fps.
2. Video and audio out of sync.
3. Video playback was not smooth.

Is this a Kodi bug? Any workaround?
No, it's a Himedia firmware bug.
Himedia devices have very good video playback with their stock apps but don't support Android frameworks and standards correctly which Kodi relies on.  

I see. But, some players I installed by using Google Play Store work fine. For example, this: https://play.google.com/store/apps/detai...ayer&hl=en . Any reason? 
Kodi uses MediaCodec video rendering for all Android devices.
The other video players might use proprietary video rendering of the stock firmware like libstagefright which Kodi won't support since that will mean they will have to integrate every single Android SOC vendors proprietary methods which will be impossible to update, improve or maintain.
If you want long-term support for Kodi buy a CoreELEC or LibreELEC cpmpatible device.
Then everything will work correctly and 5 years from now, you can still download or build the latest image and everything will work.