Bug #1483

mkv video playback stuttering after 20/25 minutes

Added by tyler durden over 10 years ago. Updated over 10 years ago.

Status:FixedStart date:12/30/2012
Priority:NormalDue date:
Assignee:Andreas Smas% Done:

100%

Category:Video playback
Target version:4.2
Found in version:4.1.273 Platform:PS3

Description

Hi, thank you for your hard work on this nice piece of software.

There is a bug that I experience in every Showtime version since I use it (don't remember the version n° it was when I started using it).
I even switched to testing build instead of stable, to see if the bug was fixed in upcoming versions.

On every mkv movie I play, I have a video stuttering bug after 20/25 minutes of playback.
To fix it, I have to seek backward / forward a little, or to stop and restart playing.
The sound is not stuttering, only the video stream is affected.

I can't provide you the 8GB mkv video file I used in attachment, neither I can provide a long enough sample (25 min) of this 47MB/min video to reproduce bug.

For this bug report, I was playing "The.Dark.Knight.Rises.2012.TRUEFRENCH.720p.BluRay.x264-AUTOPSiEHD" HD mkv release, but I'm not sure it is relevant, as I have the same problem on every mkv file I play.

The symptoms look like this bug report https://www.lonelycoder.com/redmine/boards/15/topics/5841
When stuttering happens, I too have the "A/V diff" value jumping, but not as far as described in this other bug report.

My setup is a 40GB PS3 with 320GB HDD with 3.55 Kmeaw CFW,
multiMAN 04.17.05 with included Showtime, switched to testing build for a while and currently at 4.1.273.g1e323
Movies stored on Internal HDD

I can provide you additional information if needed, or try to reproduce bug and fix it following your directions if you have any idea.

1 video stutter.mp4 - video stuttering bug (15.2 MB) tyler durden, 12/30/2012 03:29 PM

2 stuttering playback status.mp4 - status screen when stutter occur (7.13 MB) tyler durden, 12/30/2012 03:29 PM

3 stuttering version ram usage.mp4 - version and ram usage when stutter (5.71 MB) tyler durden, 12/30/2012 03:29 PM

4 stutterless playback status.mp4 - stutterless status screen (11.1 MB) tyler durden, 12/30/2012 03:29 PM

5 stutterless playback version ram usage.mp4 - stutterless version and ram usage (3.18 MB) tyler durden, 12/30/2012 03:29 PM

system log.jpg - system log screenshot during video stuttering (1.2 MB) tyler durden, 12/30/2012 03:29 PM

Associated revisions

Revision 76fc0a95
Added by Andreas Smas over 10 years ago

ps3: Try to estimate POC to fix incorrect picutre ordering

Fixes #1483

History

#1 Updated by Andreas Smas over 10 years ago

  • Target version set to 4.2

I think i know why this bug happens but it's a bit tricky to fix.

#2 Updated by tyler durden over 10 years ago

Andreas Öman wrote:

I think i know why this bug happens but it's a bit tricky to fix.

Thanks for your reply.
Could you just share your thoughts about it, if you don't mind ?
Even if you don't fix this bug now, I'm just really interested in having technical details about this.

Also, did you knew this bug existed before I reported it ?
I was really surprised not to find anyone else having this bug, either by searching on Google, or on your website (forum/bugtracker).

#3 Updated by Andreas Smas over 10 years ago

The problem is related to something called "Picture Order Count" which is part of a h264 frame.

This field is used by Showtime to reorder the decoded frames into presentation order.

Now, the problem is that in the Sony API for the Cell decoder this field is only 16 bit.

Once the field wraps back to zero this stuttering starts.

Another option is to switch to using presentation time stamp to do reordering but there are problems with that as well (not all frames may have PTS, etc)

#4 Updated by Jamie Ben over 10 years ago

Hi,

Thanks Andreas, I think it's related to this issue https://www.lonelycoder.com/redmine/issues/1206

I remember that i checked this and confirmed that it was fixed for 11 minutes of playback, bat i didn't test further.
And few builds after I thought the bug reappeared after 20/25 minutes of playback.

#5 Updated by Andreas Smas over 10 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

#6 Updated by tyler durden over 10 years ago

Thank You Andreas !

When is the next compilation batch ? :D

#7 Updated by tyler durden over 10 years ago

edit: Damn ! I was busy at looking for a donation link on your website, so didn't even launched Showtime to see if an update was available.

I've just found the link http://www.lonelycoder.com/showtime/donate , so then started Showtime, and voila, update available.
Updated to 4.1.441, will try right now.

I don't have a paypal account myself, but I'll make a donation via a friend of mine who do have paypal.
I can't donate a lot, but I really want to thank you for your hard work.

Also available in: Atom PDF