Posts: 325
Joined: Sep 2010
Reputation:
17
Well I had temporarily stopped looking at this because my knowledge of how to add output lines into the iterator loops within CGUITextLayout::RenderOutline was holding me back. It is there that I witness in the example case I was using that the border font processing was taking 100ms first time in. Now preloading was my plan to workaround but if different accented characters and fonts also cause additional delays then I guess my plan won't work very well. Hmm...and also interesting that it appears to be a new problem, and perhaps only related to ion2 vdpau - I need more testing to try to help, but I have been tied up with non-xbmc things...hopefully soon I will get back into it if no-one else can solve.
Posts: 2,752
Joined: Dec 2008
Reputation:
23
bobo1on1
cheapass Team-XBMC Developer
Posts: 2,752
Hm, I thought we already fixed outline rendering.
Posts: 2,752
Joined: Dec 2008
Reputation:
23
bobo1on1
cheapass Team-XBMC Developer
Posts: 2,752
I'm not sure when that happened, maybe it was a different issue.
Posts: 824
Joined: Jun 2005
Reputation:
6
I'm not sure that stutter is related to accented characters, it was just a thought as it generally happens more often when anything in italics appear and italics (accented) characters are not usually cached at that moment yet. Normal font lags much less, mostly only when first subtitles are being displayed.
Posts: 325
Joined: Sep 2010
Reputation:
17
2011-01-27, 00:46
(This post was last modified: 2011-01-27, 01:12 by TheSwissKnife.)
I have only a 32-bit linux build at present as I have not attempted to setup a Window build environment. I have started to find some time to look into my open issues...
1. audio stream change resulting in initial 7 second discrepancy between video and audio
EDIT - I can see quickly this is caused by CDVDPlayer:: CheckPlayerInit() which uses current.dts as a audio resync which is about 7-8 seconds ahead of current playing audio. I need to work out what is the best to fix this bug.
2. ff/rw not smooth on video, and a/v sync fluctuates too much during
3. possibly try to mute rather than do packet silence (to avoid the pause-play audio stutter) - not sure this is a good idea though
4. subtitles blocking video renderer (stutter)
5. seek when paused not displaying still frame for new seek position
6. test with other material (and refreshrates) eg interlaced, various fps, etc
7. try to add frame-by-frame, slow-mo, etc
Posts: 325
Joined: Sep 2010
Reputation:
17
2011-01-27, 03:18
(This post was last modified: 2011-01-27, 05:01 by TheSwissKnife.)
Anyone know if the only sensible way to get the demuxer to go back the 7-8 seconds for the audio is to do a full seek resulting in video seek too?
EDIT: Results are ok with a demuxer seek but of course not great a seek is not very exact and creates an obvious stutter. Better than 7 seconds of resyncing though I think.
Posts: 325
Joined: Sep 2010
Reputation:
17
Back again! But it seems I am not the only one who has not had much time lately. Has there really been no updates to trunk for 6 weeks? I want to sync my tweaks to the latest before I get going again.
Posts: 824
Joined: Jun 2005
Reputation:
6
Regarding these bugs, no updates afaik, subtitles caching is most annoying one for me as it stutters even with 720p videos. I really wish you can track it down and incorporate fix. Thumbs up!