Kodi Community Forum

Full Version: Judder - non-existing SPS 1 referenced in buffering period
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
I'm creating this thread, as although I have similar symptoms to the consume packet error, I have different errors.

I have an ASROCK ION 330, normal, non BD, non HT.

It has the standard 320gb hdd and 2gb ram. With windows 7 and xbmc I get smooth playback of all videos.

Under linux I am getting juddery video. I've spent ages (a week) trying various xorg configs, and have tried minimal install of karmic and lucid. I've now got a full desktop install of lucid.

I've also tried the xbmcfreak live cd v14, and it shows the same behaviour. I've tried overclocking in the bios, and i've tried different ram. I've also tried disconnecting the hdd while running live cd, and disconnecting the dvd drive while running from hdd. I've also tried running from usb stick. All with the same error.

I've tried nvidia drivers 185,195 and 256beta
I've tried ALSA 1.0.20 upto 1.0.23
I've tried XBMC versions 9.11 stable and the SVN from the ppa.

So, here are the logs.

720p, playback is fine (pretty much) - http://pastebin.com/qSqiygLq
1080p, full avatar rip, bad jerking once per second - http://pastebin.com/RaFKdZ48
1080p, cars full bluray rip, not as bad as avatar, but similar - http://pastebin.com/LxFgBNLN

Sample file which shows the error for me: http://www.multiupload.com/6P70YAE9TZ

the SPS errors in the avatar log have 24 errors per second. this must be related to the 24fps video framerate, or display refresh, and I see one frame jump per second.

Interestingly I have a Q6600, with 4gb ram, and a nvidia gt240. I see the same issue with the xbmcfreaklivecdv14.

Is it hardware? I'm not sure, because it works in windows.

Is it software? I'm not sure because no-one else is reporting the same issue.

I am pulling my hair out, any help would be appreciated.
My system:
Acer Aspire Revo 1600, stock
Ubuntu 9.04, XBMC-standalone, 9.11 stable
Nvidia 185.18.14
Epson 1080p projector playing @24 Hz on this 24 fps sample

When I watched the sample, it jumps around consistently as well, CPU never exceeds ~12%.

Hopefully one of the devs can review the sample file in more detail to see if it is possible to identify hardware or software as the problem here.

Here is a link to my logfile while watching the sample.

This is the error that repeats throughout:

Quote:#
19:50:14 T:2520509328 M:512208896 ERROR: ffmpeg[963BEB90]: [h264_vdpau] non-existing SPS 1 referenced in buffering period
#
19:50:14 T:2520509328 M:512184320 ERROR: ffmpeg[963BEB90]: [h264_vdpau] non-existing SPS 1 referenced in buffering period

FWIW, I too have tested this same file on a different Windows 7 machine with completely different hardware and it plays 100% smoothly.
sorry about the lack of updates on my testing, my internet connection has been down since yesterday morning.

made a trac ticket - http://trac.xbmc.org/ticket/9311
i installed minimal lucid again with alsa 1.0.23, nvidia 256 and xbmc 30220 and it was improved. the avatar sample worked well. but cars was not fixed, nor was avatar later on in the movie.

i've since killed my lucid install Sad
i've found this thread - http://forum.xbmc.org/showthread.php?tid...ing&page=4

some of the logs have this SPS issue.

This is not bitrate related as I have a 68mbit test clip which plays perfectly. Although it is 1920*800.

Is the ION just too weak for 1920*1080?

I have several test clips, and logs for them I will upload tomorrow. I hope these will help.

I've re-installed a minimal karmic. Same issue. I can't see the difference between my setup and others who report perfect playback. Perhaps the difference is me, maybe others dont see these judders. Or perhaps, I'm in a massive minority who have ripped their own discs rather than grabbing a copy from the web?

I'm at a complete loss.
I took an Avatar sample and re-encoded it with x264 (while bumping up the bitrate as a test). The resulting file plays great!

original: average bitrate: 30mbps peak:51
new: average bitrate: 50mbps peak:70

so it's clearly not a bitrate issue. nor is it a full resolution (1920*1080) issue. Unfortunately re-encoding files is not a realistic option.

Could it be to do with multisplice(sp?) files. I haven't noticed it with any itunes files I have, but they are only 720p.

I've tried remuxing in various containers (mp4, ts, m2ts, mkv) none give a satisfactory result.

I'm still a bit shocked that no-one else is suffering from this?


edit: i also get this with one file

Code:
[h264_vdpau] number of reference frames exceeds max (probably corrupt input), discarding one

surely that can't be right? if it's ripped from a disc, how can it have too many reframes?
most likely due to current bugs in the h264 parser. see http://lists.mplayerhq.hu/pipermail/ffmp...88837.html (related, not exactly the same)
thanks spiff.

I was going nuts trying to find out why and what those errors mean. Oh well, at least I know it's not something on just my machine.
neil.j1983 Wrote:With windows 7 and xbmc I get smooth playback of all videos.

neil.j1983 Wrote:Is the ION just too weak for 1920*1080?

Wouldn't your first comment about Windows 7 of ruled out Hardware off the bat?
it certainly ruled out hardware faults, but i was assuming dxva2 and vdpau are quite different.

just because something works under one type doesnt mean it has enough beans to do the same job with a different OS/software config.

vdpau has scaling options and sharpening, etc. I'm not a dev, so I don't know if that makes a difference.

I'm not trying to be a smartass.

relevant thread here - http://forum.xbmc.org/showthread.php?tid=72688&page=2
Sorry for bumping.

I have been doing some more tests, and had a thought that if both windows and linux are using ffmpeg (and i am guessing here, the same parser), why is this judder not seen on a windows system? I

s there anything VDPAU related (scaling, etc) which might cause this?

also, i have alot of these error on streams which jump:

Code:
ERROR: ffmpeg[A6FFDB70]: [h264_vdpau] number of reference frames exceeds max (probably corrupt input), discarding one
here are two tests.

1 - Linux Version 28256 playing a sample ripped with no encoding of the movie Up (2009) - http://pastebin.com/S8i8zuWM (ignore the first time i played the sample, i had scaling to lanczos3 optimized, which oddly enough works for scaling anything except a 1080p movie which doesn't require any scalingConfused)

2 - Windows 7 Version 31065 playing the same sample.- http://pastebin.com/13PZqUU8

linux exhibits a jerk once per second, windows plays faultlessly. Huh
a little update. i read that muxing bluray strips sps and some other info from the h264 stream.

the original file gives playback errors too so I don't think this is the root cause. apparently only panasonic bluray players struggle with the missing info.

on a newer build 31128 i get hundreds (850 per second) of these

Code:
16:04:02 T:2954304368 M:1208250368   ERROR: ffmpeg[B0171B70]: [h264] number of reference frames exceeds max (probably corrupt input), discarding one

not sure why. direct rip from bluray (not even demuxed and remuxed) it's a bluray .m2ts with LPCM+AC3 audio.

odd.
Just a quick note, so you don't feel like your talking to yourself.

I ripped the m2ts file from my Avatar bluray, and when played on my ION, I see the same glitch every second... I am using the audio sync, and if you watch the OSD, you can watch the error % jump with each glitch.

When I play on my AMD quad core with a 8600gs GPU, I see the same messages in the error log but the video appears to play smoothly (I only watched about 1-2 minutes per test).

Maybe this weekend I'll try some further testing and add some logs to this.
hehe, yea, was getting a bit lonely here. Eek

thanks for having a look. I'll get some more logs soon, but without a bit more knowledge, I don't know what's needed.
Pages: 1 2 3 4