I was watching another movie last night and noticed significant judder. This got me thinking.
The fps was 31.97 and of course the refresh rate was 60. I then deleted the measurerefresh from the advancedsettings and tried again. The fps was reported at 23.97. Hmmm. Also, the judder was pretty much gone. The refresh rate stayed at 60.
Does this make any sense at all?
I was then wondering why there might be a correlation between fps and judder. It used to be that if the refresh rate didn't match the fps, there was judder. Now it seems if the fps doesn't match the pre-telecine rate there is judder. Is ffmpeg doing something different when the fps changes?
I was wondering if ffmpeg removes the duplicate frames when the fps is 24 and re-executes a 3:2 pulldown to match the refresh rate. Are these duplicate frames that are encoded in an NTSC DVD to bring it to 29.97 once removed the missed frames that are counted when the refresh rate of 24 matches the fps detected?
This may be a silly notion, but the seems to be a correlation between fps and refresh rate and the presence of judder that goes beyond just matching the refresh rate. Further, is there a correlation between fps and missed frames? Is ffmpeg removing duplicate frames and considering this a miss?
If I'm off base so be it, but I thought the observation interesting.
dclindner
Junior Member Posts: 33 Joined: May 2011 Reputation: 0 |
2012-02-15 22:35
Post: #11
(This post was last modified: 2012-02-15 22:58 by dclindner.)
|
| find quote |
bobo1on1
cheapass Team-XBMC Developer Joined: Dec 2008 Reputation: 20 |
2012-02-20 17:38
Post: #12
Never use <measurerefreshrate> in advancedsettings.xml unless the detected refreshrate in the codec info is wrong, the refreshrate measurement isn't very reliable, and doesn't bring any improvement at all, except when windows returns the wrong refreshrate for your monitor.
|
| find quote |
bigbully
Member Posts: 55 Joined: Jun 2011 Reputation: 2 |
2012-02-29 09:23
Post: #13
bobo1on1 Wrote:https://github.com/xbmc/xbmc/commit/d73a...d43cc99795 I added this to advancedsettings and the refresh now seems to be working again with the new RC1 update. I've only tested a couple of movies that weren't working, so I'll keep an eye out, but thanks for this in the meantime. |
| find quote |
craigdabbs
Junior Member Posts: 35 Joined: Nov 2008 Reputation: 0 |
2012-04-09 21:54
Post: #14
sorry to bump a old thread but this closely matches a issue i have.
Im running Arch Linux with my XBMC machines which has now updated to the latest eden releases. With dharma my older TV's which supported 50hz and 60hz, used to playback 24p content at 50hz which makes sence as its the closest match to 24hz. Sinch changing to eden however it plays all my 24p content at 60hz which introduces a little stutter (not much i admit). I have applied the settings posted above and looked at the xbmc log which is this Code: 20:33:27 T:2886712128 DEBUG: Resolution default: 1280x720 @ 50.00Hz (14) not a very good match for fps 23.976 (weight: 0.043), trying 2:3 cadenceAnyway of changing that to play at 50hz ,I can force it to play at 50 by using <override> <fpsmin>23.96</fpsmin> <fpsmax>24.01</fpsmax> <refresh>50</refresh> </override> but some of my mahcines move from tv to tv which some do support 24p. Hope ive explained myself enough and hope someone can help. Thanks Craig Dabbs |
| find quote |
gpborges
Member Posts: 58 Joined: Jun 2010 Reputation: 0 |
Hi folks, I'm struggling a LOG with DVD disc playback (NTSC DVDs) and with DVD ISO playback too, but just for some ISOs.
My system is built on top Ubuntu 12.04 LTS (minimal/server install) + XBMC Eden (from oficial repo). My HTPC has a Zotac IONITX-L-E board (NVIDIA ION - MCP79 Board) hooked to a Pana 42" Plasma TV + Onkyo Receiver NR-609. I have a pretty smooth playback for almost all my movies and it's switching to 23.97 accordingly. After read various threads related to DVD / ISO stuttering and after performing various tests/debugs myself, I can also confirm that there is a very tight relation between the fps and refresh rate. I have the Indiana Jones collection as DVD ISOs and all 4 of them are very choppy. I took some screenshots to highlight when the playback stutters, as this one with a weird fps as 45.98 and refresh rate 59.94: ![]() Here another one with fps at 45.77 and refresh rate at 59.94: ![]() One more (movie scene) at 47.52 and refresh rate at 59.94 ![]() And here, another DVD iso which plays flawlessly. Notice that here the fps is 59.94 and refresh rate is 29.97 ![]() And last but not least... a Bluray ISO playback, really smooth... fps and refresh rate both at 23.97 (that's why it's so smooth...) ![]() In summary, I always see stutter when the refresh rate doesn't match the fps for any reason. When it does, everything runs smoothly. I will try the advanced setting: Code: <advancedsettings>And will get back here with the results. If anyone wants too see my debug logs, they're in another threads: Linux Choppy playback / Video stutter with Eden http://forum.xbmc.org/showthread.php?tid=131393 [LINUX] Iso/DVD files playback issues http://forum.xbmc.org/showthread.php?tid=117828 Linux XBMCBuntu/Eden - DVD playback speed http://forum.xbmc.org/showthread.php?tid...pid1141350 Hope we get this sorted out!!! Thx! |
| find quote |
gpborges
Member Posts: 58 Joined: Jun 2010 Reputation: 0 |
2012-07-06 21:46
Post: #16
People, I can confirm setting the <fpsdetect>2</fpsdetect> as above did solve the issue! However, sometimes it doesn't switch while I don't go and set the deinterlace option to "auto" or some other option.
After some 5 seconds (sometimes more), it blacks the screen for a second or two and then switch to the 23.97 refresh rate and then I have a pretty smooth playback. :-D Just curiosity... How as this in XBMCLive Dharma? I had it before running on Ubuntu 10.04 and it worked flawlessly. I didn't have to set this advanced setting and I didn't see it switching the refresh rate as well. Well, at least now I can see the DVDs and ISOs that I have smootlhy... I was just thinking why this happens. The Indiana Jones DVDs ISOs I have are 23.97 fps (NTSC). See the mediainfo: Code: GeneralWhy such awkward frame rate? around 45? Maybe setting the <adjustrefreshrate> and its <override> would have a better experience rather than using the fpsdetect? What fpsmin / fpsmax would you guys recommend to try with the samples I've provided above? Looking forward any clarifications on that, but I'm already happen to be able to watch them without the BAD stutter I had. |
| find quote |

,![[Image: screenshot003.png]](https://dl.dropbox.com/u/3060734/Screenshots/xbmc/stuttering_playback/screenshot003.png)
![[Image: screenshot007.png]](https://dl.dropbox.com/u/3060734/Screenshots/xbmc/stuttering_playback/screenshot007.png)
![[Image: screenshot009.png]](https://dl.dropbox.com/u/3060734/Screenshots/xbmc/stuttering_playback/screenshot009.png)
![[Image: screenshot014.png]](https://dl.dropbox.com/u/3060734/Screenshots/xbmc/smooth_playback/screenshot014.png)
![[Image: screenshot031.png]](https://dl.dropbox.com/u/3060734/Screenshots/xbmc/smooth_playback/screenshot031.png)
Search
Help