Posts: 192
Joined: Jan 2006
Reputation:
0
since i use xbmc @ a x86 plattform i have issues with smooth movies. i never realised why it happens that a movie seems to stutter when playing.
i always think that movies dont play really smooth like on my laptop althoug i have better pc hardware (core quad q6600)
i read over and over but never got a useful answer (which i understand. im not that familiar with ntsc and pal and halfpictures and fps).
i run xbmc @ win7, latest SVN on a panasonic plasma 42" through DVItoHDMI (720p@50Hz)
yesterday i tried (while onscreen errorlogging was enabled) again some different setups and voila i imagined something really interesting.
when i watch a movie with DIGITAL AUDIO (SPDIF, AC3, DTS = ON) switched on, the framerate goes down to exact 24 fps (CPU load max 8%, movies stutters a little bit).
when i switch DIGITAL AUDIO off the framerate goes up to 25ps and everything runs really smooth.
what can i do? does anyone also have this issue? How can i fix it?
-= XBMC Lover © 2006 =-
---------------------------------------
XBMC @ Lenovo Q180, harmony one, Sony Bravia KDL-55W905, Marantz SR5006, MySQL XBMC Database @ Synology DS-409+ (thx Firnsy)
XBMC @ Lenovo Q150 and a Panasonic Plasma for bedrooming ;)
Posts: 252
Joined: Jan 2009
Reputation:
1
I would say you have sync playback to display turned on with one of the settings that doesn't work with passthrough. Change the sync playback to display from audio clock/resample to drop/dupe audio and see if that means you get 25fps all the time.
If i've got the settings wrong someone please correct me. The video you are playing is actually a 24fps video, but xbmc is speeding it up along with the audio so that it matches the refresh rate of your screen, making it look smooth.
Posts: 192
Joined: Jan 2006
Reputation:
0
but why do i only have this problem? there should many many ppl out there with SPDIF audio and a PAL system?
strange
-= XBMC Lover © 2006 =-
---------------------------------------
XBMC @ Lenovo Q180, harmony one, Sony Bravia KDL-55W905, Marantz SR5006, MySQL XBMC Database @ Synology DS-409+ (thx Firnsy)
XBMC @ Lenovo Q150 and a Panasonic Plasma for bedrooming ;)
Posts: 2,752
Joined: Dec 2008
Reputation:
23
bobo1on1
cheapass Team-XBMC Developer
Posts: 2,752
2009-10-27, 16:12
(This post was last modified: 2009-10-27, 16:14 by bobo1on1.)
You have turned on "sync playback to display" and set the synctype to resample, your refreshrate is 50 hertz and you're playing a 24 fps movie.
XBMC detects all that, and then decides to play the file at 25 fps, because XBMC knows what's good for you.
The reason why this doesn't work with passthrough (only passthrough, analog and pcm over hdmi/spdif are ok), is because the speedup requires resampling, and you can't resample compressed audio, you have to decode it, resample it and then encode it again.
Since XBMC currently lacks an ac3 encoder, it will fall back to drop/dupe whenever resample is selected and passthrough is used.
Your best option would probably be to use a refreshrate of 24 or 60 hertz.
Posts: 2,752
Joined: Dec 2008
Reputation:
23
bobo1on1
cheapass Team-XBMC Developer
Posts: 2,752
Playing 24 fps at 60 hertz creates a judder effect, which is far less annoying than the jerks you get by playing 24 fps at 50 hertz.
If you're lucky your tv can even do a pulldown and the judder will be gone.
Posts: 2,752
Joined: Dec 2008
Reputation:
23
bobo1on1
cheapass Team-XBMC Developer
Posts: 2,752
24 fps is how they are originally recorded and shown in the cinema.
Posts: 716
Joined: Jan 2007
Reputation:
0
I'm pretty sure I've got this issue too. Only seems to do it with vdpau. Ill have to check my refresh rate when I get a chance.