Posts: 3,576
Joined: Sep 2009
Reputation:
110
I have to say I absolutely agree - the absolute bane of XBMC for the last few years is video stutter issues (as well as pretty atrocious SD video quality vs. the media players that clearly and successfully post process the signal into something better).
I know the devs have their reasons re:timecodes, but being precious about it isn't really helpful when stutter threads make up a big portion of this forum. It's so close, too....immensely frustrating to have such an awesome media centre with one big and obvious stumbling block - it doesn't play video as well as a $100 WDTV player, or a popcorn, etc etc.
I have no right to whinge about it since I can't code a solution but I guarantee you a lot of users are really frustrated with stutter issues with files other systems find perfectly easy to play smoothly and in sync, but XBMC can't. All these awesoem bells and whistles but it stumbles on the basics...
Addons I wrote &/or maintain:
OzWeather (Australian BOM weather) | Check Previous Episode | Playback Resumer | Unpause Jumpback | XSqueezeDisplay | (Legacy - XSqueeze & XZen)
Sorry, no help w/out a
*full debug log*.
Posts: 325
Joined: Sep 2010
Reputation:
17
Well we need to separate the issues to begin with. All of them are called stutter issues but actually come from different causes and some of which are not xbmc's fault. Here are just some.
1. subtitle render on slow cpu due to subtitles being rendered in same thread as man application/render.
2. difference between display clock (video card refresh rate) and audio clock, must be compensated for to ensure a/v sync (using drop/dupe in video or audio or resampling of audio (ie no passthrough)). media players with a single unified clock don't have this issue - pc/mac based solutions do. xbmc tries to offer different options here but could do with a little improvement both in terms of getting better a/v sync and being less susceptible to making corrections when it might not have needed to. With linux modeline tweaks can be used to try to get clocks match better. Not all media players are free from this issue (older and perhaps current? realtek chips afaik don't do 23.976Hz)
3. handling of streams with incorrect timestamps. This is related to that in 2. but further exacerbates the problem. Any attempts to fix here can compromises the solution for 2. as well.
4. problems related to opengl integration with hardware implementation of video decoding eg vdpau. An example of this is the pixmap based vdpau presentation of decoded pictures - the driver tries to control the presentation to be at vblank intervals. This makes stutters more likely at low refresh rates. overlays (eg overlay subtitle) can also make this worse.
So I am not excusing the situation but trying to raise awareness of the difficulties a multi-platform opengl media player has over solutions that are custom made for a platform. And players like VLC as good as they are also have their own issues.
There is work being done to improve things and you should check out FernetMenta's vdpau re-write for improvements around issue 4. Issue 3. is solved by remux for non-live streams, or try the DTS smoothing patch. Issue 2. try modelines in linux, or custom res in Windows (nvidia). Issue 1. try shrinking or changing font, or my pre-caching/border-font-disable patch.
Posts: 351
Joined: Sep 2009
Reputation:
2
Thank you !!!
I will try all the possibilities and solution that you gave and will report back after that.
Really thank you.
Bibi
Posts: 1,756
Joined: Feb 2006
I have nothing new to add but some info that often is not so accurate.
There is no such thing as constant fps playback it always fluctuates a little no matter what fps it is. Sure Theoretically if you say a movie is 24 fps it should play at that but XBMC doesn't handle it like that.
The person to clarify this would be bobo1on1
Posts: 30
Joined: Mar 2011
Reputation:
0
avpap
Junior Member
Posts: 30
It is an amazing thread and i agree with the complaints of bossanova808 in post 32. It is Frustrating to use a Linux Based HTPC, connected with large 50"+ screens and have problems with video stuttering in 24p Playback. I've tried XBMC Live and Openelec and sadly all were suffering from stutter free 24p playback.
It would be Awesome to play HD Videos exactly as in Windows Version.
Posts: 1,756
Joined: Feb 2006
@ avap
I dont agree, my asrock ION 330 HT plays every movie at any fps with no stutter (dropped frames), specially in the pre-eden versions which I compile. Again in the end Linux will require you to get your hands dirty, if you cant stand the heat, stick with windows.
It did require some tweaking and lost hours at a terminal but all the issues have been addressed to death and mostly fixed in these forums.
I lost months chasing down problems, and I'm better for it because I learned a little Linux.
XBMC may be free but there is no such thing as a free lunch.
Posts: 77
Joined: Jun 2011
Reputation:
0
You can avoid the stutter problem for subtitles by changing the fonts (everything except the arial.ttf default).
Posts: 324
Joined: Aug 2010
Reputation:
13
2011-07-07, 12:11
(This post was last modified: 2011-07-07, 12:24 by LB06.)
edit: sorry, wrong topic then :p