• 1(current)
  • 2
  • 3
  • 4
  • 5
  • 21
Solved XVID/MPEG-4/MPEG-2 files in SD quality play in slow motion
#1
Description
With the nightly builds of v18 MPEG-2/MPEG-4/XVID files in SD quality are only played in slow motion!

Last working version
The last working version is Kodi 17.6.

Tested on
Android ARM64
Android ARM

Fixed with PR 15056! THX peak3d Smile
https://github.com/xbmc/xbmc/pull/15056
Reply
#2
@rainman74

Can you be specific with build you are using. Should be able to get the info from Settings>System Information.

Which was the last build where it worked correctly? A Debug Log will help

I have tested Win 64 KodiSetup-20180617-e14a6f89-master-x64 and no issue there.
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#3
@Karellen The problem concerns as far as I can tell only the Android build, I have noticed it from the release kodi-20180602-b5181d72-master-arm64-v8a, but can't tell when exactly this occurred.
Reply
#4
No technical description / no logs  -> no issue.
Reply
#5
(2018-06-25, 13:51)peak3d Wrote: No technical description / no logs  -> no issue.
Far too many changes -> no sufficient developer testing before committing -> great risk.

Joking aside, what exactly do you need? I don't think you'll find the origin of slow motion in the log, do you?
But I can supply you with anything you need.

Please don't take offense, you're doing a great job!
Reply
#6
Slow down is only on Android 5.1.1 (Fire TV), on my Android 7.0 tab there is no slow down!
Reply
#7
(2018-06-25, 15:22)rainman74 Wrote:
(2018-06-25, 13:51)peak3d Wrote: No technical description / no logs  -> no issue.
Far too many changes -> no sufficient developer testing before committing -> great risk.

Joking aside, what exactly do you need? I don't think you'll find the origin of slow motion in the log, do you?
But I can supply you with anything you need.

Please don't take offense, you're doing a great job! 
 Debug log with video component logging enabled, pls. just play a few seconds.
Reply
#8
All right, I'll do it right tonight...
Reply
#9
@peak3d here is the debug log: https://paste.ee/p/3dosU
Reply
#10
Your stream is opened using ffmpeg s/w decoder and your device seems not be powerful enough to handle it.
Reason is that your stream doesn't provide width and or height, that is not allowed in current implementation:

https://github.com/peak3d/xbmc/blob/mast...c.cpp#L407

Most probably an issue in your source data.

@FernetMenta why is stream not parsed from ffmpeg until ffmpeg has valid SPS before selecting decoder?
Reply
#11
My device is a Fire TV 4k box that can play 1080p h.264 streams smoothly even without MediaCodec.

The tested VOB streams are part of regular PAL DVDs (576i), which were copied 1:1 to hard disk.

In Kodi v18 builds at the end of last year they were still running smoothly, but I can't tell exactly from which Kodi build this is no longer the case.
Reply
#12
(2018-06-28, 00:01)peak3d Wrote: Your stream is opened using ffmpeg s/w decoder and your device seems not be powerful enough to handle it.
Reason is that your stream doesn't provide width and or height, that is not allowed in current implementation:

https://github.com/peak3d/xbmc/blob/mast...c.cpp#L407

Most probably an issue in your source data.

@FernetMenta why is stream not parsed from ffmpeg until ffmpeg has valid SPS before selecting decoder?
@peak3d it passes this block https://github.com/xbmc/xbmc/blob/master...o.cpp#L121
because codec id seems to be zero
Reply
#13
@rainman74  pls try this build f it is finished: http://jenkins.kodi.tv/job/Android-ARM64/6512/
You'll find the apk in testbuilds in our download environment.
Reply
#14
(2018-06-29, 09:03)peak3d Wrote: @rainman74  pls try this build f it is finished: http://jenkins.kodi.tv/job/Android-ARM64/6512/
You'll find the apk in testbuilds in our download environment.
I've installed kodi-20180629-2044feb3-aaudio-arm64-v8a.apk but can't see any change Sad

New debug log: https://paste.ee/p/dV8Kn
Reply
#15
@peak3d problem still exists in kodi-20180703-f0dda3a0-master Sad
Reply
  • 1(current)
  • 2
  • 3
  • 4
  • 5
  • 21

Logout Mark Read Team Forum Stats Members Help
XVID/MPEG-4/MPEG-2 files in SD quality play in slow motion1